Re: MySQL to Postgres question - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: MySQL to Postgres question
Date
Msg-id 20080323023158.GI13206@alvh.no-ip.org
Whole thread Raw
In response to MySQL to Postgres question  ("Edward Blake" <comedian.watchman@gmail.com>)
List pgsql-general
Adam Rich wrote:
> > The short answer is that Adam's statement is wrong, or at least
> > misleading.
>
> Sorry Tom, I wasn't trying to do either.  Joshua Drake (who I understand
> to be a reliable source of postgresql information) said that applying
> a sequence to a column after creation created issues, versus using the
> serial type which did not.

He is wrong in that you *can* attach the same information that SERIAL
does if you use ALTER SEQUENCE .. OWNED BY after the fact.  If you
don't, then he's right.  pg_dump does use the OWNED BY stuff.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: MySQL to Postgres question
Next
From: Inoqulath
Date:
Subject: Re: Installing on Windows without using msi Installer