Re: Getting column names/types from select query? - Mailing list pgsql-hackers

From Wesley Aptekar-Cassels
Subject Re: Getting column names/types from select query?
Date
Msg-id b974d2e6-37c0-4700-b82c-f39f44de5448@www.fastmail.com
Whole thread Raw
In response to Re: Getting column names/types from select query?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Where do you need this information?

I'm writing some code that takes a given query, and generates type-safe bindings for it, so people can write SQL
queriesand get structs (or vectors of structs) out the other end. So I'm pretty flexible about where I get it, given
thatit'll be part of my build/codegen process. I hadn't seen libpq yet, I'll look into that — thanks! 



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: strange error reporting
Next
From: Tom Lane
Date:
Subject: Re: strange error reporting