Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 25F9D9F9FDA for ; Fri, 8 Dec 2006 00:56:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 63604-02 for ; Fri, 8 Dec 2006 00:56:49 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 275869F9F75 for ; Fri, 8 Dec 2006 00:56:48 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kB84ulq0025318; Thu, 7 Dec 2006 23:56:47 -0500 (EST) To: "Rajesh Kumar Mallah" cc: "Lista Postgres" Subject: Re: Should clients warn in case of server version mismatch ? In-reply-to: References: Comments: In-reply-to "Rajesh Kumar Mallah" message dated "Fri, 08 Dec 2006 10:19:24 +0530" Date: Thu, 07 Dec 2006 23:56:47 -0500 Message-ID: <25317.1165553807@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/52 X-Sequence-Number: 23844 "Rajesh Kumar Mallah" 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