Re: Nullable 'Foreign Key-like' Constraint - Mailing list pgsql-general

From Manfred Koizar
Subject Re: Nullable 'Foreign Key-like' Constraint
Date
Msg-id pbaipv03fkg7oicb83esv7gpakns2229h1@email.aon.at
Whole thread Raw
In response to Nullable 'Foreign Key-like' Constraint  (Ron <rstpATlin@uxwav.esDOTcom>)
List pgsql-general
On Thu, 23 Oct 2003 16:02:03 GMT, Ron <rstpATlin@uxwav.esDOTcom>
wrote:
>   ALTER TABLE project ADD CONSTRAINT company_is_ta companyID
>      REFERENCES company(companyID);
>   (plus variations on the above, resulting in errors, all similar to:)
>    ERROR:  parser: parse error at or near "companyID" at character 53

    ALTER TABLE project ADD CONSTRAINT company_is_ta
       FOREIGN KEY (companyID) REFERENCES company(companyID);
       ^^^^^^^^^^^^^         ^

Servus
 Manfred

pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: shared memory on OS X - 7.4beta4
Next
From: Dennis Gearon
Date:
Subject: Re: About TSearch2 Performance