diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-31 16:27:16 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-31 16:27:16 +0000 |
commit | 7bd7b2002bd018e25d024322c983e856237a50d9 (patch) | |
tree | 9fbfc35e44f40e0a06feaf50b4b15725007ee073 /src/backend/parser/parse_clause.c | |
parent | c8572986ad138142acbf3215bb14214926e25ce5 (diff) | |
download | postgresql-7bd7b2002bd018e25d024322c983e856237a50d9.tar.gz postgresql-7bd7b2002bd018e25d024322c983e856237a50d9.zip |
Require superuser privilege to create base types (but not composites, enums,
or domains). This was already effectively required because you had to own
the I/O functions, and the I/O functions pretty much have to be written in
C since we don't let PL functions take or return cstring. But given the
possible security consequences of a malicious type definition, it seems
prudent to enforce superuser requirement directly. Per recent discussion.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions