~ubuntu-branches/ubuntu/trusty/psycopg2/trusty

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2008-10-06 06:20:36 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20081006062036-lkum34uf8gf03yad
Tags: 2.0.8-0ubuntu1
New upstream release, fixes a few bugs found during use

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2008-09-16  Federico Di Gregorio <fog@initd.org>
 
2
 
 
3
        * Release 2.0.8.
 
4
 
 
5
2008-07-26  Federico Di Gregorio <fog@initd.org>
 
6
 
 
7
        * psycopg/connection_type.c: merged get_backend_pid() method
 
8
        by Casey Duncan.
 
9
 
 
10
2008-07-23  James Henstridge  <james@jamesh.id.au>
 
11
 
 
12
        * psycopg/lobject_type.c (lobject_setup): use
 
13
        FORMAT_CODE_PY_SSIZE_T in Dprintf() call for 64-bit compatibility
 
14
        when using Python 2.5 or later.
 
15
        (lobject_dealloc): same here.
 
16
 
 
17
2008-07-18  James Henstridge  <james@jamesh.id.au>
 
18
 
 
19
        * psycopg/adapter_qstring.c (qstring_traverse): add cyclic GC
 
20
        traversal for quoted string adapters.
 
21
 
 
22
        * psycopg/adapter_pboolean.c (pboolean_traverse): add cyclic GC
 
23
        traversal for boolean adapters.
 
24
 
 
25
        * psycopg/adapter_mxdatetime.c (mxdatetime_traverse): add cyclic
 
26
        GC traversal for mxdatetime adapters.
 
27
 
 
28
        * psycopg/adapter_datetime.c (pydatetime_traverse): add cyclic GC
 
29
        traversal for datetime adapters.
 
30
 
 
31
2008-07-01  James Henstridge  <james@jamesh.id.au>
 
32
 
 
33
        * psycopg/adapter_binary.c (binary_traverse): add cyclic GC
 
34
        traversal for binary adapters.
 
35
 
 
36
        * psycopg/adapter_asis.c (asis_traverse): add cyclic GC traversal
 
37
        for AsIs adapters.
 
38
 
 
39
        * psycopg/adapter_list.c (list_traverse): add cyclic GC traversal
 
40
        for list adapters.
 
41
 
 
42
2008-05-28  James Henstridge  <james@jamesh.id.au>
 
43
 
 
44
        * psycopg/cursor_type.c (cursor_setup): incref before setting
 
45
        attributes, to make things GC-safe.
 
46
 
 
47
        * psycopg/cursor_int.c (curs_reset): make clearing of description
 
48
        and casts attributes GC-safe.
 
49
 
 
50
        * psycopg/typecast.c (typecast_traverse): implement cyclic GC
 
51
        traversal for typecasters.
 
52
 
 
53
        * psycopg/connection_type.c:
 
54
        * psycopg/cursor_type.c: add support for cyclic GC traversal (no
 
55
        support for clearing).
 
56
 
 
57
        * psycopg/python.h: add definitions for Py_CLEAR() and Py_VISIT()
 
58
        for compatibility with old versions of Python.
 
59
 
 
60
2008-06-28  Federico Di Gregorio <fog@initd.org>
 
61
 
 
62
        * setup.py: fixed problem with spaces in pg_config path.
 
63
 
 
64
2008-05-27  Federico Di Gregorio <fog@initd.org>
 
65
 
 
66
        * psycopg/pqpath.c: better error checks in _pq_copy_in_v3 to
 
67
        avoid calling blocking libpq functions when the connection to
 
68
        the server has been broken
 
69
 
 
70
2008-05-19  Federico Di Gregorio <fog@initd.org>
 
71
 
 
72
        * psycopg/cursor_type.c: fixed memory leak in .executemany(); on
 
73
        error "iter" was not dec'reffed.
 
74
 
 
75
2008-05-06  James Henstridge  <james@jamesh.id.au>
 
76
 
 
77
        * psycopg/lobject.h (lobjectObject): remove "mode" struct member,
 
78
        since it was unused.
 
79
 
 
80
        * psycopg/lobject_*.c: replace uses of the closed struct member,
 
81
        and change the Python level attribute to a getset.
 
82
 
 
83
        * psycopg/lobject.h (lobjectObject): remove the closed member,
 
84
        since "fd < 0" gives us the same information.  Reorder the struct
 
85
        members for better packing.
 
86
 
 
87
        * psycopg/lobject*: const'ify the code.
 
88
 
 
89
        * tests/test_lobject.py (LargeObjectTests): add more tests,
 
90
        including behaviour on closed lobjects and stale lobjects.
 
91
 
 
92
        * psycopg/lobject_type.c (psyco_lobj_close): don't mark the
 
93
        connection closed here because it is done by
 
94
        lobject_close_locked().
 
95
 
 
96
        * psycopg/lobject_int.c (lobject_open): mark objects as not closed
 
97
        if we successfully open them.
 
98
        (lobject_close_locked): mark the lobject closed here.
 
99
        (lobject_export): ensure we are in a transaction, since
 
100
        lo_export() issues multiple queries.
 
101
 
 
102
        * psycopg/lobject_type.c (lobject_setup): make lobjects start closed.
 
103
 
 
104
2008-05-05  James Henstridge  <james@jamesh.id.au>
 
105
 
 
106
        * psycopg/lobject.h: don't export the lobjectType symbol.
 
107
 
 
108
2008-05-05  Federico Di Gregorio  <fog@initd.org>
 
109
 
 
110
        * Fixed sun build problem by adding "sun" to config.h checks.
 
111
 
 
112
2008-05-05  James Henstridge  <james@jamesh.id.au>
 
113
 
 
114
        * psycopg/pqpath.c (pq_complete_error): get rid of double free
 
115
        error in case when pgres is NULL.
 
116
 
 
117
        * tests/test_lobject.py: add some basic tests for large object
 
118
        code.
 
119
 
 
120
        * psycopg/lobject*.[ch]: port the large object code to work with
 
121
        current psycopg code.
 
122
 
 
123
2006-09-01  Federico Di Gregorio  <fog@initd.org>
 
124
 
 
125
        * psycopg/connection_type.c: merged in double mutex destroy patch
 
126
        from Joerg Sonnenberger.
 
127
 
 
128
        * Implemented large objects support.
 
129
 
 
130
        * psycopg/connection_int.c: removed increment of self->mark,
 
131
        now it is done directly in pqpath.c to make sure even the
 
132
        large object support gets it.
 
133
 
 
134
        * Starting 2.1 development.
 
135
 
 
136
2008-04-21  James Henstridge  <james@jamesh.id.au>
 
137
 
 
138
        * tests/test_quote.py (QuotingTestCase.test_unicode): If the
 
139
        server encoding is not UTF8, skip the unicode test and emit a
 
140
        warning.
 
141
 
 
142
2008-04-21  Jorgen Austvik <Jorgen.Austvik@sun.com>
 
143
 
 
144
        * tests/*.py: use the DSN constructed in tests/__init__.py.
 
145
 
 
146
        * tests/__init__.py: allow setting the host, port and user for the
 
147
        DSN used by the tests through the environment.
 
148
 
1
149
2008-03-17  Federico Di Gregorio <fog@initd.org>
2
150
 
3
151
        * Release 2.0.7.