Re: pgoptions syntax? - Mailing list pgsql-novice

From Tom Lane
Subject Re: pgoptions syntax?
Date
Msg-id 29323.1208908740@sss.pgh.pa.us
Whole thread Raw
In response to pgoptions syntax?  ("Fernando Fontana" <fernando.fontana@gmail.com>)
List pgsql-novice
"Fernando Fontana" <fernando.fontana@gmail.com> writes:
> what's the syntax of the PGOPTIONS environment variable?
> I'm trying to put something like 'autocommit=off', but more generally
> I want to know all the options that it has.

It's the same as command line options for the postgres executable,
eg "--autocommit=off" (or "-c autocommit=off" if you have a version
of getopt() that can't handle the former).

            regards, tom lane

pgsql-novice by date:

Previous
From: "Fernando Fontana"
Date:
Subject: pgoptions syntax?
Next
From: "Didier Gasser-Morlay"
Date:
Subject: Re: Client connection lost; still in the task list