From: Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: PG 8.4 and identity columns
Date: Fri, 15 Jul 2011 12:40:00 -0700
Message-ID: <4E209790.2050102@nrc-cnrc.gc.ca> (raw)
Hello PGlist,
We are interested in migrate some data with identity/sequential columns
from a non PG database into PG database , tables with identity columns.
First Q is : are system generated/identity columns values supported in
PG8.4 if yes,
I would like to know if there is a option to control this values: aka :
can we set the identity value "off" while we are inserting some already
generated values and next turn "on" the identity column option in PG ?
next Q : can we set the gap of the values, and can we set what the next
generated value /start value to our choice?
Thank you
Isabella
--
-----------------------------------------------------------
Isabella A. Ghiurea
Isabella.Ghiurea@nrc-cnrc.gc.ca
Canadian Astronomy Data Centre |http://www.nrc-cnrc.gc.ca/eng/services/hia/data-centre.html
National Research Council of Canada, Herzberg Institute of Astrophysics
5071 West Saanich Road, Victoria BC V9E 2E7, Canada
Phone: 250 363-3446 fax: 250 363-0045
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-admin@postgresql.org
Cc: isabella.ghiurea@nrc-cnrc.gc.ca
Subject: Re: PG 8.4 and identity columns
In-Reply-To: <4E209790.2050102@nrc-cnrc.gc.ca>
* 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