pgsql: Remove dead code

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Remove dead code
Дата
Msg-id E1tYQAA-001vSZ-2c@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove dead code

As of commit 9895b35cb88, AlterDomainAddConstraint() can only be
called with constraints of type CONSTR_CHECK and CONSTR_NOTNULL.  So
all the code to check for and reject other constraint type values is
dead and can be removed.

Author: jian he <jian.universality@gmail.com>
Discussion:
https://www.postgresql.org/message-id/flat/CACJufxHitd5LGLBSSAPShhtDWxT0ViVKTHinkYW-skBX93TcpA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7407b2d48cf37bc8847ae6c47dde2164ef2faa34

Modified Files
--------------
src/backend/commands/typecmds.c | 54 ++---------------------------------------
1 file changed, 2 insertions(+), 52 deletions(-)


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