Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression
| От | Peter Eisentraut |
|---|---|
| Тема | Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression |
| Дата | |
| Msg-id | 3fc03672-5437-713b-b49e-d2e93779dc96@2ndquadrant.com обсуждение |
| Ответ на | Re: [BUGS] Concurrent ALTER SEQUENCE RESTART Regression (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-bugs |
On 6/14/17 13:58, Robert Haas wrote: > On Tue, Jun 13, 2017 at 3:04 PM, Peter Eisentraut > <peter.eisentraut@2ndquadrant.com> wrote: >> On 5/2/17 12:45, Robert Haas wrote: >>> Another thing that doesn't look so good about AlterSequence is that it >>> uses RangeVarGetRelid() instead of RangeVarGetsRelidExtended() with >>> RangeVarCallbackOwnsRelation or some derivative thereof. That of >>> course means you can obstruct access to a sequence you don't own. >> >> Here is a patch for this. Note that this is old code, but it seems >> worth fixing now while we're at it. > > +1. committed -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления: