Re: Concurrent psql patch

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Concurrent psql patch
Дата
Msg-id 4655F1C0.7040408@dunslane.net
обсуждение исходный текст
Ответ на Re: Concurrent psql patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Concurrent psql patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>
>> If we're going to include libpq-int.h maybe we need to put it in
>> common.h. Is there a reason that our own client programs shouldn't use
>> our own library internals?
>>
>
> Seems like a really bad idea to me.  I know I've cursed mysql more than
> once for doing the equivalent.  Also, if psql needs more than is
> currently exported as official API, why wouldn't other programs need it
> too?  If there's more needed here, let's see an official API change,
> not a hack.
>
>
>

Well, I guess the obvious API would be something like:

    PGAsyncStatusType PQasyncStatus(const PGconn *conn);

cheers

andrew

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Concurrent psql patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Concurrent psql patch