Re: [HACKERS] [INTERFACES] libpgtcl - backend version information patch - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] [INTERFACES] libpgtcl - backend version information patch
Date
Msg-id 23437.1021752719@sss.pgh.pa.us
Whole thread Raw
Responses Re: [HACKERS] [INTERFACES] libpgtcl - backend version information
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: SRF patch (was Re: [HACKERS] troubleshooting pointers)
Next
From: Neil Conway
Date:
Subject: libpq++ fixes