174
174
* transtype can't be a pseudo-type, since we need to be able to store
175
175
* values of the transtype. However, we can allow polymorphic transtype
177
177
* for functions that want to pass pointers to private data structures;
182
182
transTypeId = typenameTypeId(NULL, transType, NULL);
183
183
if (get_typtype(transTypeId) == TYPTYPE_PSEUDO &&
184
184
!IsPolymorphicType(transTypeId))
186
186
if (transTypeId == INTERNALOID && superuser())
190
190
(errcode(ERRCODE_INVALID_FUNCTION_DEFINITION),