Re: psql connection option: statement_timeout

Поиск
Список
Период
Сортировка
От Melvin Davidson
Тема Re: psql connection option: statement_timeout
Дата
Msg-id CANu8Fiw+4ZE3tfBkqOwr+icYf63tH8wCeT20+G+rd2WPpUmB-A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql connection option: statement_timeout  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: psql connection option: statement_timeout  (Craig Boyd <craig@mysoftforge.com>)
Re: psql connection option: statement_timeout  (Jerry Sievers <gsievers19@comcast.net>)
Список pgsql-general


On Sun, Jul 3, 2016 at 7:52 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
correction:

alter user reporting set statement_timemout=60 is handy for users that
should never take a long time to connect.

should read

alter user reporting set statement_timemout=60 is handy for users that
should never take a long time to run a statement.


>Part of what I am trying to do is understand the delineation between those options I have at connect time as part of the connection string versus those that should be scripted...
 
It is fairly simple. The options you have at connect time are documented here:
https://www.postgresql.org/docs/9.3/static/app-psql.html

All other commands/statements must be executed after connect, specified with the -c option or included in a file with -f .
Note the exceptions that can be specified per user as Scott mentioned.



Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: psql connection option: statement_timeout
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Unable to recovery due missing wal_file