From: Andreas Tille <tillea@rki.de>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: PostgreSQL SQL <pgsql-sql@hub.org>
Subject: Re: Beginner problems with functions
Date: Tue, 22 Aug 2000 09:39:18 +0200 (CEST)
Message-ID: <Pine.LNX.4.21.0008220935420.9561-100000@wr-linux02.rki.de> (raw)
In-Reply-To: <Pine.BSF.4.10.10008210932010.16744-100000@megazone23.bigpanda.com>
On Mon, 21 Aug 2000, Stephan Szabo wrote:
> I haven't thought of an elegant way to do it, although you could
> fake some of it with a table of the appropriate structure with a sequence.
> It's really ugly, but the pl/sql(tcl/perl/etc...) function gets the
> next value of the sequence and inserts the results into a table with
> the sequence number and returns the number to you.
OK, this might probably work for the short time. Could someone give
me any hope for the future that there will be other solutions in higher
versions of PostgreSQL which support the missing feature?
Kind regards
Andreas.
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: tillea@rki.de, sszabo@megazone23.bigpanda.com, pgsql-sql@hub.org
Subject: Re: Beginner problems with functions
In-Reply-To: <Pine.LNX.4.21.0008220935420.9561-100000@wr-linux02.rki.de>
References: <Pine.BSF.4.10.10008210932010.16744-100000@megazone23.bigpanda.com> <Pine.LNX.4.21.0008220935420.9561-100000@wr-linux02.rki.de>
* 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