statement timeout test case

Поиск
Список
Период
Сортировка
От Medi Montaseri
Тема statement timeout test case
Дата
Msg-id 3DF936E7.6080309@intransa.com
обсуждение исходный текст
Ответы Re: statement timeout test case  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
I'm trying to develop a test case to see how the statement_timeout in
7.3 works...

Can I just say...

make the change in $PGDATA/postgresql.conf, pg_ctl reload

In psql(1) session one say 'lock table test in EXCLUSIVE mode'
In psql(1) session two say 'select * from test'

What I'm expecting is that sessoion two should block and then timeout....

Thanks

PS: I don't see any unlock commands....does it automagically unlock the
table
when psql(1) session is closed.


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

Предыдущее
От: "Charles H. Woloszynski"
Дата:
Сообщение: Re: [PERFORM] CLUSTER command
Следующее
От: "Williams, Travis L, NPONS"
Дата:
Сообщение: What port to connect on?