Re: [GENERAL] A couple of LIBPQ questions

From: Marin D <marin(at)cybernet(dot)bg>
To: Bruce Tong <zztong(at)laxmi(dot)ev(dot)net>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] A couple of LIBPQ questions
Date: 1998-06-06 09:52:23
Message-ID: Pine.LNX.3.96.980606123314.3754A-100000@server.iclub.techno-link.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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? =-

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael 1998-06-06 11:03:58 SQL Where Statement
Previous Message Mark Pulver 1998-06-06 03:58:37 Re: [GENERAL] Free Advertising For Your Business! (fwd)