From: Tom Lane <tgl@sss.pgh.pa.us>
To: Shahryar G. Hashemi <Shahryar.Hashemi@infospace.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore: [archiver (db)] could not execute query: ERROR: zero-length delimited identifier at or near """" at character 60
Date: Mon, 01 Jan 2007 21:42:14 -0500
Message-ID: <22536.1167705734@sss.pgh.pa.us> (raw)
In-Reply-To: <8459AE1CDB7A0441A1ED87C375891E4602DB7A92@EXCHIS5BV.inspinc.ad>
References: <8459AE1CDB7A0441A1ED87C375891E4602DB7A92@EXCHIS5BV.inspinc.ad>
"Shahryar G. Hashemi" <Shahryar.Hashemi@infospace.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Shahryar.Hashemi@infospace.com
Subject: Re: pg_restore: [archiver (db)] could not execute query: ERROR: zero-length delimited identifier at or near """" at character 60
In-Reply-To: <22536.1167705734@sss.pgh.pa.us>
References: <8459AE1CDB7A0441A1ED87C375891E4602DB7A92@EXCHIS5BV.inspinc.ad> <22536.1167705734@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox