10000 Upgrade to Pygress 2.2. · postgres/postgres@38f255d · GitHub
[go: up one dir, main page]

Skip to content

Commit 38f255d

Browse files
committed
Upgrade to Pygress 2.2.
1 parent 363edf0 commit 38f255d

File tree

12 files changed

+1975
-375
lines changed
  • src/interfaces/python
    • < 10000 div class="PRIVATE_TreeView-item-level-line prc-TreeView-TreeViewItemLevelLine-KPSSL">
  • 12 files changed

    +1975
    -375
    lines changed

    src/interfaces/python/Announce

    Lines changed: 37 additions & 19 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,31 +1,48 @@
    11

    2-
    Announce : Release of PyGreSQL version 2.0
    2+
    Announce: Release of PyGreSQL version 2.2
    33
    ===============================================
    44

    5-
    PyGreSQL v2.0 has been released.
    6-
    It is available at: ftp://ftp.druid.net/pub/distrib/PyGreSQL-2.0.tgz.
    5+
    PyGreSQL v2.2 has been released.
    6+
    It is available at: ftp://ftp.druid.net/pub/distrib/PyGreSQL-2.2.tgz.
    77

    8-
    PostgreSQL is a database system derived from Postgres4.2. It conforms to
    9-
    (most of) ANSI SQL and offers many interesting capabilities (C dynamic linking
    10-
    for functions or type definition, etc.). This package is copyright by the
    11-
    Regents of the University of California, and is freely distributable.
    8+
    PostgreSQL is a database system derived from Postgres4.2. It conforms
    9+
    to (most of) ANSI SQL and offers many interesting capabilities (C
    10+
    dynamic linking for functions or type definition, etc.). This package
    11+
    is copyright by the Regents of the University of California, and is
    12+
    freely distributable.
    1213

    13-
    Python is a interpretated programming langage. It is object oriented, simple
    14-
    to use (light syntax, simple and straighforward statements), and has many
    15-
    extensions for building GUIs, interfacing with WWW, etc. An intelligent web
    16-
    browser (HotJava like) is currently under development (november 1995), and
    17-
    this should open programmers many doors. Python is copyrighted by Stichting S
    18-
    Mathematisch Centrum, Amsterdam, The Netherlands, and is freely distributable.
    14+
    Python is an interpreted programming language. It is object oriented,
    15+
    simple to use (light syntax, simple and straightforward statements), and
    16+
    has many extensions for building GUIs, interfacing with WWW, etc. An
    17+
    intelligent web browser (HotJava like) is currently under development
    18+
    (November 1995), and this should open programmers many doors. Python is
    19+
    copyrighted by Stichting S Mathematisch Centrum, Amsterdam, The
    20+
    Netherlands, and is freely distributable.
    1921

    2022
    PyGreSQL is a python module that interfaces to a PostgreSQL database. It
    2123
    embeds the PostgreSQL query library to allow easy use of the powerful
    2224
    PostgreSQL features from a Python script.
    2325

    24-
    PyGreSQL 2.0 was developed and tested on a NetBSD 1.3_BETA system. It is
    25-
    based on the PyGres95 code written by Pascal Andre, andre@chimay.via.ecp.fr.
    26-
    I changed the version to 2.0 and updated the code for Python 1.5 and
    27-
    PostgreSQL 6.2.1. While I was at it I upgraded the code to use full ANSI
    28-
    style prototypes and changed the order of arguments to connect.
    26+
    PyGreSQL 2.2 was developed and tested on a NetBSD 1.3_BETA system. It
    27+
    is based on the PyGres95 code written by Pascal Andre,
    28+
    andre@chimay.via.ecp.fr. I changed the version to 2.0 and updated the
    29+
    code for Python 1.5 and PostgreSQL 6.2.1. While I was at it I upgraded
    30+
    the code to use full ANSI style prototypes and changed the order of
    31+
    arguments to connect. Later versions are fixes and enhancements to that.
    32+
    33+
    Important changes from PyGreSQL 2.1 to PyGreSQL 2.2:
    34+
    - Added user and password support thanks to Ng Pheng Siong <ngps@post1.com>
    35+
    - Insert queries return the inserted oid
    36+
    - Add new pg wrapper (C module renamed to _pg)
    37+
    - Wrapped database connection in a class.
    38+
    - Cleaned up some of the tutorial. (More work needed.)
    39+
    - Added version and __version__. Thanks to thilo@eevolute.com for
    40+
    the suggestion.
    41+
    42+
    Important changes from PyGreSQL 2.0 to PyGreSQL 2.1:
    43+
    - return fields as proper Python objects for field type
    44+
    - Cleaned up pgext.py
    45+
    - Added dictresult method
    2946

    3047
    Important changes from Pygres95 1.0b to PyGreSQL 2.0:
    3148
    - Updated code for PostgreSQL 6.2.1 and Python 1.5.
    @@ -36,7 +53,8 @@ Important changes from Pygres95 1.0b to PyGreSQL 2.0:
    3653
    - Added a print function for pgqueryobject
    3754
    - Various code changes - mostly stylistic.
    3855

    39-
    For more information about each package, please have a look to their web pages:
    56+
    For more information about each package, please have a look to their
    57+
    web pages:
    4058
    - Python : http://www.python.org/
    4159
    - PostgreSQL : http://www.PostgreSQL.org/
    4260
    - PyGreSQL : http://www.druid.net/pygresql/

    src/interfaces/python/ChangeLog

    Lines changed: 20 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -2,30 +2,48 @@ PyGreSQL changelog.
    22
    ===================
    33

    44
    This software is copyright (c) 1995, Pascal Andre (andre@via.ecp.fr)
    5-
    Further copyright 1997 by D'Arcy J.M. Cain (darcy@druid.net)
    5+
    Further copyright 1997, 1998 by D'Arcy J.M. Cain (darcy@druid.net)
    66
    See file README for copyright information.
    77

    8+
    Version 2.2
    9+
    - Added user and password support thanks to Ng Pheng Siong <ngps@post1.com>
    10+
    - Insert queries return the inserted oid
    11+
    - Add new pg wrapper (C modile renamed to _pg)
    12+
    - Wrapped database connection in a class.
    13+
    - Cleaned up some of the tutorial. (More work needed.)
    14+
    - Added version and __version__. Thanks to thilo@eevolute.com for
    15+
    the suggestion.
    16+
    17+
    Version 2.1
    18+
    - return fields as proper Python objects for field type
    19+
    - Cleaned up pgext.py
    20+
    - Added dictresult method
    21+
    822
    Version 2.0 (23/12/1997):
    923
    - updated code for PostgreSQL 6.2.1 and Python 1.5
    1024
    - reformatted code and converted to ANSI
    1125
    - Changed name to PyGreSQL (from PyGres95)
    1226
    - changed order of arguments to connect function
    1327
    - Created new type pgqueryobject and moved certain methods to it.
    1428
    - Added a print function for pgqueryobject
    29+
    1530
    Version 1.0b (4/11/1995):
    1631
    - keyword support for connect function moved from library file to C code
    1732
    and taken away from library.
    1833
    - rewrote documentation
    1934
    - bug fix in connect function
    2035
    - enhancements in large objects interface methods
    36+
    2137
    Version 1.0a (30/10/1995) (limited release):
    2238
    - module adapted to standard Python syntax
    2339
    - keyword support for connect function in library file
    2440
    - rewrote default parameters interface (internal use of strings)
    2541
    - fixed minor bugs in module interface
    2642
    - redefinition of error messages
    43+
    2744
    Version 0.9b (10/10/1995) (first public release):
    2845
    - large objects implementation
    29-
    - many bug fixes, enhancments, ...
    46+
    - many bug fixes, enhancements, ...
    47+
    3048
    Version 0.1a (7/10/1995):
    3149
    - basic libpq functions (SQL access)

    0 commit comments

    Comments
     (0)
    0