CVS log for pkgsrc/databases/py-postgresql/Makefile
Up to [cvs.NetBSD.org] / pkgsrc / databases / py-postgresql
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Dec 30 21:08:53 2023 UTC (2 years, 10 months ago) by zafer
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
HEAD
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -2
lines
https
Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Dec 15 13:48:12 2023 UTC (2 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base,
pkgsrc-2023Q4
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -2
lines
*: reset MAINTAINER/OWNER for inactive developer
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:52:43 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -1
lines
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue May 21 19:46:39 2019 UTC (7 years, 5 months ago) by david
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -2
lines
Update to PyGreSQL version 5.1 (commit on behalf of darcy@)
Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Dec 10 15:11:14 2018 UTC (7 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +12 -18
lines
py-postgresql: updated to 5.0.6
Vesion 5.0.6:
This version officially supports the new Python 3.7.
Correct trove classifier for the PostgreSQL License.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Apr 29 13:50:52 2018 UTC (8 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2
lines
py-postgresql: update to 5.0.5.
Version 5.0.5 (2018-04-25)
------------------------------
- This version officially supports the new PostgreSQL 10.
- The memory for the string with the number of rows affected by a classic pg
module query() was already freed (bug report and fix by Peifeng Qiu).
Ok OWNER.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Aug 15 12:22:06 2017 UTC (9 years, 3 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2
lines
Version 5.0.4 (2017-07-23)
--------------------------
- This version officially supports the new Python 3.6 and PostgreSQL 9.6.
- query_formatted() can now be used without parameters.
- The automatic renaming of columns that are invalid as field names of
named tuples now works more accurately in Python 2.6 and 3.0.
- Fixed error checks for unlink() and export() methods of large objects
(bug report by Justin Pryzby).
- Fixed a compilation issue under OS X (bug report by Josh Johnston).
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Dec 11 11:25:52 2016 UTC (9 years, 11 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -3
lines
Upgrade to 5.0.3.
- It is now possible to use a custom array cast function by changing
the type caster for the 'anyarray' type. For instance, by calling
set_typecast('anyarray', lambda v, c: v) you can have arrays returned
as strings instead of lists. Note that in the pg module, you can also
call set_array(False) in order to return arrays as strings.
- The namedtuple classes used for the rows of query results are now cached
and reused internally, since creating namedtuples classes in Python is a
somewhat expensive operation. By default the cache has a size of 1024
entries, but this can be changed with the set_row_factory_size() function.
In certain cases this change can notably improve the performance.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Oct 9 21:41:57 2016 UTC (10 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -1
lines
Recursive bump for all users of pgsql now that the default is 95.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Sep 13 23:59:37 2016 UTC (10 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base,
pkgsrc-2016Q3
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -7
lines
Updated py-postgresql to 5.0.2.
Ok from OWNER, darcy.
Version 5.0.2 (2016-09-08)
--------------------------
- Fixed an infinite recursion problem in the DB wrapper class of the classic
module that could occur when the underlying connection could not be properly
opened (bug report by Justin Pryzby).
Version 5.0.1 (2016-08-18)
--------------------------
- The update() and delete() methods of the DB wrapper now use the OID instead
of the primary key if both are provided. This restores backward compatibility
with PyGreSQL 4.x and allows updating the primary key itself if an OID exists.
- The connect() function of the DB API 2.0 module now accepts additional keyword
parameters such as "application_name" which will be passed on to PostgreSQL.
- PyGreSQL now adapts some queries to be able to access older PostgreSQL 8.x
databases (as suggested on the mailing list by Andres Mejia). However, these
old versions of PostgreSQL are not officially supported and tested any more.
- Fixed an issue with Postgres types that have an OID >= 0x80000000 (reported
on the mailing list by Justin Pryzby).
- Allow extra values that are not used in the command in the parameter dict
passed to the query_formatted() method (as suggested by Justin Pryzby).
- Improved handling of empty arrays in the classic module.
- Unused classic connections were not properly garbage collected which could
cause memory leaks (reported by Justin Pryzby).
- Made C extension compatible with MSVC 9 again (this was needed to compile for
Python 2 on Windows).
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Mar 23 21:51:25 2016 UTC (10 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -2
lines
Set DIST_SUBDIR.
The previous commit replaced the distfile with a new one with the same
name. In pkgsrc, we have rules for that; apply them.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Mar 23 16:30:12 2016 UTC (10 years, 7 months ago) by darcy
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -1
lines
The distribution had the wrong tar file. Fixed checksums for correct one.
Bumped PKGREVISION in case anyone already built the wrong one.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Mar 20 22:01:22 2016 UTC (10 years, 7 months ago) by darcy
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -4
lines
Release 5.0 of PyGreSQL.
The biggest change here is Python 3.x compatibility. Other changes are too
numerous to list. See http://www.pygresql.org/ for all the changes.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Feb 18 18:38:38 2016 UTC (10 years, 8 months ago) by darcy
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -6
lines
Upgrade to 4.2.1.
Minor documentation and installation fixes.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Jan 22 19:57:05 2016 UTC (10 years, 9 months ago) by darcy
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -15
lines
Documentation is via the web.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jan 22 19:53:59 2016 UTC (10 years, 9 months ago) by darcy
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2
lines
The distribution file was listed incorrectly. This is the correct one.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Jan 21 22:17:55 2016 UTC (10 years, 9 months ago) by darcy
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -4
lines
Update to version 4.2.
This is the last version before adding support for Python 3.x. Only bug
fixes will be added to this branch. From the changelog:
Version 4.2
-----------
- The supported Python versions are 2.4 to 2.7.
- PostgreSQL is supported in all versions from 8.3 to 9.5.
- Set a better default for the user option "escaping-funcs".
- Force build to compile with no errors.
- New methods get_parameters() and set_parameters() in the classic interface
which can be used to get or set run-time parameters.
- New method truncate() in the classic interface that can be used to quickly
empty a table or a set of tables.
- Fix decimal point handling.
- Add option to return boolean values as bool objects.
- Add option to return money values as string.
- get_tables() does not list information schema tables any more.
- Fix notification handler (Thanks Patrick TJ McPhee).
- Fix a small issue with large objects.
- Minor improvements in the NotificationHandler.
- Converted documentation to Sphinx and added many missing parts.
- The tutorial files have become a chapter in the documentation.
- Greatly improved unit testing, tests run with Python 2.4 to 2.7 again.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Dec 5 21:25:32 2015 UTC (10 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2
lines
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri May 9 07:36:57 2014 UTC (12 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -2
lines
Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Mar 5 11:14:00 2014 UTC (12 years, 8 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -1
lines
Allow PyGreSQL to work with PostgreSQL < 9.0.
PR: pkg/48567
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jan 25 10:29:59 2014 UTC (12 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3
lines
Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Jan 8 15:09:59 2013 UTC (13 years, 10 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
Upgrade to version 4.1.1
Mainly a bug fix. Also adds a preplacement for the functionality of
databases/py-pgnotify which no longer works with new versions of
PyGreSQL and PostgreSQL.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Jan 3 16:56:22 2013 UTC (13 years, 10 months ago) by darcy
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -2
lines
Fix hard coded PLIST entries. Thanks Ryo ONODERA.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jan 3 13:58:35 2013 UTC (13 years, 10 months ago) by darcy
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4
lines
Upgrade to version 4.1.
Changes since 4.0:
- Dropped support for Python below 2.5 and PostgreSQL below 8.3.
- Added support for Python up to 2.7 and PostgreSQL up to 9.2.
- Particularly, support PQescapeLiteral() and PQescapeIdentifier().
- The query method of the classic API now supports positional parameters.
This an effective way to pass arbitrary or unknown data without worrying
about SQL injection or syntax errors (contribution by Patrick TJ McPhee).
- The classic API now supports a method namedresult() in addition to
getresult() and dictresult(), which returns the rows of the result
as named tuples if these are supported (Python 2.6 or higher).
- The classic API has got the new methods begin(), commit(), rollback(),
savepoint() and release() for handling transactions.
- Both classic and DBAPI 2 connections can now be used as context
managers for encapsulating transactions.
- The execute() and executemany() methods now return the cursor object,
so you can now write statements like "for row in cursor.execute(...)"
(as suggested by Adam Frederick).
- Binary objects are now automatically escaped and unescaped.
- Bug in money quoting fixed. Amounts of $0.00 handled correctly.
- Proper handling of date and time objects as input.
- Proper handling of floats with 'nan' or 'inf' values as input.
- Fixed the set_decimal() function.
- All DatabaseError instances now have a sqlstate attribute.
- The getnotify() method can now also return payload strings (#15).
- Better support for notice processing with the new methods
set_notice_receiver() and get_notice_receiver()
(as suggested by Michael Filonenko, see #12 and #37).
- Open transactions are rolled back when pgdb connections are closed
(as suggested by Peter Harris, see #46).
- Connections and cursors can now be used with the "with" statement
(as suggested by Peter Harris, see #46).
- New method use_regtypes() that can be called to let getattnames()
return regular type names instead of the simplified classic types (#44).
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Oct 2 21:25:49 2012 UTC (14 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -3
lines
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Aug 5 10:02:11 2012 UTC (14 years, 3 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base,
pkgsrc-2012Q3
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -2
lines
Bump PKGREVISION for change of PostgreSQL default version to 9.1.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Jun 9 09:41:05 2012 UTC (14 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2012Q2-base,
pkgsrc-2012Q2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2
lines
Replace python interpreter in two files. Bump PKGREVISION.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Apr 8 19:08:48 2012 UTC (14 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -3
lines
Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Feb 24 02:19:05 2012 UTC (14 years, 8 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2
lines
Location of distribution file has changed.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Sep 29 12:53:58 2011 UTC (15 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2
lines
Remove Python 2.3 from the list of supported versions
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Aug 27 22:06:31 2011 UTC (15 years, 2 months ago) by darcy
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -1
lines
PyGreSQL doesn't work on Python 3 yet.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Feb 10 19:34:06 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1
lines
Bump revision for change of PostgreSQL default version.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Sep 7 19:02:13 2009 UTC (17 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -2
lines
Retire Python 2.3 support.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Mar 18 18:37:59 2009 UTC (17 years, 8 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
Change MAINTAINER to OWNER on some of my packages.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Mar 5 18:51:28 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -2
lines
Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jan 1 13:21:44 2009 UTC (17 years, 10 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -6
lines
Upgrade to 4.0. This is a major release and may risk some backwards
incompatibilities. Here are the major changes.
- Dropped support for Python below 2.3 and PostgreSQL below 7.4.
- Improved performance of fetchall() for large result sets
by speeding up the type casts (as suggested by Peter Schuller).
- Exposed exceptions as attributes of the connection object.
- Exposed connection as attribute of the cursor object.
- Cursors now support the iteration protocol.
- Added new method to get parameter settings.
- Added customizable row_factory as suggested by Simon Pamies.
- Separated between mandatory and additional type objects.
- Added keyword args to insert, update and delete methods.
- Added exception handling for direct copy.
- Release the GIL while making a connection
(as suggested by Peter Schuller).
- If available, use decimal.Decimal for numeric types.
- Allow DB wrapper to be used with DB-API 2 connections
(as suggested by Chris Hilton).
- Made private attributes of DB wrapper accessible.
- Dropped dependence on mx.DateTime module.
- Support for PQescapeStringConn() and PQescapeByteaConn();
these are now also used by the internal _quote() functions.
- Added 'int8' to INTEGER types. New SMALLINT type.
- Added a way to find the number of rows affected by a query()
with the classic pg module by returning it as a string.
For single inserts, query() still returns the oid as an integer.
The pgdb module already provides the "rowcount" cursor attribute
for the same purpose.
- Improved getnotify() by calling PQconsumeInput() instead of
submitting an empty command.
- Removed compatibility code for old OID munging style.
- The insert() and update() methods now use the "returning" clause
if possible to get all changed values, and they also check in advance
whether a subsequent select is possible, so that ongoing transactions
won't break if there is no select privilege.
- Added "protocol_version" and "server_version" attributes.
- Revived the "user" attribute.
- The pg module now works correctly with composite primary keys;
these are represented as frozensets.
- Removed the undocumented and actually unnecessary "view" parameter
from the get() method.
- get() raises a nicer ProgrammingError instead of a KeyError
if no primary key was found.
- delete() now also works based on the primary key if no oid available
and returns whether the row existed or not.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Jun 12 02:14:20 2008 UTC (18 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -5
lines
Add DESTDIR support.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Apr 25 20:39:07 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -2
lines
Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Mar 13 17:38:48 2008 UTC (18 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2
lines
Make PostgreSQL 8.2 the default version. Bump all packages using it.
Remove PostgreSQL 8.0 as choice.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Dec 28 12:12:58 2006 UTC (19 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1
lines
Change PostgreSQL default version to 8.1 and bump revision of all
packages which have it active by default.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:41:56 2006 UTC (20 years, 2 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2006Q3-base,
pkgsrc-2006Q3
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2
lines
Rename variable MAKEFILE to MAKE_FILE.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jun 16 10:58:23 2006 UTC (20 years, 5 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base,
pkgsrc-2006Q2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +16 -12
lines
Fixed pkglint warnings.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jun 11 00:58:39 2006 UTC (20 years, 5 months ago) by darcy
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -4
lines
Update package to 3.8.1.
Mostly bug fixes from 3.8.
- Use string methods instead of deprecated string functions.
- Only use SQL-standard way of escaping quotes.
- Added the functions escape_string() and escape/unescape_bytea()
(as suggested by Charlie Dyson and Kavous Bojnourdi a long time ago).
- Reverted code in clear() method that set date to current.
- Added code for backwards compatibility in OID munging code.
- Reorder attnames tests so that "interval" is checked for before "int."
- If caller supplies key dictionary, make sure that all has a namespace.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Jun 7 12:54:55 2006 UTC (20 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1
lines
Needs Python 2.2+
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Feb 17 17:58:02 2006 UTC (20 years, 9 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base,
pkgsrc-2006Q1
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -4
lines
Update to version 3.8.
- Installed new favicon.ico from Matthew Sporleder <mspo@mspo.com>
- Replaced snprintf by PyOS_snprintf.
- Removed NO_SNPRINTF switch which is not needed any longer
- Clean up some variable names and namespace
- Add get_relations() method to get any type of relation
- Rewrite get_tables() to use get_relations()
- Use new method in get_attnames method to get attributes of views as well
- Add Binary type
- Number of rows is now -1 after executing no-result statements
- Fix some number handling
- Non-simple types do not raise an error any more
- Improvements to documentation framework
- Take into account that nowadays not every table must have an oid column
- Simplification and improvement of the inserttable() function
- Fix up unit tests
- The usual assortment of minor fixes and enhancements
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Feb 5 23:08:36 2006 UTC (20 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1
lines
Recursive revision bump / recommended bump for gettext ABI change.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Dec 5 20:50:00 2005 UTC (20 years, 11 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2005Q4-base,
pkgsrc-2005Q4
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -3
lines
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Sep 7 11:42:27 2005 UTC (21 years, 2 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base,
pkgsrc-2005Q3
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Upgrade to PyGreSQL 3.7
Important changes from PyGreSQL 3.6.2 to PyGreSQL 3.7
- Fixes to quoting function.
- Use Python datetime if mxDatetime is not available.
- Add checks for valid database connection to methods.
- Improved namespace support, handle search_path correctly.
- Removed old dust and unnessesary imports, added docstrings.
- Internal sql statements as one-liners, smoothed out ugly code.
- Major improvements in classic pg module.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun May 22 20:07:46 2005 UTC (21 years, 5 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2
lines
Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS -> USE_TOOLS
awk -> gawk
m4 -> gm4
make -> gmake
sed -> gsed
yacc -> bison
Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Apr 11 21:45:15 2005 UTC (21 years, 7 months ago) by tv
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -2
lines
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Feb 23 12:13:35 2005 UTC (21 years, 8 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2005Q1-base,
pkgsrc-2005Q1
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
Update package to 3.6.2.
The only change is to fix the handling of primary keys when using namespaces.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Dec 17 21:36:01 2004 UTC (21 years, 11 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base,
pkgsrc-2004Q4
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -2
lines
Remove unneccessary line
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Dec 16 20:37:46 2004 UTC (21 years, 11 months ago) by darcy
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Upgrade to version 3.6.
Most important change was serious bug in 3.5 that did not allow DB-API 2.0
version to work without a manual change.
Other changes:
- Better DB-API 2.0 compliance
- Exception hierarchy moved into C module and made available to both APIs
- Fix error in update method that caused false exceptions
- Moved to standard exception hierarchy in classic API
- Added new method to get transaction state
- Use proper Python constants where appropriate
- Use Python versions of strtol, etc. Allows WIN32 build
- Bug fixes and cleanups
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Aug 30 08:33:34 2004 UTC (22 years, 2 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base,
pkgsrc-2004Q3
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +23 -23
lines
Recreate files for py-postgresql. PyGreSQL has been moved back out of the
PostgreSQL tree and I have released this version that is no longer tied
to a specific version of PostgreSQL.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Aug 30 00:35:11 2004 UTC (22 years, 2 months ago) by darcy
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +29 -37
lines
Python interface to PostgreSQL 3.5
PyGreSQL is no longer in the PostgreSQL distribution so I have created
this separate package. This package should build for both 7.3 and 7.4
PostgreSQL.
Revision 1.35
Sat Jul 24 22:48:14 2004 UTC (22 years, 3 months ago) by recht
Branches: MAIN
FILE REMOVED
Changes since revision 1.34: +1 -1
lines
Delete old postgresql packages now that we have the postgresql73 ones.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jul 24 22:45:15 2004 UTC (22 years, 3 months ago) by recht
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2
lines
Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jul 22 09:16:01 2004 UTC (22 years, 4 months ago) by recht
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
add python as category
ok'd a while back at pkgsrcCon by agc and wiz
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Apr 25 13:54:07 2004 UTC (22 years, 6 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base,
pkgsrc-2004Q2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4
lines
bl3ify
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Mar 26 02:27:37 2004 UTC (22 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2004Q1-base,
pkgsrc-2004Q1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Feb 6 19:04:24 2004 UTC (22 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value. This
avoids breakage when executing the just-in-time su targets.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jan 20 14:11:50 2004 UTC (22 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -1
lines
Remove USE_BUILDLINK2 from Makefile.common and distribute the setting to
all of the package Makefiles that include Makefile.common.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Aug 18 10:09:50 2003 UTC (23 years, 3 months ago) by drochner
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base,
pkgsrc-2003Q4
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
lines
cosmetics: use ${PYSITELIB}
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Jul 17 21:28:55 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2
lines
s/netbsd.org/NetBSD.org/
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Apr 3 18:06:14 2003 UTC (23 years, 7 months ago) by toshii
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -64
lines
Build py-postgresql from the postgresql 7.3.2 tarball. PKGREVISION++
Remove files and patches in the py-postgresql directory and add necessary
ones in the postgresql directory.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jan 5 20:14:26 2003 UTC (23 years, 10 months ago) by jlam
Branches: MAIN
CVS tags: netbsd-1-6-1-base,
netbsd-1-6-1
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1
lines
Bump PKGREVISION due to increase in the major number of libpq.so between
version 7.2.3 and 7.3.1 of databases/postgresql-lib.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Jan 5 19:26:16 2003 UTC (23 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +74 -15
lines
Decouple py-postgresql from the postgresql build infrastructure and make
this package build standalone. py-postgresql uses it's own version
numbering and really doesn't have much to do with the rest of the
postgresql packages.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Oct 25 11:17:24 2002 UTC (24 years ago) by drochner
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
postgresql-7.2.3 contains PyGreSQL-3.3, so reflect this in the name
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Oct 19 03:04:37 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -17
lines
Update py-postgresql to build using the postgresql-7.2.3 sources.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 9 18:24:50 2002 UTC (24 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4
lines
buildlink1 -> buildlink2.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Sep 21 23:46:47 2002 UTC (24 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks. Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Apr 4 14:36:42 2002 UTC (24 years, 7 months ago) by jlam
Branches: MAIN
CVS tags: pkgviews-base,
pkgviews,
netbsd-1-6-RELEASE-base,
netbsd-1-6,
netbsd-1-5-PATCH003,
buildlink2-base,
buildlink2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -10
lines
Update postgresql and related packages to 7.2. Thanks to Michael Graff
<explorer@flame.org> for most of the work on this update.
Pkgsrc changes from the previous version include removing Makefile.ssl and
some patches that have been integrated into this release of PostgreSQL. We
leave open the question of when to byte-compile the Python modules for the
PyGreSQL interface and just do it as before, although we should consider
doing the compilation as a post-install step to ensure that the timestamps
are correct. We also reorder some lines in the Makefile to include
Makefile.common below certain definitions (GNU_CONFIGURE, USE_BUILDLINK_ONLY)
as they may possibly trigger different portions of Makefile.common.
*** Please note that a dump/restore is required to migrate an existing ***
*** PostgreSQL installation to 7.2. ***
Major changes from version 7.1.3 are geared toward improving use in
high-volume applications and include:
VACUUM
Vacuuming no longer locks tables, thus allowing normal user access
during the vacuum. A new "VACUUM FULL" command does old-style
vacuum by locking the table and shrinking the on-disk copy of the
table.
Transactions
There is no longer a problem with installations that exceed four
billion transactions.
OID's
OID's are now optional. Users can now create tables without OID's
for cases where OID usage is excessive.
Optimizer
The system now computes histogram column statistics during
"ANALYZE", allowing much better optimizer choices.
Security
A new MD5 encryption option allows more secure storage and
transfer of passwords. A new Unix-domain socket authentication
option is available on Linux and BSD systems. PAM authentication
is also available.
Statistics
Administrators can use the new table access statistics module to
get fine-grained information about table and index usage.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jan 19 16:13:00 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -17
lines
use buildlink files for Python and mxDareTime,
install docs into version dependant subdir to avoid conflicts
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jan 15 18:33:26 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
change pkg name of required pkg py-mxDateTime to py20-mxDateTime to get
the right version
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jun 23 19:26:52 2001 UTC (25 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -5
lines
Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0. This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jun 21 21:40:09 2001 UTC (25 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -2
lines
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 14 14:53:28 2001 UTC (25 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +47 -36
lines
Update py-postgresql to 3.2. Changes from version 3.1 include few bugfixes,
adds a few minor features and makes a few speedups in the code, plus:
- Fix some DB-API quoting problems (niall.smart@ebeon.com)
- Moved development into PostgreSQL development tree.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Feb 16 14:17:39 2001 UTC (25 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-1-5-PATCH001
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1
lines
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Dec 22 18:42:54 2000 UTC (25 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -10
lines
Only install the postgresql modules, and not the setup module.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 17 23:40:54 2000 UTC (25 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Move lots of packages to new time category; fix links; add time subcategory
to main Makefile.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 16 05:25:51 2000 UTC (26 years ago) by darcy
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4
lines
Seems that Python was upgraded to 2.0 so I guess this needs to be modified.
I changed the dependencies and directories accordingly.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Nov 16 04:37:54 2000 UTC (26 years ago) by darcy
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
Upgrade to version 3.1.
This release fixes a few bugs, adds a few minor features and makes a
few speedups in the code.
Important changes from PyGreSQL 3.0 to PyGreSQL 3.1
- Fix some quoting functions. In particular handle NULLs better.
- Use a method to add primary key information rather than direct
manipulation of the class structures.
- Break decimal out in _quote (in pg.py) and treat it as float.
- Treat timestamp like date for quoting purposes.
- Remove a redundant SELECT from the get method speeding it, and insert
since it calls get, up a little.
- Add test for BOOL type in typecast method to pgdbTypeCache class.
(tv@beamnet.de)
- Fix pgdb.py to send port as integer to lower level function
(dildog@l0pht.com)
- Change pg.py to speed up some operations
- Allow updates on tables with no primary keys.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Aug 19 20:59:58 2000 UTC (26 years, 3 months ago) by hubertf
Branches: MAIN
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-4-PATCH003
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
../../misc/py-mxDateTime installs a package, called "py-mxDateTime", not
"mxDateTime" (add leading 'py-')
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jul 3 14:10:33 2000 UTC (26 years, 4 months ago) by darcy
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -4
lines
Upgrade to verson 3.0. The most important change here is addition of
the Python DB-API module. Also, note backwards compatibility issue.
Important changes for 3.0
Remove strlen() call from pglarge_write() and get size from object.
(Richard@Bouska.cz)
Add a little more error checking to the quote function in the wrapper
Add extra checking in _quote function
Wrap query in pg.py for debugging
Add DB-API 2.0 support to pgmodule.c (andre@via.ecp.fr)
Add DB-API 2.0 wrapper pgdb.py (andre@via.ecp.fr)
Correct keyword clash (temp) in tutorial
Clean up layout of tutorial
Return NULL values as None (rlawrence@lastfoot.com) (WARNING: This will
cause backwards compatibility issues.)
Change None to NULL in insert and update
Change hash-bang lines to use /usr/bin/env
Clearing date should be blank (NULL) not TODAY
Quote backslashes in strings in _quote (brian@CSUA.Berkeley.EDU)
Expanded and clarified build instructions (tbryan@starship.python.net)
Make code thread safe (Jerome.Alet@unice.fr)
Add README.distutils (mwa@gate.net & jeremy@cnri.reston.va.us)
Many fixes by chifungfan@yahoo.com, tony@printra.net, jeremy@alum.mit.edu
and others to get the final version ready to release.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 20 19:52:51 2000 UTC (26 years, 6 months ago) by jlam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Update dependency on postgresql to >=6.5.3.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 9 03:55:35 2000 UTC (26 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -5
lines
Adapt to new postgresql include/library locations.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 25 22:32:33 2000 UTC (26 years, 8 months ago) by darcy
Branches: MAIN
CVS tags: netbsd-1-4-PATCH002
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -6
lines
Seem that I was a bit hasty with the previous change. This backs out
that change and makes the correct one which is to simply remove the
-Wl flag as cc can handle -R by itself.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 24 22:41:01 2000 UTC (26 years, 8 months ago) by darcy
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -3
lines
Python builds it's public Makefile so that the module gets linked
with ld on a.out systems and cc on ELF systems so we need to check
and only add the -Wl flag if on a.out systems.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Dec 2 01:47:06 1999 UTC (26 years, 11 months ago) by darcy
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
upgraded PostgreSQL to 6.5.3 and updated the dependent Makefiles
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Oct 4 17:36:48 1999 UTC (27 years, 1 month ago) by jlam
Branches: TNF
CVS tags: comdex-fall-1999
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Initial import of py-postgresql, a PostgreSQL interface for Python. From PR#6971 by darcy@netbsd.org, with fixes by me.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Oct 4 17:36:48 1999 UTC (27 years, 1 month ago) by jlam
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>