From: Jie Liang <jliang@ipinc.com>
To: datactrl <quals@bigfoot.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: SOME PL/PGSQL PROBLEMS
Date: Fri, 23 Mar 2001 10:08:15 -0800 (PST)
Message-ID: <Pine.BSF.4.10.10103231000220.29016-100000@tidal.ipinc.com> (raw)
In-Reply-To: <004f01c0b379$19c48c60$2400a8c0@hnjack>
You blame something should not be blamed.
Jie LIANG
St. Bernard Software
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang@ipinc.com
www.stbernard.com
www.ipinc.com
On Fri, 23 Mar 2001, datactrl wrote:
> I found there are some problems with PL/pgSQL.
> 1) 'Drop Table' doesn't work at all
In general, PLSQL can only take DML instead of DDL.
> 2) '--' comment causes parsing error
Not true.
> 3) Execute doesn't work at all. It always causes parsing error!
I havn't tested, I cannot say.
>
> Some questions
> 1) Can I use variable in FROM clause for a table name?
No, table name cannot be a variable except in execute statement.
> 2) Can I use variable in WHERE such as xxx = variable?
Same as 1).
>
> JACK
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>
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: jliang@ipinc.com, quals@bigfoot.com
Subject: Re: SOME PL/PGSQL PROBLEMS
In-Reply-To: <Pine.BSF.4.10.10103231000220.29016-100000@tidal.ipinc.com>
References: <004f01c0b379$19c48c60$2400a8c0@hnjack> <Pine.BSF.4.10.10103231000220.29016-100000@tidal.ipinc.com>
* 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