Search Postgresql Archives

Re: pg_dump fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lorenzo Thurman <lorenzo@xxxxxxxxxxxxxxx> writes:
> pg_dump: Error message from server: ERROR:  did not find '}' at end of 
> input node
> pg_dump: The command was: SELECT (SELECT usename FROM pg_user WHERE 
> usesysid = datdba) as dba, pg_encoding_to_char(encoding) as encoding, 
> datpath FROM pg_database WHERE datname = 'printstats'

This suggests that there's something wrong with the pg_user view ---
specifically, that the stored view rule isn't in the format that the
backend expects.

I don't recall ever having seen that error in the field, only in
development builds that someone had been sloppy about fully rebuilding
after a CVS update (so that the code inside the server wasn't fully
self-consistent).  Where did you get your postgres executable from,
exactly?

Also, does "select * from pg_user" provoke the same error in every
database of your installation, or only this one?  If the latter,
it could be a data-corruption kind of problem.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux