Re: SQL Comments - Mailing list pgsql-general

From Tom Lane
Subject Re: SQL Comments
Date
Msg-id 3367.1028817452@sss.pgh.pa.us
Whole thread Raw
In response to SQL Comments  (Greg Copeland <greg@CopelandConsulting.Net>)
Responses Re: SQL Comments
List pgsql-general
Greg Copeland <greg@copelandconsulting.net> writes:
> Should the version number be considered for output when psql is started
> up for interactive use?  I'm fairly sure I would of caught this my self
> if a version number were there to key off of.

> Perhaps it should say something like:
> Welcome to psql, the PostgreSQL (v7.3.1) interactive terminal.

I think
    Welcome to psql v7.3, the PostgreSQL interactive terminal.
would read more naturally ... seems like a good idea in principle
though, especially since 7.3 is going to introduce a *lot* of breakage
for the backslash commands of older psql versions.

> Maybe even a slash command which not only shows the postgres version
> that psql was compiled from but also the server version it's currently
> connected with?

> Example:
> # \v
> PSQL version 7.3.1
> Backend version 7.3.1

Maybe.  Peter, any opinion about that?

            regards, tom lane

pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: Does COPY need a manual Commit?
Next
From: Joe Conway
Date:
Subject: Re: C Tigger Function Tuples