From: | "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Lista Postgres" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Should clients warn in case of server version mismatch ? |
Date: | 2006-12-08 05:04:57 |
Message-ID: | a97c77030612072104w76765153s3c7f6fdfa9d0b93f@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On 12/8/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)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.
Dear Sir,
I am extremely sorry i was just going to apologize for the mistake.
But i like the way pg_dump behaves , it refuses to work unless
-i is specified. Actually my colleagues complained that \d is not
working.
I think they got the database prompt as they get everyday and
did not notice the warning. ( even i missed to see the WARNING)
Warm Regds
mallah.
>
> regression=#
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Ritu Khetan | 2006-12-08 05:55:06 | Looking for PG professionals |
Previous Message | Tom Lane | 2006-12-08 04:56:47 | Re: Should clients warn in case of server version mismatch ? |