Received: from correo01.adinet.com.uy (courier01.adinet.com.uy [206.99.44.235]) by hub.org (8.10.1/8.10.1) with ESMTP id e8HHF4s01352 for ; Sun, 17 Sep 2000 13:15:04 -0400 (EDT) Received: from adinet.com.uy (haroldo@r200-40-92-207.adinet.com.uy [200.40.92.207]) by correo01.adinet.com.uy (8.9.3/8.9.3) with ESMTP id OAA09784; Sun, 17 Sep 2000 14:10:02 -0300 (GMT) Message-ID: <39C4FC6D.ADD2C997@adinet.com.uy> Date: Sun, 17 Sep 2000 14:16:29 -0300 From: Haroldo Stenger Organization: PRISMA, Servicio y Desarrollo X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: vijayendra.agrawal@wipro.com, pgsql-admin@postgresql.org Subject: Re: FW: tablename.columnname support References: <004901c0206d$7ba35640$2a14a8c0@Protea.wipinfo.soft.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/52 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 -----------------------------------------------