pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaroslaw J. Pyszny <arghil@poczta.onet.pl>
To: pg@fastcrypt.com
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: Auto-increment serial (Postgresql JDBC driver w/
Date: 22 Sep 2004 21:11:12 +0200
Message-ID: <1095880271.22986.37.camel@lx.siec> (raw)
In-Reply-To: <1095807031.1556.129.camel@localhost.localdomain>
References: <1095725344.10857.107.camel@lx.siec>
	<Pine.BSO.4.56.0409202046080.9396@leary.csoft.net>
	<1095794747.18680.23.camel@lx.siec>
	<1095798675.1557.122.camel@localhost.localdomain>
	<1095807031.1556.129.camel@localhost.localdomain>

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ć <-=




view thread (13+ messages)  latest in thread

Message-ID: <1095880271.22986.37.camel@lx.siec>
Permalink:  ../1095880271.22986.37.camel@lx.siec/
Also on:    postgresql.org/message-id/1095880271.22986.37.camel@lx.siec

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: arghil@poczta.onet.pl, pg@fastcrypt.com
  Subject: Re: Auto-increment serial (Postgresql JDBC driver w/
  In-Reply-To: <1095880271.22986.37.camel@lx.siec>
  References: <1095725344.10857.107.camel@lx.siec> <Pine.BSO.4.56.0409202046080.9396@leary.csoft.net> <1095794747.18680.23.camel@lx.siec> <1095798675.1557.122.camel@localhost.localdomain> <1095807031.1556.129.camel@localhost.localdomain> <1095880271.22986.37.camel@lx.siec>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox