[GENERAL] truncate table restart identity for non-owner

2016-10-17 Thread Bastien Bodart
Hi, It's currently impossible for a non-owner user to do 'TRUNCATE table RESTART IDENTITY;' even with ALL privileges on both the table and the sequences because of the implied ALTER SEQUENCE RESTART operation. Why does it work that way instead of using 'SELECT setval('foo', 1, false);' which

[GENERAL] Filters not supported for LDAP authentication

2016-09-02 Thread Bastien Bodart
Hi, Is there any reason filters are not supported for search+bind LDAP authentication? There is no option to pass a filter in search+bind mode and "ldapsearchattribute" parameter is even checked to prevent filter injection. "ldapurl" parameter is defined as an RFC 4516 LDAP URL except filters