Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Committers > pgsql: Require ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 17001 of 18148
Post > Topic >>

pgsql: Require superuser privilege to create base types (but not

by tgl@[EMAIL PROTECTED] (Tom Lane) Jul 31, 2008 at 04:27 PM

Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/doc/src/sgml/ref:
        create_type.sgml (r1.76 -> r1.77)
       
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/create_type.sgml?r1=1.76&r2=1.77)
    pgsql/src/backend/commands:
        typecmds.c (r1.121 -> r1.122)
       
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/typecmds.c?r1=1.121&r2=1.122)

-- 
Sent via pgsql-committers mailing list (pgsql-committers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
 




 1 Posts in Topic:
pgsql: Require superuser privilege to create base types (but not
tgl@[EMAIL PROTECTED] (T  2008-07-31 16:27:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 12:58:08 CST 2008.