From: Adam Pigg <adam@piggz.fsnet.co.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq:Find Table Name
Date: Mon, 14 Jul 2003 21:20:56 +0100
Message-ID: <200307142120.56216.adam@piggz.fsnet.co.uk> (raw)
In-Reply-To: <1241.1058194088@sss.pgh.pa.us>
References: <3F12981B.CDE42A4A@rodos.fzk.de>
<1241.1058194088@sss.pgh.pa.us>
Excellent....can you point me to anymore info on this, i see that pg7.4 isnt
even in beta yet, is this function available in cvs?
cheers
Adam Pigg
On Monday 14 July 2003 15:48, Tom Lane wrote:
> 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).
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
--
adampigg.9p.org.uk
adam@piggz.fsnet.co.uk
adam@adampigg.9p.org.uk
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: adam@piggz.fsnet.co.uk, tgl@sss.pgh.pa.us
Subject: Re: libpq:Find Table Name
In-Reply-To: <200307142120.56216.adam@piggz.fsnet.co.uk>
* 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