0
PostgreSQL
ERROR: permission denied for relation SomeTable STATEMENT: select COLUMN1 from SomeTable where COLUMN2=5
Postgresql (as of version 9.1) only logs events with event id 0, there are no other event ids.
The message file for event id 0 shows a single insertion string: %1.