From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: data dependent sequences?
Date: Tue, 17 Jul 2007 11:00:46 -0400
Message-ID: <20070717150046.GC21688@phlogiston.dyndns.org> (raw)
In-Reply-To: <f7iggu$1nb$1@sea.gmane.org>
References: <AKEFJAHAPDBEDKIICNJKMEJPCDAA.smcg2297@frii.com>
<1184515497.5778.141.camel@localhost.localdomain>
<f7iggu$1nb$1@sea.gmane.org>
On Tue, Jul 17, 2007 at 07:34:26AM -0600, Stuart wrote:
> I am not looking for gapless sequences. The reason I
> want to do this is the "typ" column is actually an indicator
> of the source of the rest of the infomation in the row.
Why do you need the sequence to be 1. . .n for each typ, then? If
they're just there to preserve order, one sequence will work just
fine. Otherwise, I think you have a normalisation problem.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
A certain description of men are for getting out of debt, yet are
against all taxes for raising money to pay it off.
--Alexander Hamilton
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ajs@crankycanuck.ca
Subject: Re: data dependent sequences?
In-Reply-To: <20070717150046.GC21688@phlogiston.dyndns.org>
* 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