Re: C API, PQconnectdb and options Q.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: stimits(at)comcast(dot)net
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: C API, PQconnectdb and options Q.
Date: 2003-09-11 03:04:05
Message-ID: 21060.1063249445@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"D. Stimits" <stimits(at)comcast(dot)net> writes:
> What I am wonder is (a) how to
> use the tty= in the string passed to PQconnectdb, and (b) a reference
> URL for what options are available in the options= part of the string
> parameters accepted by PQconnectdb.

tty= is a dead option; it was disabled years ago on security grounds.
I'd suggest enabling query logging so you can see in the postmaster log
exactly what query string got sent by your application. The options=
string is included in the command line options for the "postgres"
backend process --- the useful part of this is
-c parametervariable=value
which is pretty nearly equivalent to doing a SET parametervariable=value
after connecting.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bartlett 2003-09-11 03:45:31 Re: Picture with Postgres and Delphi
Previous Message Tom Lane 2003-09-11 02:51:39 Re: Picture with Postgres and Delphi