From: Bruno Boettcher <bboett@erm1.u-strasbg.fr>
To: Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu>
Cc: pgsql-sql@postgresql.org
Subject: Re: pgpl-problem, what's wrong with my loop?
Date: Mon, 20 Nov 2000 18:47:00 +0100
Message-ID: <20001120184700.I25191@erm1.u-strasbg.fr> (raw)
In-Reply-To: <Pine.LNX.4.05.10011201735490.6284-100000@pc10.radnoti-szeged.sulinet.hu>
References: <20001120172105.E25191@erm1.u-strasbg.fr>
<Pine.LNX.4.05.10011201735490.6284-100000@pc10.radnoti-szeged.sulinet.hu>
On Mon, Nov 20, 2000 at 06:06:52PM +0100, Kovacs Zoltan Sandor wrote:
> > FOR arow IN SELECT currency,amount FROM journal WHERE col=sumup LOOP
> My opinion is the problem that you cannot give a column name as a
> parameter. But I'm not sure. This never worked for me. The thing here
:( can somebody confirm this? in this case i have to check only 2
cols....
put if i had more to check, this would be a serious limitation.....
> You should write different codes for the different col parameters in my
> opinion. Or you might write a C function which can send arbitrary SQL
> queries to the backend.
:D wanted to stay as SQL'is as possible....
anyway thanks for the answer...
--
ciao bboett
==============================================================
bboett@earthling.net
http://inforezo.u-strasbg.fr/~bboetthttp://erm1.u-strasbg.fr/~bboett
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....
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: bboett@erm1.u-strasbg.fr, tip@pc10.radnoti-szeged.sulinet.hu
Subject: Re: pgpl-problem, what's wrong with my loop?
In-Reply-To: <20001120184700.I25191@erm1.u-strasbg.fr>
References: <20001120172105.E25191@erm1.u-strasbg.fr> <Pine.LNX.4.05.10011201735490.6284-100000@pc10.radnoti-szeged.sulinet.hu> <20001120184700.I25191@erm1.u-strasbg.fr>
* 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