Received: from vaccine.rki.de (firewall-user@vaccine.rki.de [193.175.81.250]) by hub.org (8.10.1/8.10.1) with SMTP id e7M7dpT29350 for ; Tue, 22 Aug 2000 03:39:52 -0400 (EDT) Received: by vaccine.rki.de; id JAA12988; Tue, 22 Aug 2000 09:39:47 +0200 Received: from unknown(10.15.130.13) by vaccine.rki.de via smap (V5.5) id xma012985; Tue, 22 Aug 00 09:39:28 +0200 Received: from wr-linux02.rki.de ([10.15.140.59]) by mailnu01.rki.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id QD4NBVQW; Tue, 22 Aug 2000 09:38:30 +0200 Date: Tue, 22 Aug 2000 09:39:18 +0200 (CEST) From: Andreas Tille To: Stephan Szabo cc: PostgreSQL SQL Subject: Re: Beginner problems with functions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/217 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.