Re: [INTERFACES] libpgtcl - backend version information patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [INTERFACES] libpgtcl - backend version information patch
Date: 2002-05-18 20:11:59
Message-ID: 23437.1021752719@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces pgsql-patches

"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bear Giles 2002-05-18 20:33:28 Re: SASL, compression?
Previous Message Tom Lane 2002-05-18 19:45:12 Re: SASL, compression?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Nigel J. Andrews 2002-05-18 21:41:00 Re: [INTERFACES] libpgtcl - backend version information
Previous Message Nigel J. Andrews 2002-05-18 18:52:27 *new* libpgtcl - backend version information patch

Browse pgsql-patches by date

  From Date Subject
Next Message Nigel J. Andrews 2002-05-18 21:41:00 Re: [INTERFACES] libpgtcl - backend version information
Previous Message Tom Lane 2002-05-18 19:02:17 Re: SRF patch (was Re: [HACKERS] troubleshooting pointers)