pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tilo Schwarz <mail@tilo-schwarz.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Relation "pg_relcheck"
Date: Wed, 26 Feb 2003 16:09:14 -0500
Message-ID: <6288.1046293754@sss.pgh.pa.us> (raw)
In-Reply-To: <200302262140.17578.mail@tilo-schwarz.de>
References: <20030225155021.GA4347@pirmabanka.lv>
	<10992.1046190247@sss.pgh.pa.us>
	<200302262140.17578.mail@tilo-schwarz.de>

Tilo Schwarz <mail@tilo-schwarz.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



view thread (9+ messages)  latest in thread

Message-ID: <6288.1046293754@sss.pgh.pa.us>
Permalink:  ../6288.1046293754@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6288.1046293754@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mail@tilo-schwarz.de
  Subject: Re: Relation "pg_relcheck"
  In-Reply-To: <6288.1046293754@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox