Skip to content

Commit 1e24678

Browse files
committed
Add some information about what it means for PL/Python to be untrusted.
Similar information already appears in the PL/Perl and PL/Tcl chapters.
1 parent 51d2c9b commit 1e24678

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

doc/src/sgml/plpython.sgml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.48 2010/03/29 21:20:58 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.49 2010/03/29 21:35:59 petere Exp $ -->
22

33
<chapter id="plpython">
44
<title>PL/Python - Python Procedural Language</title>
@@ -27,11 +27,16 @@
2727

2828
<para>
2929
As of <productname>PostgreSQL</productname> 7.4, PL/Python is only
30-
available as an <quote>untrusted</> language (meaning it does not
31-
offer any way of restricting what users can do in it). It has
30+
available as an <quote>untrusted</> language, meaning it does not
31+
offer any way of restricting what users can do in it. It has
3232
therefore been renamed to <literal>plpythonu</>. The trusted
3333
variant <literal>plpython</> might become available again in future,
34-
if a new secure execution mechanism is developed in Python.
34+
if a new secure execution mechanism is developed in Python. The
35+
writer of a function in untrusted PL/Python must take care that the
36+
function cannot be used to do anything unwanted, since it will be
37+
able to do anything that could be done by a user logged in as the
38+
database administrator. Only superusers can create functions in
39+
untrusted languages such as <literal>plpythonu</literal>.
3540
</para>
3641

3742
<note>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy