Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfacespgsql-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

pgsql-hackers by date

Next:From: Bear GilesDate: 2002-05-18 20:33:28
Subject: Re: SASL, compression?
Previous:From: Tom LaneDate: 2002-05-18 19:45:12
Subject: Re: SASL, compression?

pgsql-patches by date

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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group