Re: [HACKERS] constraint defaults still print

2003-02-03 Thread Bruce Momjian
OK, NO ACTION (the default) no longer prints for foreign key constraints: regression=> \d clstr_tst Table "public.clstr_tst" Column | Type |Modifiers +-+-

Re: [HACKERS] constraint defaults still print

2003-01-18 Thread Christopher Kings-Lynne
I vote for not showing 'NO ACTION', so long as it's the SQL standard default... Chris On Sat, 18 Jan 2003, Bruce Momjian wrote: > Remember how we made DEFERRABLE/DEFERRED not print if the constraint was > the default. Shouldn't we do the same for MATCH and ON UPDATE/ON DELETE > sections of the

[HACKERS] constraint defaults still print

2003-01-18 Thread Bruce Momjian
Remember how we made DEFERRABLE/DEFERRED not print if the constraint was the default. Shouldn't we do the same for MATCH and ON UPDATE/ON DELETE sections of the constraint in pg_get_constraintdef()? Doing \d I see: test=> \d sales Table "public.sales"