From: JP Rosevear <jproseve@arcavia.com>
To: pgsql-sql@postgresql.org
Subject: Sequences and Views
Date: Wed, 13 Jan 1999 13:28:01 -0500
Message-ID: <369CE5B1.B8698969@arcavia.com> (raw)
I'm trying to label rows when creating a view with the numbers 1...n,
where n is the number of items in a view. Since views are requeryed
when used in a select statement, using sequences breaks the 1 to n
numbering.
Under oracle the label was produced by the 'rownum' attribute.
Suggestions?
-JP
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-sql@postgresql.org
Cc: jproseve@arcavia.com
Subject: Re: Sequences and Views
In-Reply-To: <369CE5B1.B8698969@arcavia.com>
References: <369CE5B1.B8698969@arcavia.com>
* 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