File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.351 2010/08/17 04:37:20 petere Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.352 2010/09/08 20:35:51 petere Exp $ -->
2
2
3
3
<chapter id="installation">
4
4
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -1515,7 +1515,14 @@ su - postgres
1515
1515
<listitem>
1516
1516
<para>
1517
1517
Full path to the Python interpreter. This will be used to
1518
- determine the dependencies for building PL/Python.
1518
+ determine the dependencies for building PL/Python. Also,
1519
+ whether Python 2 or 3 is specified here (or otherwise
1520
+ implicitly chosen) determines which variant of the PL/Python
1521
+ language becomes available. See
1522
+ <![%standalone-include[the <application>PL/Python</>
1523
+ documentation]]>
1524
+ <![%standalone-ignore[<xref linkend="plpython-python23">]]>
1525
+ for more information.
1519
1526
</para>
1520
1527
</listitem>
1521
1528
</varlistentry>
Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.52 2010/08/05 18:36:33 petere Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.53 2010/09/08 20:35:51 petere Exp $ -->
2
2
3
3
<chapter id="plpython">
4
4
<title>PL/Python - Python Procedural Language</title>
93
93
whether PL/Python for Python 2 or Python 3 or both are available.
94
94
</para>
95
95
96
+ <tip>
97
+ <para>
98
+ The built variant depends on which Python version was found during
99
+ the installation or which version was explicitly set using
100
+ the <envar>PYTHON</envar> environment variable;
101
+ see <xref linkend="install-procedure">. To make both variants of
102
+ PL/Python available in one installation, the source tree has to be
103
+ configured and built twice.
104
+ </para>
105
+ </tip>
106
+
96
107
<para>
97
108
This results in the following usage and migration strategy:
98
109
148
159
149
160
<para>
150
161
See also the
151
- document <ulink url="http://docs.python.org/dev/3.0 /whatsnew/3.0.html">What's
162
+ document <ulink url="http://docs.python.org/py3k /whatsnew/3.0.html">What's
152
163
New In Python 3.0</ulink> for more information about porting to
153
164
Python 3.
154
165
</para>
You can’t perform that action at this time.
0 commit comments