libq++ and security help

From: Monica Rogati <mrogati(at)unm(dot)edu>
To: pgsql-general(at)postgreSQL(dot)org
Subject: libq++ and security help
Date: 1998-06-15 14:55:14
Message-ID: Pine.A32.3.91.980615084253.134000A-100000@musca.unm.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin Hickey 1998-06-15 16:26:06 Y2K compliant
Previous Message Ivan Cornell 1998-06-15 11:53:00 Re: [GENERAL] Postgresql 6.3.1 on Irix 6.2