From: Egon Reetz <reetz@usco.de>
To: Bhuvan A <bhuvansql@myrealbox.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: psql to 7.2.3 from 7.3.1
Date: Sat, 28 Dec 2002 11:05:58 +0100
Message-ID: <3E0D7785.88059A7A@usco.de> (raw)
References: <Pine.LNX.4.44.0212281513260.3297-100000@Bhuvan.bksys.co.in>
You should connect with the 7.2 tools to 7.2 and with 7.3 ones to 7.3.
I think this messages is caused by the introduction of schemas in 7.3, so the
tables look something like public.your_table_name.
psql-7.3 tries to find the public-schema on 7.2 and this doesn't work since
there is none.
Egon
Bhuvan A wrote:
> Hi,
>
> I have pg7.3.1 in my PC and pg7.2.3 in another machine. While i tried psql
> pg7.2.3 from pg7.3.1 machine, it reports
>
> ERROR: parser: parse error at or near "."
>
> But still, it established the connection. Then it was found that i was
> unable to execute any of the forward slash (\) commands from that version
> of psql. It reports similar error for every forward slash (\) commands.
>
> Does it due to the fact that psql of 7.3.1 has more features than 7.2.3
> does? How can i overcome this problem? Does using 7.2.3 or 7.3.1 on both
> machines the only way?
>
> Sample test:
>
> $ psql -V
> psql (PostgreSQL) 7.3.1
> contains support for command-line editing
> [bhuvan@Bhuvan bhuvan]$ psql -hdbserver test_db test_db
> Password:
> ERROR: parser: parse error at or near "."
> Welcome to psql 7.3.1, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help on internal slash commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> SSL connection (cipher: DES-CBC3-SHA, bits: 168)
>
> test_db=> \dt
> ERROR: parser: parse error at or near "."
> test_db=> SELECT version();
> version
> -------------------------------------------------------------
> PostgreSQL 7.2.3 on i686-pc-linux-gnu, compiled by GCC 2.96
> (1 row)
>
> test_db=>
>
> regards,
> bhuvaneswaran
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
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: reetz@usco.de, bhuvansql@myrealbox.com
Subject: Re: psql to 7.2.3 from 7.3.1
In-Reply-To: <3E0D7785.88059A7A@usco.de>
References: <Pine.LNX.4.44.0212281513260.3297-100000@Bhuvan.bksys.co.in> <3E0D7785.88059A7A@usco.de>
* 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