Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: changing se...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 5116 of 5408
Post > Topic >>

Re: changing sequence in serial field

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
 




 4 Posts in Topic:
changing sequence in serial field
julius@[EMAIL PROTECTED]   2008-07-03 17:19:48 
Re: changing sequence in serial field
achill@[EMAIL PROTECTED]   2008-07-03 18:08:47 
Re: changing sequence in serial field
julius@[EMAIL PROTECTED]   2008-07-04 09:41:42 
Re: changing sequence in serial field
tgl@[EMAIL PROTECTED] (T  2008-07-04 11:49:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 21:25:48 CDT 2008.