Skip to content

Commit 46ee42b

Browse files
committed
Add note that using PL/Python 2 and 3 in the same session will probably crash
1 parent 5acd417 commit 46ee42b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

doc/src/sgml/plpython.sgml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.49 2010/03/29 21:35:59 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.50 2010/07/06 21:37:31 petere Exp $ -->
22

33
<chapter id="plpython">
44
<title>PL/Python - Python Procedural Language</title>
@@ -152,6 +152,15 @@
152152
New In Python 3.0</ulink> for more information about porting to
153153
Python 3.
154154
</para>
155+
156+
<para>
157+
On most (possibly all) platforms, it is not possible to use
158+
PL/Python based on Python 2 and PL/Python based on Python 3 in the
159+
same session, because the symbols in the dynamic modules will
160+
clash, which will result in crashes of the PostgreSQL server
161+
process. It is possible, however, to use both PL/Python variants
162+
in the same database, from separate sessions.
163+
</para>
155164
</sect1>
156165

157166
<sect1 id="plpython-funcs">

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