Re: psql and comments - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: psql and comments
Date
Msg-id 37FCBC80.970E2C07@alumni.caltech.edu
Whole thread Raw
In response to Re: psql and comments  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [HACKERS] Re: psql and comments
List pgsql-hackers
> The question I have though is, is there a reason, besides efficiency, that
> psql doesn't just send the comment to the backend with the query? The
> backend does accept comments last time I checked. Perhaps someone will one
> day write something that makes some use of those comments on the backend
> (thus conflicting with the very definition of "comment", but maybe a
> logger) and it would remove some load out of psql.

Efficiency is all, along with (probably) the backend being unhappy
getting *only* a comment and no query.
               - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] password in pg_shadow