Re: BUG #2059: PGConnect fails when used in a thread

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2059: PGConnect fails when used in a thread
Дата
Msg-id 1758.1132585712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #2059: PGConnect fails when used in a thread  ("Chris Storah" <chris.storah@orionsmg.com>)
Список pgsql-bugs
"Chris Storah" <chris.storah@orionsmg.com> writes:
> fe-connect.c - parseServiceInfo is failing because no service option is
> being used in the connection string so service is NULL. The line that fails
> is the 'snprintf(serviceFile, MAXPGPATH, "%s/pg_service.conf", ...) line.

Huh?  That statement doesn't use 'service', so your analysis makes no
sense.  I agree it's a bit inefficient as coded, but I can't see that it
would crash.  You have other problems to look for.

            regards, tom lane

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

Предыдущее
От: Harald Armin Massa
Дата:
Сообщение: strange disappearence of postgres file
Следующее
От: "David Begley"
Дата:
Сообщение: BUG #2062: Timezone unrecognised