dbTalk Databases Forums  

parser-error

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss parser-error in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ralf Bortfeldt
 
Posts: n/a

Default parser-error - 01-14-2004 , 10:35 AM






Hello pg-cracks,

Iīm connecting remote to a pgsql server and get a successful login to the
specified database xy.
I can do the basic queries BUT some of the meta-commandos donīt work.
----------------------------------------------------------
Examples:
----------------------------------------------------------
#input 1:
Quote:
xy=> \d
#to get an overview on the tables in db xy

#server response:
Quote:
ERROR: parser: parse error at or near "."
-----------------------------------------------------------
#similiar with input 2:
Quote:
xy=> \l
#to get an overview on databases on the pgsql-server
#server response:
ERROR: parser: parse error at or near "("
------------------------------------------------------------

Oddly enough, the meta-commands \q and \? do work.
Did anybody stumble about this problem or something similiarly and has an idea
how to fix it?

best regards
Ralf


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org



Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: parser-error - 01-14-2004 , 01:24 PM






Ralf Bortfeldt <bortfeldt (AT) minet (DOT) uni-jena.de> writes:
Quote:
I can do the basic queries BUT some of the meta-commandos donīt work.
psql's backslash commands tend to be version-specific. Use a psql that
matches the server you are talking to. In this case it appears you are
using a 7.3 or later psql with a pre-7.3 server.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.