~ubuntu-branches/ubuntu/hardy/gnue-common/hardy

« back to all changes in this revision

Viewing changes to src/datasources/drivers/postgresql/psycopg/Info.py

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2005-03-09 11:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20050309110631-8gvvn39q7tjz1kj6
Tags: upstream-0.5.14
ImportĀ upstreamĀ versionĀ 0.5.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This file is part of GNU Enterprise.
 
3
#
 
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.
 
8
#
 
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.
 
13
#
 
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.
 
18
#
 
19
# Copyright 2000-2005 Free Software Foundation
 
20
#
 
21
"""
 
22
Information on this driver
 
23
"""
 
24
 
 
25
#
 
26
# Notes on this driver
 
27
#
 
28
name = _("Psycopg")
 
29
url = "http://initd.org/software/initd/psycopg/"
 
30
doc = """
 
31
Description
 
32
-----------
 
33
From the Psycopg website: "It was written from scratch with the aim of
 
34
being very small and fast, and stable as a rock."  Written by initd.org
 
35
volunteers.
 
36
 
 
37
Support
 
38
-------
 
39
Supported Platforms:
 
40
 
 
41
  - Linux/BSD
 
42
  - MS Windows 98/NT/2000/XP (Installer available)
 
43
 
 
44
Connection Properties
 
45
---------------------
 
46
* host  -- This is the name of the database host, or, on Linux,
 
47
  directory containing the network socket (required)
 
48
* dbname -- This is the database to use (required)
 
49
* port -- Port that PostgreSQL is running on (defaults to 5432) (optional)
 
50
 
 
51
Examples
 
52
--------
 
53
  [myconn]
 
54
  provider=psycopg        # Use the psycopg adapter
 
55
  host=localhost          # The hostname/IP of the postgresql host
 
56
  dbname=mydb             # The name of the pg database
 
57
 
 
58
Notes
 
59
-----
 
60
1. This is the driver of choice for PostgreSQL.
 
61
 
 
62
2. Available in Debian as: "apt-get install python-psycopg".
 
63
 
 
64
3. Windows installer available at: http://stickpeople.com/projects/python/win-psycopg/.
 
65
 
 
66
4. This driver is fully functional with no known serious problems.
 
67
"""