Re: schemas and paths with the alter statement

From: Theodore Petrosky <tedpet5(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: schemas and paths with the alter statement
Date: 2005-02-22 19:32:21
Message-ID: 20050222193221.53954.qmail@web41012.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Wow...in less than 5 minutes....

Thanks

Ted

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Theodore Petrosky <tedpet5(at)yahoo(dot)com> writes:
> > ALTER TABLE public.test ADD CONSTRAINT
> public.test_PK
> > PRIMARY KEY (test);
>
> Constraints don't have schema-qualified names. Try
>
> ALTER TABLE public.test ADD CONSTRAINT test_PK
> PRIMARY KEY (test);
>
> The error message was pointing to the correct place
> BTW.
>
> regards, tom lane
>


__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message T E Schmitz 2005-02-22 20:14:24 aggregate / group by question
Previous Message Ragnar Hafstað 2005-02-22 19:26:07 Re: schemas and paths with the alter statement