Re: [HACKERS] [INTERFACES] libpgtcl - backend version information patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] [INTERFACES] libpgtcl - backend version information patch
Дата
Msg-id 23437.1021752719@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [HACKERS] [INTERFACES] libpgtcl - backend version information  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Список pgsql-patches
"Nigel J. Andrews" <nandrews@investsystems.co.uk> writes:
> This feature could be added to PgAccess but I felt it was general
> enough to be placed in the interface library. I think someone else
> suggested such a place a couple of weeks ago also. If there is a
> concensus that this should be done in the application layer I'll
> happily drop this patch completely.

I guess I don't quite see the point of doing this in libpgtcl,
as opposed to doing a "select version()" at the application level.
It would take only a line or two of Tcl code to do that and parse the
result of version(), so why write many lines of C to accomplish the
same thing?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SRF patch (was Re: [HACKERS] troubleshooting pointers)
Следующее
От: Neil Conway
Дата:
Сообщение: libpq++ fixes