Re: [HACKERS] psql and comments - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] psql and comments
Date
Msg-id 3801FAF6.6CC3E6E0@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] psql and comments  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [HACKERS] psql and comments  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> Luckily, the regression tests don't make extensive use of the backslash
> commands, the issue being that their output might change. I only found
> three backslash commands in the whole regression tests. One occurence does
> something like this:
>   some query;
>   *** comment
>   *** comment
>   \p
>   \r
>   more queries;
> which should probably be changed anyway to something like
> -- comment
> -- comment

Actually, this is probably testing that the buffer reset actually
clears the lines, which wouldn't be as obvious if there were only
legal SQL preceeding it. Maybe leave it as-is??
                - Thomas

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


pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: Scan by TID (was RE: [HACKERS] How to add a new build-in operator)
Next
From: Martin Weinberg
Date:
Subject: Re: [HACKERS] memory problems in copying large table to STDOUT