DefineType: return base type OID, not its array

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 832a12f65e91d4295be73e26079aa8508de0cf32
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2014-08-25T19:32:26Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/backend/commands/typecmds.c modified +31 −31