Re: Auto-increment serial (Postgresql JDBC driver w/ - Mailing list pgsql-jdbc

From Jaroslaw J. Pyszny
Subject Re: Auto-increment serial (Postgresql JDBC driver w/
Date
Msg-id 1095880271.22986.37.camel@lx.siec
Whole thread Raw
In response to Re: Auto-increment serial (Postgresql JDBC driver w/  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Auto-increment serial (Postgresql JDBC driver w/
List pgsql-jdbc
W liście z sro, 22-09-2004, godz. 00:50, Dave Cramer pisze:
> Sorry, missed one more where clause.
>
> select column_default from information_schema.columns where table_name =
> 'xyz' and column_name = 'id';
>
> This assumes a table defined like create table xyz (id serial);
It's works but only for the owner of the table
or I do something wrong ;)

Jarek
--
8  \\|||//  Jarosław J. Pyszny <arghil@poczta.onet.pl>
b   (o|o)    Linux admin/devel ("Vitae,non scholae,discimus")
i  --\_/--   Linux user: #96704    (http://counter.li.org)
t =->komputer(y) - daj znać jeśli chcesz się pozbyć <-=


pgsql-jdbc by date:

Previous
From: "Waldomiro"
Date:
Subject: Char(100) fields
Next
From: Tom Lane
Date:
Subject: Re: Char(100) fields