From: Haroldo Stenger <hstenger@adinet.com.uy>
To: vijayendra.agrawal@wipro.com
To: pgsql-admin@postgresql.org
Subject: Re: FW: tablename.columnname support
Date: Sun, 17 Sep 2000 14:16:29 -0300
Message-ID: <39C4FC6D.ADD2C997@adinet.com.uy> (raw)
References: <004901c0206d$7ba35640$2a14a8c0@Protea.wipinfo.soft.net>
vijayendra mohan agrawal wrote:
> The design in my module is such that for any requests from the client side,
> I have to do some DB operation. The operation could be either SELECT,
> UPDATE, INSERT or DELETE in the database depending on the request id and the
> data in the database. So, I am having a meta-data table in the database,
> which will tell me what kind of operation to do on a particular request id,
> what are the tables involved, what are the columns involved, what are the
> keys for these tables, and what are the relations(join conditions) between
> the tables involved. So, here in column names, I am storing columns in the
> tablename.columnname format, becuase columns can be from many tables.
I see your point. But couldn't you just strip out the dbname prefix when talking
to PostgreSQL?
Best Regards,
Haroldo.
--
----------------------+------------------------
Haroldo Stenger | hstenger@ieee.org
Montevideo, Uruguay. | hstenger@adinet.com.uy
----------------------+------------------------
Visit UYLUG Web Site: http://www.linux.org.uy
-----------------------------------------------
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-admin@postgresql.org
Cc: hstenger@adinet.com.uy, vijayendra.agrawal@wipro.com
Subject: Re: FW: tablename.columnname support
In-Reply-To: <39C4FC6D.ADD2C997@adinet.com.uy>
References: <004901c0206d$7ba35640$2a14a8c0@Protea.wipinfo.soft.net> <39C4FC6D.ADD2C997@adinet.com.uy>
* 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