libq++ and security help - Mailing list pgsql-general

From Monica Rogati
Subject libq++ and security help
Date
Msg-id Pine.A32.3.91.980615084253.134000A-100000@musca.unm.edu
Whole thread Raw
In response to Re: [GENERAL] Postgresql 6.3.1 on Irix 6.2  (Ivan Cornell <ivan.cornell@framestore.co.uk>)
List pgsql-general
    Hi, I' d really appreciate some help with the following issue:

    I'm using libq++ for a C++ frontend; the problem is I need to have
many users who don't have accounts on the server. I tried to find
information on connecting to the database specifying the username and
password, but it looks like the libq++ functions rely on the environment
variables.
    I used mysql for a while and I had no problem doing this from
the C++ interface, and I know there has to be a way in postgresql, since
psql can do it. Could someone please point me into the right direction?
The pg_passwd man page seems to have something, but it only pertains to
tcl; I could find nothing in the libq++ examples , the user/programmer's
guides , or the mailing list archives. I looked in the header files also,
but maybe I missed something ... any ideas?

Thanks A LOT,

Monica

pgsql-general by date:

Previous
From: "Joerg Schultz"
Date:
Subject: cost difference for 2 similar queries
Next
From: Stefan Welzmiller
Date:
Subject: Problem creating a DB under 6.3.2 and Linux 2.00.33