pgsql: Remove useless if condition

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Remove useless if condition
Дата
Msg-id [email protected]
обсуждение исходный текст
Список 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 <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/[email protected]

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 по дате отправления: