deferred primary key - Mailing list pgsql-general

From Merrill Oveson
Subject deferred primary key
Date
Msg-id 393D6EC1.37F192C9@actiontarget.com
Whole thread Raw
List pgsql-general
Fellow postgresers:

According to the web site the following syntax is permitted:

PRIMARY KEY clause

SQL92 specifies some additional capabilities for PRIMARY KEY:

Table Constraint definition:

[ CONSTRAINT name ] PRIMARY KEY ( column [, ...] )
    [ {INITIALLY DEFERRED | INITIALLY IMMEDIATE} ]
    [ [ NOT ] DEFERRABLE ]


My snytax is:

constraint base_pos_pkey primary key (base, pos)
    initially deferred

Postgres complained about the "initially"

Are deferrable primary keys not supported by Postgres?


Thanks!

Merrill




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum Question
Next
From: mjp@ornl.gov
Date:
Subject: Composite Types