Re: [GENERAL] A couple of LIBPQ questions - Mailing list pgsql-general

From Marin D
Subject Re: [GENERAL] A couple of LIBPQ questions
Date
Msg-id Pine.LNX.3.96.980606123314.3754A-100000@server.iclub.techno-link.com
Whole thread Raw
In response to A couple of LIBPQ questions  (Bruce Tong <zztong@laxmi.ev.net>)
Responses Re: [GENERAL] A couple of LIBPQ questions  (Marin D <marin@cybernet.bg>)
Re: [GENERAL] A couple of LIBPQ questions  (Bruce Tong <zztong@laxmi.ev.net>)
List pgsql-general

On Fri, 5 Jun 1998, Bruce Tong wrote:

> (1) PQftype() returns a value of type "Oid", but I haven't been able to
> find a list of what those values might be. I noticed in the header files a
> value of zero is considered invalid, but that's it. The docs I've found
> don't tell me anything other than it an integer code representing the
> type. What are the possible values?

select oid,* from pg_type where oid = <type_oid>

where <type_oid> is between 16 and 32

>
> (2) I noticed there are some C++ classes in /usr/include/libpq++ which
> look similar to code I'm writing for my own education and use. Is there
> any documentation which deals with these classes? (I've not seen any thus
> far.)
>

Neither did I.

> (3) The third paramter to PQsetdb() is pgoptions. I've not found any
> description of what these options might be. Where can I find a list of the
> options?
>
>

The source says this is for setting backend options for this connection.

man postgres

to see the backend options.


Hope this helps..

    Marin


          -= Why do we need gates in a world without fences? =-



pgsql-general by date:

Previous
From: Mark Pulver
Date:
Subject: Re: [GENERAL] Free Advertising For Your Business! (fwd)
Next
From: Michael
Date:
Subject: SQL Where Statement