2
# This file is part of GNU Enterprise.
4
# GNU Enterprise is free software; you can redistribute it
5
# and/or modify it under the terms of the GNU General Public
6
# License as published by the Free Software Foundation; either
7
# version 2, or(at your option) any later version.
9
# GNU Enterprise is distributed in the hope that it will be
10
# useful, but WITHOUT ANY WARRANTY; without even the implied
11
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
# PURPOSE. See the GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public
15
# License along with program; see the file COPYING. If not,
16
# write to the Free Software Foundation, Inc., 59 Temple Place
17
# - Suite 330, Boston, MA 02111-1307, USA.
19
# Copyright 2000-2005 Free Software Foundation
22
Information on this driver
26
# Notes on this driver
29
url = "http://druid.net/pygresql/"
33
PyGreSQL is the PostgreSQL-Python driver available via PostgreSQL's CVS tree.
34
It is compliant to Python's DB-API 2.0.
44
* host -- This is the name of the database host, or, on Linux,
45
directory containing the network socket (required)
46
* dbname -- This is the database to use (required)
47
* port -- Port that PostgreSQL is running on (defaults to 5432) (optional)
52
provider=pygresql # Use the pygresql adapter
53
host=localhost # The hostname/IP of the postgresql host
54
dbname=mydb # The name of the pg database
58
1. The developers of GNUe have had mixed results with the PygreSQL driver
59
and generally recommend one of the others.