OK, NO ACTION (the default) no longer prints for foreign key constraints:
regression=> \d clstr_tst
Table "public.clstr_tst"
Column | Type |Modifiers
+-+-
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
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"