DefineType: return base type OID, not its array
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Aug 2014 19:32:26 +0000 (15:32 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Aug 2014 19:32:26 +0000 (15:32 -0400)
commit832a12f65e91d4295be73e26079aa8508de0cf32
treed31b39f35b603c34f072bf32c619397f74448e8a
parent301fcf33eb7fcbcf1da113dabeed90b8eaf656eb
DefineType: return base type OID, not its array

Event triggers want to know the OID of the interesting object created,
which is the main type.  The array created as part of the operation is
just a subsidiary object which is not of much interest.
src/backend/commands/typecmds.c