pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Darko Prenosil <Darko.Prenosil@finteh.hr>
To: pgsql-interfaces@postgresql.org
Subject: Re: libpq:Find Table Name
Date: Sun, 13 Jul 2003 21:06:06 +0200
Message-ID: <004001c34971$dc4b4b80$d196bfd5@darko> (raw)
References: <3F12981B.CDE42A4A@rodos.fzk.de>
	<1241.1058194088@sss.pgh.pa.us>


----- Original Message ----- 
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Christoph Haller" <ch@rodos.fzk.de>
Cc: <pgsql-interfaces@postgresql.org>; <adam@piggz.fsnet.co.uk>
Sent: Monday, July 14, 2003 4:48 PM
Subject: Re: [INTERFACES] libpq:Find Table Name 


> Christoph Haller <ch@rodos.fzk.de> writes:
> >> Has anyone any suggestions on how i can achieve getting the table name
> >> for a
> >> filed in a result without having to parse the sql statement (which i
> >> dont
> >> think wold be easy).
> >> 
> > I very much doubt there is such thing, because the result may come from
> > a complex join or a function.
> 
> There is support for this in PG 7.4, in the form of providing the table
> OID for a column (when it's determinable).
> 

Wow !!!
I should read changelogs more often !

Regards !




view thread (6+ messages)  latest in thread

Message-ID: <004001c34971$dc4b4b80$d196bfd5@darko>
Permalink:  ../004001c34971$dc4b4b80$d196bfd5@darko/
Also on:    postgresql.org/message-id/004001c34971$dc4b4b80$d196bfd5@darko

 · 

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: Darko.Prenosil@finteh.hr
  Subject: Re: libpq:Find Table Name
  In-Reply-To: <004001c34971$dc4b4b80$d196bfd5@darko>

* 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