pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[Postgresql Master Branch Patch] object class patch
3+ messages / 3 participants
[nested] [flat]

* [Postgresql Master Branch Patch] object class patch
@ 2015-07-12 12:21 Jaimin Pan <jaimin.pan@gmail.com>
  2015-07-13 04:12 ` Re: [Postgresql Master Branch Patch] object class patch Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jaimin Pan @ 2015-07-12 12:21 UTC (permalink / raw)
  To: pgsql-bugs@postgresql.org

Hi all,

There is missing mapping for TransformRelationId and OCLASS_TRANSFORM in
object_classes.

Please check if it need fix.

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Attachments:

object_classes.patch (application/octet-stream, 541B) download diff --git a/src/backend/catalog/dependency.c b/src/backend/catalog/dependency.c index c1212e9..2063801 100644 --- a/src/backend/catalog/dependency.c +++ b/src/backend/catalog/dependency.c @@ -158,7 +158,8 @@ static const Oid object_classes[MAX_OCLASS] = { DefaultAclRelationId, /* OCLASS_DEFACL */ ExtensionRelationId, /* OCLASS_EXTENSION */ EventTriggerRelationId, /* OCLASS_EVENT_TRIGGER */ - PolicyRelationId /* OCLASS_POLICY */ + PolicyRelationId, /* OCLASS_POLICY */ + TransformRelationId /* OCLASS_TRANSFORM */ };
^ permalink raw reply [nested|flat] 3+ messages in thread

* Re: [Postgresql Master Branch Patch] object class patch
  2015-07-12 12:21 [Postgresql Master Branch Patch] object class patch Jaimin Pan <jaimin.pan@gmail.com>
@ 2015-07-13 04:12 ` Michael Paquier <michael.paquier@gmail.com>
  2015-07-18 15:14   ` Re: [Postgresql Master Branch Patch] object class patch Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Michael Paquier @ 2015-07-13 04:12 UTC (permalink / raw)
  To: Jaimin Pan <jaimin.pan@gmail.com>; +Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>

On Sun, Jul 12, 2015 at 9:21 PM, Jaimin Pan <jaimin.pan@gmail.com> wrote:
> There is missing mapping for TransformRelationId and OCLASS_TRANSFORM in
> object_classes.
>
> Please check if it need fix.

Right. This has been forgotten in ad89a5d.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [Postgresql Master Branch Patch] object class patch
  2015-07-12 12:21 [Postgresql Master Branch Patch] object class patch Jaimin Pan <jaimin.pan@gmail.com>
  2015-07-13 04:12 ` Re: [Postgresql Master Branch Patch] object class patch Michael Paquier <michael.paquier@gmail.com>
@ 2015-07-18 15:14   ` Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Alvaro Herrera @ 2015-07-18 15:14 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; +Cc: Jaimin Pan <jaimin.pan@gmail.com>; PostgreSQL mailing lists <pgsql-bugs@postgresql.org>

Michael Paquier wrote:
> On Sun, Jul 12, 2015 at 9:21 PM, Jaimin Pan <jaimin.pan@gmail.com> wrote:
> > There is missing mapping for TransformRelationId and OCLASS_TRANSFORM in
> > object_classes.
> >
> > Please check if it need fix.
> 
> Right. This has been forgotten in ad89a5d.

But see
https://www.postgresql.org/message-id/CA+Tgmoa6SgDaxW_n_7SEhwBAc=mniYga+obUj5fmw4rU9_mLvA@mail.gmail...

We should really have some mechanism to detect when this is missed,
because it evidently is very easy to miss.  Did anyone review Jim's
patch?

-- 
Álvaro Herrera                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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-07-18 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-12 12:21 [Postgresql Master Branch Patch] object class patch Jaimin Pan <jaimin.pan@gmail.com>
2015-07-13 04:12 ` Michael Paquier <michael.paquier@gmail.com>
2015-07-18 15:14   ` Alvaro Herrera <alvherre@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox