From: Mike Castle <dalgoda@ix.netcom.com>
To: pgsql-sql@postgresql.org
Subject: Re: Create table doesn't work in plpgsql
Date: Thu, 21 Dec 2000 09:54:56 -0600
Message-ID: <20001221095456.C5037@thune.mrc-home.org> (raw)
In-Reply-To: <3A41E0BA.FBEDF52F@dohle.com>
References: <Pine.BSF.4.21.0012191350250.41512-100000@jliang.ipinc.com>
<3A41E0BA.FBEDF52F@dohle.com>
On Thu, Dec 21, 2000 at 11:51:38AM +0100, Volker Paul wrote:
> select famname || ', ' || givname from person where id=1234;
> I know it's possible by building the select e.g. in bash
> and calling psql with it as an argument, but do you see a possibility
> that is closer to Postgres, e.g. in plpgsql?
Can this be done using tcl or perl?
mrc
--
Mike Castle Life is like a clock: You can work constantly
dalgoda@ix.netcom.com and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
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: dalgoda@ix.netcom.com
Subject: Re: Create table doesn't work in plpgsql
In-Reply-To: <20001221095456.C5037@thune.mrc-home.org>
References: <Pine.BSF.4.21.0012191350250.41512-100000@jliang.ipinc.com> <3A41E0BA.FBEDF52F@dohle.com> <20001221095456.C5037@thune.mrc-home.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