urgent : postgresql question

From: "M(dot) N(dot) Khan" <mnk(at)webstar(dot)co(dot)uk>
To: maillist(at)candle(dot)pha(dot)pa(dot)us
Subject: urgent : postgresql question
Date: 1998-08-18 13:19:07
Message-ID: 199808181419070419.1400A47B@mail.webstar.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, sorry to bother you, but do you know what the following problem could
be? I am trying to
create some relationships with the following SQL code in Postgresql:

ALTER TABLE dialup_account

ADD CONSTRAINT customer_dialup_account

FOREIGN KEY (

customer_id

)

REFERENCES customer (

customer_id

);

I get the following error message:

ERROR: parser: parse error at or near "constraint"

Any ideas?

Nabeel

Browse pgsql-hackers by date

  From Date Subject
Next Message 1998-08-18 13:48:25
Previous Message Vince Vielhaber 1998-08-18 10:51:18 Re: [HACKERS] Re: PostgreSQL logos