Re: SQL Comments

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Copeland <greg(at)copelandconsulting(dot)net>
Cc: PostgresSQL General Mailing List <pgsql-general(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: SQL Comments
Date: 2002-08-08 14:37:32
Message-ID: 3367.1028817452@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Greg Copeland <greg(at)copelandconsulting(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2002-08-08 16:22:07 Re: C Tigger Function Tuples
Previous Message Robert Treat 2002-08-08 14:31:38 Re: Does COPY need a manual Commit?

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-08-08 21:11:38 Re: stand-alone composite types patch (was [HACKERS] Proposal:
Previous Message Tom Lane 2002-08-08 13:57:22 Re: SQL Comments