pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql74-plpython suggest simplier way t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dac76312a0da
branches: trunk
changeset: 481694:dac76312a0da
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sun Oct 10 12:56:31 2004 +0000
description:
suggest simplier way to enable PL/Python, using program createlang
diffstat:
databases/postgresql74-plpython/MESSAGE | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (24 lines):
diff -r 11dc9afec759 -r dac76312a0da databases/postgresql74-plpython/MESSAGE
--- a/databases/postgresql74-plpython/MESSAGE Sun Oct 10 12:38:21 2004 +0000
+++ b/databases/postgresql74-plpython/MESSAGE Sun Oct 10 12:56:31 2004 +0000
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2004/10/10 12:38:21 jdolecek Exp $
+$NetBSD: MESSAGE,v 1.2 2004/10/10 12:56:31 jdolecek Exp $
Please see the PL/Python section of the PostgreSQL Programmer's Guide
(databases/postgresql-docs) for information on programming with
@@ -10,11 +10,8 @@
access to PL/Python can run arbitrary Python code under privileges
of the PostgreSQL server process.
-To configure PostgreSQL to enable PL/Python, run this as DBA:
+To enable PL/Python for database <dbname>, run following:
-CREATE FUNCTION plpython_call_handler() RETURNS language_handler AS
- '$libdir/plpython' LANGUAGE C;
-
-CREATE PROCEDURAL LANGUAGE plpythonu HANDLER plpython_call_handler;
+createlang plpythonu <dbname>
===========================================================================
Home |
Main Index |
Thread Index |
Old Index