Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1125c5e

Browse files
committed
Add python
1 parente55213a commit1125c5e

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

‎src/interfaces/python/Announce

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
2+
Announce: Release of PyGreSQL version 2.3
3+
===============================================
4+
5+
PyGreSQL v2.3 has been released.
6+
It is available at: ftp://ftp.druid.net/pub/distrib/PyGreSQL.tgz. If
7+
you are on NetBSD, look in the packages directory under databases. If
8+
it isn't there yet, it should be there shortly. You can also pick up the
9+
package files from ftp://ftp.druid.net/pub/distrib/pygresql.pkg.tgz.
10+
There is also a package in the FreeBSD ports collection but as I write
11+
this it is at version 2.1. I will try to get that updated as well.
12+
13+
PostgreSQL is a database system derived from Postgres4.2. It conforms
14+
to (most of) ANSI SQL and offers many interesting capabilities (C
15+
dynamic linking for functions or type definition, etc.). This package
16+
is copyright by the Regents of the University of California, and is
17+
freely distributable.
18+
19+
Python is an interpreted programming language. It is object oriented,
20+
simple to use (light syntax, simple and straightforward statements), and
21+
has many extensions for building GUIs, interfacing with WWW, etc. An
22+
intelligent web browser (HotJava like) is currently under development
23+
(November 1995), and this should open programmers many doors. Python is
24+
copyrighted by Stichting S Mathematisch Centrum, Amsterdam, The
25+
Netherlands, and is freely distributable.
26+
27+
PyGreSQL is a python module that interfaces to a PostgreSQL database. It
28+
embeds the PostgreSQL query library to allow easy use of the powerful
29+
PostgreSQL features from a Python script.
30+
31+
I wanted to have DB-SIG API support in the next release but there are
32+
enough fixes and improvements to make one more release before starting
33+
on that. The next version will be 3.0 and have the DB-SIG API support.
34+
35+
PyGreSQL 2.3 was developed and tested on a NetBSD 1.3_BETA system. It
36+
is based on the PyGres95 code written by Pascal Andre,
37+
andre@chimay.via.ecp.fr. I changed the version to 2.0 and updated the
38+
code for Python 1.5 and PostgreSQL 6.2.1. While I was at it I upgraded
39+
the code to use full ANSI style prototypes and changed the order of
40+
arguments to connect. Later versions are fixes and enhancements to that.
41+
42+
Important changes from PyGreSQL 2.2 to PyGreSQL 2.3:
43+
- connect.host returns "localhost" when connected to Unix socket
44+
(torppa@tuhnu.cutery.fi)
45+
- Use PyArg_ParseTupleAndKeywords in connect() (torppa@tuhnu.cutery.fi)
46+
- fixes and cleanups (torppa@tuhnu.cutery.fi)
47+
- Fixed memory leak in dictresult() (terekhov@emc.com)
48+
- Deprecated pgext.py - functionality now in pg.py
49+
- More cleanups to the tutorial
50+
- Added fileno() method - terekhov@emc.com (Mikhail Terekhov)
51+
- added money type to quoting function
52+
- Compiles cleanly with more warnings turned on
53+
- Returns PostgreSQL error message on error
54+
- Init accepts keywords (Jarkko Torppa)
55+
- Convenience functions can be overridden (Jarkko Torppa)
56+
- added close() method
57+
58+
Important changes from PyGreSQL 2.1 to PyGreSQL 2.2:
59+
- Added user and password support thanks to Ng Pheng Siong <ngps@post1.com>
60+
- Insert queries return the inserted oid
61+
- Add new pg wrapper (C module renamed to _pg)
62+
- Wrapped database connection in a class.
63+
- Cleaned up some of the tutorial. (More work needed.)
64+
- Added version and __version__. Thanks to thilo@eevolute.com for
65+
the suggestion.
66+
67+
Important changes from PyGreSQL 2.0 to PyGreSQL 2.1:
68+
- return fields as proper Python objects for field type
69+
- Cleaned up pgext.py
70+
- Added dictresult method
71+
72+
Important changes from Pygres95 1.0b to PyGreSQL 2.0:
73+
- Updated code for PostgreSQL 6.2.1 and Python 1.5.
74+
- Reformatted code and converted to ANSI .
75+
- Changed name to PyGreSQL (from PyGres95.)
76+
- Changed order of arguments to connect function.
77+
- Created new type pgqueryobject and moved certain methods to it.
78+
- Added a print function for pgqueryobject
79+
- Various code changes - mostly stylistic.
80+
81+
For more information about each package, please have a look to their
82+
web pages:
83+
- Python : http://www.python.org/
84+
- PostgreSQL : http://www.PostgreSQL.org/
85+
- PyGreSQL : http://www.druid.net/pygresql/
86+
87+
88+
D'Arcy J.M. Cain
89+
darcy@druid.net
90+
91+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp