Re: missing privilege check after not-null constraint rework

2023-09-07 Thread Alvaro Herrera
On 2023-Sep-05, Alvaro Herrera wrote: > On 2023-Sep-05, Alvaro Herrera wrote: > > > Here's a fix to move the privilege check on constraint dropping from > > ATExecDropConstraint to dropconstraint_internal. I have pushed this. It's just a fixup for an embarrasing bug in b0e96f311985. -- Álvaro

Re: missing privilege check after not-null constraint rework

2023-09-05 Thread Alvaro Herrera
On 2023-Sep-05, Alvaro Herrera wrote: > Here's a fix to move the privilege check on constraint dropping from > ATExecDropConstraint to dropconstraint_internal. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "No renuncies a nada. No te aferres a nada." >From f58

missing privilege check after not-null constraint rework

2023-09-05 Thread Alvaro Herrera
Here's a fix to move the privilege check on constraint dropping from ATExecDropConstraint to dropconstraint_internal. The former doesn't recurse anymore, so there's no point in doing that or in fact even having the 'recursing' argument anymore. This fixes the following test case CREATE ROLE alic