On Mon, July 31, 2006 13:19, gouse shaik wrote: > I would like to know the structure of PGconn object of the libpq. I have > searched for this in libpq-fe.h header file. unfortunately there they > write "The contents of this struct are not supposed to be known to > applications". > where can I found the information related to the structure of the PGconn > structure.
You'll have to look in the source code to PostgreSQL itself. One of the headers there will have the information. But before you look, ask yourself the question whether you really want to know this. If you want to access the structure, you'll have to use the API functions anyway--just like libpq-fe.h said. Even libpqxx does not access this or any of the other structures directly. (In fact this question isn't related to libpqxx at all). Jeroen _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
