Re: PQfinish(const PGconn *conn) question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQfinish(const PGconn *conn) question
Дата
Msg-id 7372.984160227@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PQfinish(const PGconn *conn) question  (Boulat Khakimov <boulat@inet-interactif.com>)
Список pgsql-hackers
Boulat Khakimov <boulat@inet-interactif.com> writes:
> I'm wondering how safe it is to pass an uninitialized conn to
> PQfinish....

You can pass a NULL pointer to PQfinish safely, if that's what you
meant.  Passing a pointer to uninitialized memory seems like a bad
idea.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: AW: AW: WAL does not recover gracefully from out-of-dis k-sp ace
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: AW: AW: WAL does not recover gracefully from out-of -dis k-sp ace