Re: When "psql -l" is invoked from prompt and not completed,
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: When "psql -l" is invoked from prompt and not completed, |
| Дата | |
| Msg-id | 23790.1059084466@sss.pgh.pa.us обсуждение |
| Ответ на | Re: When "psql -l" is invoked from prompt and not completed, (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: When "psql -l" is invoked from prompt and not completed,
|
| Список | pgsql-bugs |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> I don't. It's from the interlock that prevents copying a database that
>> contains active sessions.
> I understand that, but why does psql still hold that lock while
> displaying the database names with more?
I don't think it closes the database connection until it's ready to
exit.
We could maybe fix -l to close the connection before outputting data,
but it doesn't seem like that really will make a lot of difference.
What of someone who's connected to template1 with a plain "psql
template1" session?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера