Re: libpq:Find Table Name

From: "Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: libpq:Find Table Name
Date: 2003-07-13 19:06:06
Message-ID: 004001c34971$dc4b4b80$d196bfd5@darko
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-interfaces


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

> Christoph Haller <ch(at)rodos(dot)fzk(dot)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 !

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Kallol Nandi 2003-07-14 04:22:06 Re:
Previous Message Roger Ackroyd 2003-07-12 18:30:56 Problem starting postmaster on Win XP Home

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christoph Haller 2003-07-14 11:46:35 Re: libpq:Find Table Name
Previous Message greg 2003-07-13 12:57:13 Re: Using DBD::Pg CVS with 7.4Devel