by tgl@[EMAIL PROTECTED]
(Tom Lane)
Jul 4, 2008 at 11:49 AM
Julius Tuskenis <julius@[EMAIL PROTECTED]
> writes:
> b_prekes_br_kodas_pbk_id_seq1 was created automatically creating serial
field and is in some way connected to it. Thats why I get error saying
"...column pbk_id requires it." Any way I can't find a way to find and
alter this dependency.
It's a row in pg_depend. In 8.2 and up you can create/delete the row
with ALTER SEQUENCE OWNED BY, but in earlier releases you'd have to do
it manually.
regards, tom lane
--
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin