Re: Relation "pg_relcheck"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tilo Schwarz <mail(at)tilo-schwarz(dot)de>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Relation "pg_relcheck"
Date: 2003-02-26 21:09:14
Message-ID: 6288.1046293754@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tilo Schwarz <mail(at)tilo-schwarz(dot)de> writes:
> Because this sort of questions appears quite often, I was wondering, if the
> start up message of psql could be changed from
> Welcome to psql 7.4devel, the PostgreSQL interactive terminal.
> to something like
> Welcome to psql 7.4devel, the PostgreSQL interactive terminal.
> Connected to PostgreSQL <put version here>.
> to make it easier to catch these errors.

I'm not eager to add yet another hidden query cycle to the connection
startup overhead, especially not one that does nothing for people who
aren't making mistakes ;-). What's been in the back of my mind is that
when we redesign the FE/BE protocol (real soon now, I hope) we should
extend the backend's first message to the frontend to include its
version number, as well as any other useful info we can think of
(database encoding and default client encoding come to mind). This
would make it quite inexpensive to add the backend version to psql's
banner, as well as be a net savings in startup time now that libpq only
comes in a multibyte-enabled version.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Grignon Etienne 2003-02-26 22:46:54 pgsql problem
Previous Message Tilo Schwarz 2003-02-26 20:40:17 Re: Relation "pg_relcheck"