OSDN Git Service

Require superuser privilege to create a binary-compatible cast, per
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 Oct 2002 22:08:44 +0000 (22:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 Oct 2002 22:08:44 +0000 (22:08 +0000)
commitd2db166c7527552cc0ee6121fb32d11e14d36e97
tree0f35f6fe990922ffd7c0ce68f746e4ef709872ac
parent04c57d68ce391847d6db9c3f96eaca365e296105
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.
doc/src/sgml/ref/create_cast.sgml
src/backend/commands/functioncmds.c