Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#-------------------------------------------------------
#
# $Id: Changes,v 1.15 2004/04/21 17:37:53 bmomjian Exp $
#
#-------------------------------------------------------
Revision history for Perl extension Pg.
2.1.1 2004-02-20 (contributed by Jeremy Yoder <jyoder@umich.edu>)
- Clean up memory issues in Pg.xs
o Use safecalloc instead of calloc
o Use PQfreeNotify intead of free for notify struct
- Changed minimum Perl to 5.005
- Update instructions for running tests
2.1.0 2004-02-12 (contributed by Jeremy Yoder <jyoder@umich.edu>)
- Merge 1.9.0 branch with 2.0.2 branch to create 2.1.0
- Rename to Pg
- examples/example.newstyle renamed to examples/example.pl
- Removed examples/example.oldstyle
2.0.2 2002-12-17
- Improve installation instructions.
2.0.1 2002-11-27
- Make tarball using 'gmake dist'
2.0 2002-11-25
- Renamed to pgperl
- Moved to gborg and created standalone build system. Added
POSTGRESQL_HOME environment variable.
1.9.0 Apr 04 2000
- remove compile errors with perl5.6
- remove old-style interface
- change return value in case of failure from -1 to undef
- for building the module it is required to set the environment
variables POSTGRES_INCLUDE and POSTGRES_LIB
1.8.2 Mar 31 1999
- bug-fix in Makefile.PL for $POSTGRES_HOME not defined
- bug-fix in doQuery() spotted by
Christopher Hutton <crhutton@welcomecard.com>
- minor changes to be compliant with libpq
- use PQsetdbLogin (using the provided userid/password)
instead of PQsetdb
1.8.1 Jan 14 1999
- applied patch from David Smith <dasmith@perseus.tufts.edu>:
missing first character in dbanme parameter of connect string.
- changed link-type to static on hpux < 10.0
1.8.0 Sep 27 1998
- adapted to PostgreSQL-6.4:
added support for
o PQsetdbLogin
o PQpass
o PQsocket
o PQbackendPID
o PQsendQuery
o PQgetResult
o PQisBusy
o PQconsumeInput
o PQrequestCancel
o PQgetlineAsync
o PQputnbytes
o PQmakeEmptyPGresult
o PQbinaryTuples
o PQfmod
- fixed conndefaults()
- fixed lo_read
1.7.4 May 28 1998
- applied patches from
Brook Milligan <brook@trillium.NMSU.Edu>:
o changed Makefile.PL to look for include files
and libs in the source tree, except when the
environment variable POSTGRES_HOME is set.
o bug-fix in test.pl
1.7.3 Mar 28 1998
- linking again with the shared version of libpq
due to problems on several operating systems.
1.7.2 Mar 06 1998
- module is now linked with static libpq.a
1.7.1 Mar 03 1998
- expanded the search path for include files
- return to UNIX domain sockets in test-scripts
1.7.0 Feb 20 1998
- adapted to PostgreSQL-6.3:
add host=localhost to the conninfo-string
of test.pl and example-scripts
- connectdb() converts dbname to lower case,
unless it is surrounded by double quotes
- added new method fetchrow, now you can do:
while (@row = $result->fetchrow)
1.6.3 Sep 25 1997
- README update
1.6.2 Sep 20 1997
- adapted to PostgreSQL-6.2:
o added support for new method cmdTuples
o cmdStatus returns now for DELETE the status
followed by the number of affected rows,
- test.pl.newstyle renamed to examples/example.newstyle
- test.pl.oldstyle renamed to examples/example.oldstyle
- example script ApachePg.pl now uses
$result->print with HTML option
- Makefile looks for $ENV{POSTGRES_HOME} instead of
$ENV{POSTGRESHOME}
1.6.1 Jun 02 1997
- renamed to pgsql_perl5
- adapted to PostgreSQL-6.1
- test only functions, which are also
tested in pgsql regression tests
1.5.4 Feb 12, 1997
- changed test.pl for large objects:
test only lo_import and lo_export
1.5.3 Jan 2, 1997
- adapted to PostgreSQL-6.0
- new functions PQconnectdb, PQuser
- changed name of method 'new' to 'setdb'
1.4.2 Nov 21, 1996
- added a more Perl-like syntax
1.3.2 Nov 11, 1996
- adapted to Postgres95-1.09
- test.pl adapted to postgres95-1.0.9:
PQputline expects now '\.' as last input
and PQgetline outputs '\.' as last line.
1.3.1 Oct 22, 1996
- adapted to Postgres95-1.08
- large-object interface added, thanks to
Sven Verdoolaege (skimo@breughel.ufsia.ac.be)
- PQgetline() changed. This breaks old scripts !
- PQexec now returns in any case a valid pointer.
This fixes the annoying message:
'res is not of type PGresultPtr at ...'
- testsuite completely rewritten, contains
now examples for almost all functions
- resturn codes are now available as constants (PGRES_xxx)
- PQnotifies() works now
- enhanced doQuery()
1.2.0 Oct 15, 1995
- adapted to Postgres95-1.0
- README updated
- doQuery() in Pg.pm now returns 0 upon success
- testlibpq.pl: added test for PQgetline()
1.1.1 Aug 5, 95
- adapted to postgres95-beta0.03
- Note: the libpq interface has changed completely !
1.1 Jun 6, 1995
- Bug fix in PQgetline.
1.0 Mar 24, 1995
- creation