On Wed, Jul 22, 2009 at 02:03:41PM -0700, Andrew Klaassen wrote:
> --- On Wed, 7/22/09, D'Arcy J.M. Cain <[email protected]> wrote:
> 
> > From: D'Arcy J.M. Cain <[email protected]>
> > Received: Wednesday, July 22, 2009, 1:48 PM
> > Andrew Klaassen <[email protected]> wrote:
> > > Is it possible to get pgdb to return full column names
> > (i.e. "table.column" instead of just "column")?  This
> > would be handy when executing joins.
> > 
> > It's possible but it seems like a lot of work.  Do you
> > have any code?
> 
> No, unfortunately.  Is it something where you'd have to parse the
> queries to figure out how to structure the result?  

This is the way that the mysql connectors do it but I think that they
support getting (table, column) back in their C layer. A quick look at
the libpq documentation doesn't show an easy way to get this
information there (unless I'm missing something).

-- Chris


_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to