Tony Day <tonyd(at)panztel(dot)com> writes:
> I am not sure what you mean by "complete query logs" but I do have a 1.3G
> Postgresql log file from the day in question.
> Is there a particular way that a "write-preventing lock" will be logged that
> I can search for in that file?
Well, other than an explicit LOCK TABLE, it'd be some sort of DDL action
on the table. CREATE INDEX, ALTER TABLE, that sort of thing. I'd try
grepping the query log for the table name and then filtering out the
easy select/insert/update/delete stuff.
regards, tom lane