aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/pgmodule.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-06-10 18:02:12 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-06-10 18:02:12 +0000
commit6de89c9ab78a557f98dc02dca97795d27a4112d2 (patch)
tree4b1a26308ed5013424b39847f0c7b2aad355e606 /src/interfaces/python/pgmodule.c
parent2ae20ef98a94c6a0f77e6358ae756cc02f29e921 (diff)
downloadpostgresql-6de89c9ab78a557f98dc02dca97795d27a4112d2.tar.gz
postgresql-6de89c9ab78a557f98dc02dca97795d27a4112d2.zip
Moved the intricacies of the perl interface build into its own makefile
that now functions as a wrapper around the MakeMaker stuff. It might even behave sensically when we have separate build dirs. Same for plperl, which of course still doesn't work very well. Made sure that plperl respects the choice of --libdir. Added --with-python to automatically build and install the Python interface. Works similarly to the Perl5 stuff. Moved the burden of the distclean targets lower down into the source tree. Eventually, each make file should have its own. Added automatic remaking of makefiles and configure. Currently only for the top-level because of a bug(?) in Autoconf. Use GNU `missing' to work around missing autoconf and aclocal. Start factoring out macros into their own config/*.m4 files to increase readability and organization.
Diffstat (limited to 'src/interfaces/python/pgmodule.c')
-rw-r--r--src/interfaces/python/pgmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/python/pgmodule.c b/src/interfaces/python/pgmodule.c
index 03424b805c2..967ac536008 100644
--- a/src/interfaces/python/pgmodule.c
+++ b/src/interfaces/python/pgmodule.c
@@ -680,7 +680,7 @@ static char connect__doc__[] =
static PyObject *
pgconnect(pgobject * self, PyObject * args, PyObject * dict)
{
- static const char *kwlist[] = {"dbname", "host", "port", "opt",
+ static char *kwlist[] = {"dbname", "host", "port", "opt",
"tty", "user", "passwd", NULL};
char *pghost,
*pgopt,