Re: Creating Primary Key after CREATE TABLE: Is Sequence created? - Mailing list pgsql-general

From Monosij
Subject Re: Creating Primary Key after CREATE TABLE: Is Sequence created?
Date
Msg-id 1380313012323-5772651.post@n5.nabble.com
Whole thread Raw
In response to Re: Creating Primary Key after CREATE TABLE: Is Sequence created?  (John R Pierce <pierce@hogranch.com>)
Responses Re: Creating Primary Key after CREATE TABLE: Is Sequence created?
List pgsql-general
Ok I understand about not programming to LCD.

I just initially wanted to play around with creating tables / indexes / fks
and import some data before moving to next steps.

I did want to have some control over namimg conventions.

For eg. with creating PK id and sequence with 1 statement as:
id serial primary key
I have a vague idea how the primary key and sequence was named but no
control on it.

However if I could control the naming convention from here I would be ok
with it.

Would there be a way to control the naming of the id and sequence from the
create table statement?

Thank you.



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Creating-Primary-Key-after-CREATE-TABLE-Is-Sequence-created-tp5772633p5772651.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Monosij
Date:
Subject: Re: Creating Primary Key after CREATE TABLE: Is Sequence created?
Next
From: Adrian Klaver
Date:
Subject: Re: Creating Primary Key after CREATE TABLE: Is Sequence created?