pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Cc: Lista Postgres <pgsql-admin@postgresql.org>
Subject: Re: Should clients warn in case of server version mismatch ?
Date: Thu, 07 Dec 2006 23:56:47 -0500
Message-ID: <25317.1165553807@sss.pgh.pa.us> (raw)
In-Reply-To: <a97c77030612072049q7acab446v6999f892b17a42ee@mail.gmail.com>
References: <a97c77030612072049q7acab446v6999f892b17a42ee@mail.gmail.com>

"Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes:
> We connected psql 8.2.0 accidently to postmaster ver 8.1.5.
> \d tablename does not work.
> should psql at least warn like pg_dump does in case
> of such client server version mismatches ?

Um, did you read the banner?

$ ~/version82/bin/psql -p 5581 regression
Welcome to psql 8.2.0 (server 8.1.5), the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

WARNING:  You are connected to a server with major version 8.1,
but your psql client is major version 8.2.  Some backslash commands,
such as \d, might not work properly.

regression=# 

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <25317.1165553807@sss.pgh.pa.us>
Permalink:  ../25317.1165553807@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25317.1165553807@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mallah.rajesh@gmail.com
  Subject: Re: Should clients warn in case of server version mismatch ?
  In-Reply-To: <25317.1165553807@sss.pgh.pa.us>
  References: <a97c77030612072049q7acab446v6999f892b17a42ee@mail.gmail.com> <25317.1165553807@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