pgsql: Remove useless if condition

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Remove useless if condition
Дата
Msg-id E1qaskX-001U9m-3T@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove useless if condition

We can call GetAttributeCompression() with a NULL argument.  It
handles that internally already.  This change makes all the callers of
GetAttributeCompression() uniform.

Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6844d3275ac6b3c35d824f49362d3fe59b30f26b

Modified Files
--------------
src/backend/commands/tablecmds.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Make more use of makeColumnDef()
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Reword user-facing message for "power of two"