Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e24678

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 parent51d2c9b commit1e24678

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)

[8]ページ先頭

©2009-2025 Movatter.jp