Re: pg_restore: [archiver (db)] could not execute query: ERROR: zero-length delimited identifier at or near """" at character 60

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Shahryar G(dot) Hashemi" <Shahryar(dot)Hashemi(at)infospace(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_restore: [archiver (db)] could not execute query: ERROR: zero-length delimited identifier at or near """" at character 60
Date: 2007-01-02 02:42:14
Message-ID: 22536.1167705734@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Shahryar G. Hashemi" <Shahryar(dot)Hashemi(at)infospace(dot)com> writes:
> pg_restore: creating ACL trig_account_password_insert()
> pg_restore: [archiver (db)] could not execute query: ERROR: zero-length
> delimited identifier at or near """" at character 60

Since 8.0, pg_dump/pg_restore have been careful to include the failing
SQL command in messages like this, but 7.x didn't always do so. You could
enable statement logging on the server to find out what the failed
command was. Offhand it looks like a quoting problem but without more
detail one can't tell.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alban Hertroys 2007-01-02 10:57:36 Re: [GENERAL] OUTER JOIN IS SLOW
Previous Message Shahryar G. Hashemi 2007-01-02 02:14:37 pg_restore: [archiver (db)] could not execute query: ERROR: zero-length delimited identifier at or near """" at character 60