Christoph Zwerschke schrieb:
Sorry, somehow I totally missed your posting. It's unusual that you have insert but not select privilege, but you're right it can happen and selecting will abort a transaction in this case. I agree that it's probably best to add a flag for suppressing the select since I see no easy way to check the select privilege in advance (since it could be obtained/inherited in some obscure indirect ways). By default, the select should be made (backward compatibility, and usually it works).
I need to correct myself. You *can* in fact find out in advance whether the select is possible, using "has_table_privilege(table, 'select')".
-- Christoph _______________________________________________ PyGreSQL mailing list [email protected] http://mailman.vex.net/mailman/listinfo/pygresql
