Received: from tolikus.hq.aaanet.ru (tolikus.hq.aaanet.ru [195.151.212.227]) by hub.org (8.9.2/8.9.1) with ESMTP id HAA29621 for ; Mon, 22 Feb 1999 07:08:20 -0500 (EST) (envelope-from tolik@tolikus.hq.aaanet.ru) Received: (from tolik@localhost) by tolikus.hq.aaanet.ru (8.9.1/8.9.1) id OAA04059; Mon, 22 Feb 1999 14:53:04 +0300 (MSK) (envelope-from tolik) To: philip.shiels@jrc.it Cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Tables names from query References: <36D15B0D.B57DB69C@jrc.it> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: tolik@icomm.ru (Anatoly K. Lasareff) Date: 22 Feb 1999 14:53:04 +0300 In-Reply-To: Philip Shiels's message of "Mon, 22 Feb 1999 14:26:37 +0100" Message-ID: <87hfsek63j.fsf@tolikus.hq.aaanet.ru> Lines: 15 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" >>>>> "PS" == Philip Shiels writes: PS> I'm currently developing a postgres DB backend to my current project and have PS> the following problem. If I execute a query I need to know the table the PS> returning fields belong to. For example : PS> SELECT x.y, z.y from x, y where x.key = z.key select x.y as xy, z.y as zy from x, y where x.key = z.key ^^^^^ ^^^^^ ???? -- Anatoly K. Lasareff Email: tolik@icomm.ru Senior programmer