pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tolik@icomm.ru
To: philip.shiels@jrc.it
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Tables names from query
Date: 22 Feb 1999 14:53:04 +0300
Message-ID: <87hfsek63j.fsf@tolikus.hq.aaanet.ru> (raw)
References: <36D15B0D.B57DB69C@jrc.it>

>>>>> "PS" == Philip Shiels <philip.shiels@jrc.it> 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



view thread (6+ messages)  latest in thread

Message-ID: <87hfsek63j.fsf@tolikus.hq.aaanet.ru>
Permalink:  ../87hfsek63j.fsf@tolikus.hq.aaanet.ru/
Also on:    postgresql.org/message-id/87hfsek63j.fsf@tolikus.hq.aaanet.ru

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tolik@icomm.ru, philip.shiels@jrc.it
  Subject: Re: [INTERFACES] Tables names from query
  In-Reply-To: <87hfsek63j.fsf@tolikus.hq.aaanet.ru>

* 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