From: Theodore Petrosky <tedpet5@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: schemas and paths with the alter statement
Date: Tue, 22 Feb 2005 11:32:21 -0800 (PST)
Message-ID: <20050222193221.53954.qmail@web41012.mail.yahoo.com> (raw)
In-Reply-To: <11540.1109099765@sss.pgh.pa.us>
Wow...in less than 5 minutes....
Thanks
Ted
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Theodore Petrosky <tedpet5@yahoo.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tedpet5@yahoo.com, tgl@sss.pgh.pa.us
Subject: Re: schemas and paths with the alter statement
In-Reply-To: <20050222193221.53954.qmail@web41012.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox