Re: oid or without oid ...

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: oid or without oid ...
Дата
Msg-id 200705220608.41284.sdavis2@mail.nih.gov
обсуждение исходный текст
Ответ на Re: oid or without oid ...  (Raimon Fernandez <coder@montx.com>)
Ответы Re: oid or without oid ...  (Raimon Fernandez <coder@montx.com>)
Список pgsql-novice
On Tuesday 22 May 2007 06:05, Raimon Fernandez wrote:
> I'm trying with this approach:
>
> create table public.articles( "id" int4 not null default nextval
> ('articles_id_seq'::regclass) , "referencia" varchar not null
> )
>   WITHOUT OIDS;
> ALTER table "public"."articles" OWNER TO "postgres";
> ALTER table "public"."articles" SET WITHOUT CLUSTER;
> alter table "public"."articles" add primary key(id);

And keep in mind that you can use:

id serial

as a shorthand.

Sean

В списке pgsql-novice по дате отправления:

Предыдущее
От: Raimon Fernandez
Дата:
Сообщение: Re: oid or without oid ...
Следующее
От: Raimon Fernandez
Дата:
Сообщение: Re: oid or without oid ...