Re: [COMMITTERS] pgsql: Add new variable "server_version_num", which is almost the same - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Add new variable "server_version_num", which is almost the same
Date
Msg-id 3907.1157215156@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add new variable "server_version_num", which is almost the same  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: Add new variable  (Bruce Momjian <bruce@momjian.us>)
Re: [COMMITTERS] pgsql: Add new variable  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
I'd be less unhappy with this patch if the variable were not marked
GUC_REPORT.  That is what gives it nontrivial cost: it's adding a couple
dozen bytes to every connection startup exchange, for data that's 100%
redundant with data already being transmitted.

The arguments that were made in favor of this patch cited its possible
use in SQL scripts, but there is no need for the variable to be marked
GUC_REPORT for that usage.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [COMMITTERS] pgsql: Allow PL/python to return
Next
From: Bruce Momjian
Date:
Subject: Re: Getting a move on for 8.2 beta