My guess is that your client and server are from different versions.
---------------------------------------------------------------------------
pgsql-bugs@postgresql.org wrote:
> Philip R Brenan (philiprbrenan@yahoo.com) reports a bug with a severity of 2
> The lower the number the more severe it is.
>
> Short Description
> psql 7.3.2 \d , \lmeta commands on windows
>
> Long Description
> The psql 7.3.2 \d, \l meta commands running on windowsXP produces:
>
> \d
> ERROR: parser: parse error at or near "."
> \l
> ERROR: parser: parse error at or near "("
>
> The other meta commands work - so it is as if the \d, \l represent special characters not commands, but of course, we
wantcommands not special characters in this context.
>
> Sample Code
>
>
> No file was uploaded with this report
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073