From: Keith Wong <keith@e-magine.com.au>
To: Nelson <nbrito@cmet.net>
To: Jie Liang <jliang@ipinc.com>
To: pgsql-general@hub.org <pgsql-general@hub.org>
To: pgsql-novice@hub.org <pgsql-novice@hub.org>
To: pgsql-sql@hub.org <pgsql-sql@hub.org>
Subject: Re: how to store a query, that results in a table
Date: Sat, 23 Sep 2000 11:14:29 +1000
Message-ID: <4.3.2.7.0.20000923111232.00b65758@mail.e-magine.com.au> (raw)
In-Reply-To: <39CBD883.9A63F0C6@cmet.net>
References: <39CB65A0.9DEF7ABB@cmet.net>
<39CBD205.9A922DDE@ipinc.com>
This is not really possible with postgresql at the moment.
Better off trying to work around, perhaps using a view. That way you have a
way to change the select
statement without actually modifying your client code.
Keith.
At 06:09 PM 22/09/2000 -0400, Nelson wrote:
>thank you jie Liang for your response, but my problems are:
>1. How to store a query in the database.
>2. How to give a parameter from outside of database, for example:
>select * from table1 where row1 = my_parameter_outside.
>Give me an example please.
>
>
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: keith@e-magine.com.au, nbrito@cmet.net, jliang@ipinc.com, pgsql-general@hub.org, pgsql-novice@hub.org, pgsql-sql@hub.org
Subject: Re: how to store a query, that results in a table
In-Reply-To: <4.3.2.7.0.20000923111232.00b65758@mail.e-magine.com.au>
References: <39CB65A0.9DEF7ABB@cmet.net> <39CBD205.9A922DDE@ipinc.com> <4.3.2.7.0.20000923111232.00b65758@mail.e-magine.com.au>
* 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