PG 8.4 and identity columns

From: Isabella Ghiurea <isabella(dot)ghiurea(at)nrc-cnrc(dot)gc(dot)ca>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: PG 8.4 and identity columns
Date: 2011-07-15 19:40:00
Message-ID: 4E209790.2050102@nrc-cnrc.gc.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(dot)Ghiurea(at)nrc-cnrc(dot)gc(dot)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

Browse pgsql-admin by date

  From Date Subject
Next Message Ken Caruso 2011-07-16 11:05:15 9.0.4 Data corruption issue
Previous Message Kevin Grittner 2011-07-15 19:17:47 Re: vacuumdb question/problem