pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Greenberg <gary@icontrol.com>
To: pgsql-jdbc@postgresql.org
Subject: How to get sequence info?
Date: Fri, 4 May 2007 10:05:34 -0700
Message-ID: <031b01c78e6e$6e5f8910$aa0a3c0a@D9GKB4C1> (raw)

I need to find out what sequences were created in the database.

Does anyone know how to do it? 

I can get info on tables, keys, columns from DatabaseMetadata, but I don't
see any means to retrieve sequence info.

If you know how, please give me a tip.

Regards,

            Gary

view thread (2+ messages)  latest in thread

Message-ID: <031b01c78e6e$6e5f8910$aa0a3c0a@D9GKB4C1>
Permalink:  ../031b01c78e6e$6e5f8910$aa0a3c0a@D9GKB4C1/
Also on:    postgresql.org/message-id/031b01c78e6e$6e5f8910$aa0a3c0a@D9GKB4C1

 · 

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: gary@icontrol.com
  Subject: Re: How to get sequence info?
  In-Reply-To: <031b01c78e6e$6e5f8910$aa0a3c0a@D9GKB4C1>
  References: <031b01c78e6e$6e5f8910$aa0a3c0a@D9GKB4C1>

* 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