From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Fred Parkinson <FredP@abag.ca.gov>
To: pgsql-admin@postgresql.org
Subject: Re: Can't query the sequence table of a serial primary key.
Date: Thu, 23 Feb 2012 13:34:57 -0600
Message-ID: <4F4640810200002500045AD6@gw.wicourts.gov> (raw)
In-Reply-To: <4F461C53020000A70001B6BB@gwia1.abag.ca.gov>
References: <4F461C53020000A70001B6BB@gwia1.abag.ca.gov>
"Fred Parkinson" <FredP@abag.ca.gov> wrote:
> When I do \d I see the table and the sequencer under 'List of
> relations'. But when I run select * from mytable_id_seq;
> postgresql responds with: relation 'mytable_id_seq' does not
> exist.
It works for me. Can you provide a small self-contained test case
which demonstrates the problem?
Hopefully you are aware of these functions, which might be easier:
http://www.postgresql.org/docs/8.4/interactive/functions-sequence.html
-Kevin
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-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, FredP@abag.ca.gov
Subject: Re: Can't query the sequence table of a serial primary key.
In-Reply-To: <4F4640810200002500045AD6@gw.wicourts.gov>
References: <4F461C53020000A70001B6BB@gwia1.abag.ca.gov> <4F4640810200002500045AD6@gw.wicourts.gov>
* 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