| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Lorenzo Thurman <lorenzo(at)thethurmans(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: pg_dump fails |
| Date: | 2005-04-18 21:46:05 |
| Message-ID: | 26163.1113860765@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Lorenzo Thurman <lorenzo(at)thethurmans(dot)com> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2005-04-18 22:06:32 | Re: PostgreSQL Database cluster with multiple different locale |
| Previous Message | Tom Lane | 2005-04-18 21:42:05 | Re: Plpgsql function with unknown number of args |