Frank Church <[EMAIL PROTECTED]> writes: > Is there way to determine the table a query or a view's columns come from?
Yeah, there's some support for that in the protocol. libpq exposes it as PQftable() and PQftablecol(). regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq