2012/9/3 Eduardo Az - EMBRASIS <[email protected]>:
>
> CREATE TABLE cadastro
> (
>   id serial NOT NULL,
>   nome character varying(30) NOT NULL,
>   nasc_dt date,
>   CONSTRAINT cadastro_pkey PRIMARY KEY (id ),
> );

Evite chaves artificiais.  Use chave natural — por exemplo (nome,
nasc_dt) e teu problema desaparece.
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a