Require superuser privilege to create a binary-compatible cast, per

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d2db166c7527552cc0ee6121fb32d11e14d36e97
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-10-04T22:08:44Z
Releases: 7.3.1
Require superuser privilege to create a binary-compatible cast, per
discussion some weeks ago.  Also, add a check that two types to be
binary-equivalenced match as to typlen, typbyval, and typalign; if
they don't then it's surely a mistake to equivalence them.

Files

PathChange+/−
doc/src/sgml/ref/create_cast.sgml modified +5 −4
src/backend/commands/functioncmds.c modified +28 −1