| 1 |
2017-06-21 Peter da Silva |
| 2 |
* Integrate sqlite bridge with "pg_sqlite" command. |
| 3 |
|
| 4 |
* Documentation updates for 2.2.x |
| 5 |
|
| 6 |
* Update version to 2.2.0 |
| 7 |
|
| 8 |
2017-04-25 Peter da Silva |
| 9 |
* Update minor version to 2.1.1 |
| 10 |
|
| 11 |
* Documentation updates for 2.1.x |
| 12 |
|
| 13 |
* Remove dead macro from configure.in (change in TEA) |
| 14 |
|
| 15 |
2016-10-26 Peter da Silva |
| 16 |
* Increment version to v2.1.0 |
| 17 |
|
| 18 |
* Add -params and -paramarray to pg_select |
| 19 |
|
| 20 |
* Add -paramarray to pg_exec and pg_sendquery |
| 21 |
|
| 22 |
* Update documentation to match. |
| 23 |
|
| 24 |
2016-07-06 Jeff Lawson |
| 25 |
* Increment to 2.0.1 |
| 26 |
|
| 27 |
* Update pre-generated pdf documentation. |
| 28 |
|
| 29 |
* Update Makefile target to install manpages |
| 30 |
|
| 31 |
2016-07-06 Pietro Cerutti |
| 32 |
* Avoid installing .h file only needed during build. |
| 33 |
|
| 34 |
2016-07-06 Peter da Silva |
| 35 |
* Fix some manpage formatting glitches |
| 36 |
|
| 37 |
* Add more test cases |
| 38 |
|
| 39 |
2016-06-20 Jeff Lawson |
| 40 |
* Released 2.0.0 |
| 41 |
|
| 42 |
2016-06-20 Peter da Silva |
| 43 |
* Add man-page generation using docbook2man |
| 44 |
|
| 45 |
2016-06-16 Jeff Lawson |
| 46 |
* Change functionality of pg_quote regarding NULL values. |
| 47 |
pg_quote will now only return "NULL" if the new "-null" flag is |
| 48 |
explicitly specified by the callerd, regardless of whether a database |
| 49 |
handle is also specified (#6). |
| 50 |
|
| 51 |
2016-06-16 Karl Lehenbauer, Jeff Lawson and Peter da Silva |
| 52 |
* Add a -rowbyrow option to pg_select that will return results through libpq |
| 53 |
a row at a time via PQsetSingleRowMode rather letting libpq wait for all the rows to be returned first. |
| 54 |
|
| 55 |
(Caveats at https://www.postgresql.org/docs/current/static/libpq-single-row-mode.html should be observed.) |
| 56 |
|
| 57 |
2016-06-16 Jeff Lawson |
| 58 |
* Explicitly initialize extra Tcl_ChannelType fields. |
| 59 |
|
| 60 |
* Make pg_select handle exit conditions more carefully. |
| 61 |
|
| 62 |
* Fix mislabelled error message text. |
| 63 |
|
| 64 |
* Regenerate HTML documentation. |
| 65 |
|
| 66 |
2016-06-16 Peter da Silva |
| 67 |
* Add ?connection? option for pg_quote and flags for pg_select. |
| 68 |
|
| 69 |
* Modify Makefile for docs to only generate HTML by default. |
| 70 |
|
| 71 |
* Update documentation to reflect changes and updates. |
| 72 |
|
| 73 |
2016-06-15 Peter da Silva |
| 74 |
* Fixed docbook errors in libpgtcl.sgml |
| 75 |
|
| 76 |
* Deleted html directory to make "make" work. |
| 77 |
|
| 78 |
2016-06-15 Karl Lehenbauer |
| 79 |
* Make -async processing for pg_connect use C-level Tcl boolean handling. |
| 80 |
|
| 81 |
2016-06-15 Jeff Lawson |
| 82 |
* Unset array in pg_select at start of each loop to avoid elements |
| 83 |
lingering over (#4). |
| 84 |
|
| 85 |
* Remove unused variable. |
| 86 |
|
| 87 |
2016-06-14 Jeff Lawson |
| 88 |
* Fix possible segfault in pg_select if you unset the array variable |
| 89 |
inside of the code body. |
| 90 |
|
| 91 |
* Document the pg_select refcount fix. |
| 92 |
|
| 93 |
* Whitespace cleanup. |
| 94 |
|
| 95 |
* Remove changelog from 1.4 era; update some text. |
| 96 |
|
| 97 |
* Update Tcl version in the README. |
| 98 |
|
| 99 |
* Avoid error during docs part of "make install". |
| 100 |
|
| 101 |
* Add SGML dependency to dohtml target. |
| 102 |
|
| 103 |
2015-08-26 Karl Lehenbauer |
| 104 |
* Install helper package sc_postgres by default. |
| 105 |
|
| 106 |
* Minor package README improvements. |
| 107 |
|
| 108 |
* Helper integration. |
| 109 |
|
| 110 |
* Regenerate "configure" script. |
| 111 |
|
| 112 |
2015-08-23 Karl Lehenbauer |
| 113 |
* Doc and usage message additions. |
| 114 |
|
| 115 |
2015-08-22 Karl Lehenbauer |
| 116 |
* Simplify most Tcl_GetStringFromObj calls. |
| 117 |
|
| 118 |
* Remove legacy version handling, requiring Tcl 8.4 or above. |
| 119 |
(Tcl 8.4 has been out for ten years or so, so it's OK.) |
| 120 |
|
| 121 |
* Remove ifdef compatibility for long-present stuff such as lo_truncate |
| 122 |
that has been in PostgreSQL libpq since version 8.3 (released in 2008). |
| 123 |
|
| 124 |
2015-08-18 Karl Lehenbauer |
| 125 |
* pg_result $res -foreach array code - iterate over tuples in a result handle. |
| 126 |
|
| 127 |
* Fix compiler warnings. |
| 128 |
|
| 129 |
2015-08-08 Karl Lehenbauer |
| 130 |
* Update build to Tcl Extension Architecture (TEA) 3.9 |
| 131 |
|
| 132 |
* shared library now builds without a reference to libtcl*.so since it |
| 133 |
uses stubs to access that library. |
| 134 |
|
| 135 |
* "make distclean" will now remove autom4te.cache |
| 136 |
|
| 137 |
* Add .gitignore to suppress untracked files warning |
| 138 |
|
| 139 |
2015-04-21 Karl Lehenbauer |
| 140 |
* genericize tclsh invocation. |
| 141 |
|
| 142 |
2015-03-04 Karl Lehenbauer |
| 143 |
* clean up compiler warnings. |
| 144 |
|
| 145 |
2014-09-15 Karl Lehenbauer |
| 146 |
* Force UTC in helpers' clock_to_sql_time. |
| 147 |
|
| 148 |
2014-07-07 Karl Lehenbauer |
| 149 |
* Force UTC on timestamp without timezone conversions. |
| 150 |
|
| 151 |
2013-06-14 Karl Lehenbauer |
| 152 |
* Fix gen_update_from_array to work correctly with multiple key fields. |
| 153 |
|
| 154 |
2013-05-08 Karl Lehenbauer |
| 155 |
* Update .gitignore to ignore *.o, *.so, Makefile, pkgIndex.tcl, etc. |
| 156 |
|
| 157 |
2012-10-10 David McNett |
| 158 |
* Migrate README file to a github-friendly markdown format. |
| 159 |
|
| 160 |
* Migrate from Tcl 8.4 to Tcl 8.5. |
| 161 |
|
| 162 |
2012-09-21 Karl Lehenbauer |
| 163 |
* Update the postgresql database schema comparator. |
| 164 |
|
| 165 |
2012-09-11 Karl Lehenbauer |
| 166 |
* Add subcommands for direct execution of connection handles for |
| 167 |
conndefaults, set_single_row_mode, is_busy, blocking and |
| 168 |
cancel_request. |
| 169 |
|
| 170 |
* Make "make distclean" get rid of more autoconf work product. |
| 171 |
|
| 172 |
* Add -nodotfields option to pg_select. If set it will inhibit the creation of |
| 173 |
the .tupno, .numcols and .headers fields in pg_select results. |
| 174 |
|
| 175 |
* Added new command, pg_set_single_row_mode aka ::pg::set_single_row_mode |
| 176 |
to enable retrieving query results row-by-row. |
| 177 |
|
| 178 |
* Make "make distclean" get rid of more autoconf work product. |
| 179 |
|
| 180 |
* Clean up compiler warnings. |
| 181 |
|
| 182 |
* Update README.freebsd. |
| 183 |
|
| 184 |
2012-06-18 Karl Lehenbauer |
| 185 |
* Add new -withoutnulls option to pg_select, if set will remove null |
| 186 |
fields from the row result array. |
| 187 |
|
| 188 |
* Reference variable name as a string, not an object, when invoking Tcl_UnsetVar2. |
| 189 |
|
| 190 |
2012-06-04 Karl Lehenbauer |
| 191 |
|
| 192 |
* Change dbinfo option "pass" to "password". |
| 193 |
|
| 194 |
Fix crash in pg_listen. |
| 195 |
|
| 196 |
2012-06-02 Karl Lehenbauer |
| 197 |
* Add new pg_dbinfo options "dbname", "user", "pass", "host", "port", |
| 198 |
"options", "status", "transaction_status", "error_message", |
| 199 |
"needs_password", "used_password", "used_ssl" to provide Tcl access |
| 200 |
to libpq connection parameter values established at connection time. |
| 201 |
|
| 202 |
* Fixed bug where pg_dbinfo would get a segmentation violation if passed |
| 203 |
an invalid connection handle. |
| 204 |
|
| 205 |
* Version bump to 1.9. |
| 206 |
|
| 207 |
2011-02-15 Karl Lehenbauer |
| 208 |
* Removed arrVar variable and setting of it in Pg_result because it |
| 209 |
didn't do anything. |
| 210 |
|
| 211 |
2010-07-01 Brett Schwarz |
| 212 |
* Added result callback for async queries via pg_sql. Based on code from Miguel Sofer. I |
| 213 |
had this code laying around and thought I had already committed, but turned out no. |
| 214 |
|
| 215 |
2010-04-14 Karl Lehenbauer |
| 216 |
* Added new option to pg_dbinfo, "sql_count", returns the number of calls |
| 217 |
to pg_exec, pg_exec_prepared, pg_sendquery, pg_sendquery_prepared, |
| 218 |
and pg_select since the database connection was established. |
| 219 |
|
| 220 |
* Fixed a bug in dbinfo where a missing database connection argument |
| 221 |
could result in a coredump. |
| 222 |
|
| 223 |
* Version bump to 1.8. |
| 224 |
|
| 225 |
2010-04-12 Brett Schwarz |
| 226 |
* Added Tcl 8.6 compatability by gettting rid of errorLine direct struct |
| 227 |
access and using Tcl_GetErrorLine, introduced in 8.6. Also added define |
| 228 |
for Tcl versions less than 8.6 so they can use the Tcl_GetErrorLine call. |
| 229 |
I ripped this off from the aolserver fix :) |
| 230 |
|
| 231 |
2009-09-16 Karl Lehenbauer |
| 232 |
* Add gen_update_from_array and perform_update_from_array to Postgres |
| 233 |
helper package. |
| 234 |
|
| 235 |
2009-07-07 Karl Lehenbauer |
| 236 |
* pg_select was not checking returns from Tcl_ObjSetVar2 and friends. |
| 237 |
The problem was that if the pg_select array already existed as a |
| 238 |
scalar variable, no error was returned to denote this, and it caused |
| 239 |
a coredump in Tcl 8.5. This has now been fixed. |
| 240 |
|
| 241 |
* In pg_select code, correct memory allocation for columnNameObjs to |
| 242 |
use the size of a pointer to Tcl_Obj times the number of columns, |
| 243 |
rather than the size of a Tcl_Obj times the number of columns.. |
| 244 |
|
| 245 |
2009-06-30 Karl Lehenbauer |
| 246 |
* Fixed bug in "pgresult -assign" that could cuase a Tcl panic by |
| 247 |
attempting to set a value into a shared Tcl object. |
| 248 |
|
| 249 |
* libpq's PQfname can return NULL if the column requested is out of |
| 250 |
range. We have seen it return NULL when the column is in range, |
| 251 |
so instead of dumping core, we treat such a return as a Tcl error. |
| 252 |
|
| 253 |
2009-04-06 Karl Lehenbauer |
| 254 |
* Pgtcl 1.7 released. |
| 255 |
|
| 256 |
2009-02-26 Karl Lehenbauer |
| 257 |
* Make PostgreSQL helpers "res_dont_care" and "res_must_succeed" |
| 258 |
accept PGRES_TUPLES_OK as a sucessful result as well as |
| 259 |
PGRES_COMMAND_OK. |
| 260 |
|
| 261 |
2008-05-24 Karl Lehenbauer |
| 262 |
* Add new pg_result suboption -tupleArrayWithoutNulls. It works like |
| 263 |
-tupleArray except if a field is null, it unsets the field from |
| 264 |
the array. |
| 265 |
|
| 266 |
2008-05-23 Karl Lehenbauer |
| 267 |
* Add "escape_bytea" and "unescape_bytea" to the methods that can be |
| 268 |
invoked from $conn. |
| 269 |
|
| 270 |
* Extend pg_escape_bytea to allow a connection handle to be specified. |
| 271 |
If specified, libpq's PQescapeByteaConn is used rather than |
| 272 |
deprecated PQescapeBytea, which can return incorrect results since |
| 273 |
it can't determine whether standard-conforming strings are enabled. |
| 274 |
|
| 275 |
If the "$conn escape_bytea ..." method is used, the connection-handle |
| 276 |
version is automatically used. |
| 277 |
|
| 278 |
* Detect if lo_truncate is available in libpq or not and, if not, return |
| 279 |
an error if it is attempted. |
| 280 |
|
| 281 |
2008-05-20 Karl Lehenbauer |
| 282 |
* Add support for the lo_truncate function that truncates a large object |
| 283 |
to a given length. |
| 284 |
|
| 285 |
* Version bump to 1.7. |
| 286 |
|
| 287 |
2007-12-14 Karl Lehenbauer <[email protected]> |
| 288 |
* Update autoconf build to Tcl Extension Architecture (TEA) 3.6 |
| 289 |
|
| 290 |
* Extend pg_quote to allow a connection handle to be specified. |
| 291 |
If the connection handle is specified and the string matches the |
| 292 |
null string, returns "NULL" (without quotes). If not, returns |
| 293 |
the string quoted for inclusion in SQL commands. |
| 294 |
|
| 295 |
* pg_quote can be invoked as a method of the connection handle |
| 296 |
as well. For instance, "$db quote $string". |
| 297 |
|
| 298 |
* Removed unused variables and silence compiler warnings with casting. |
| 299 |
|
| 300 |
* Added "internal_position" and "internal_query" to the error options. |
| 301 |
|
| 302 |
2007-02-08 Brett Schwarz <[email protected]> |
| 303 |
* Added support for async connections. Note that you will have to |
| 304 |
use [after] command to find the result of the connection. Callbacks |
| 305 |
won't work, since the sock isn't established yet |
| 306 |
|
| 307 |
2007-01-24 Brett Schwarz <[email protected]> |
| 308 |
* added additional sub commands to dbinfo (version, protocol, param, |
| 309 |
backendpid, socket) |
| 310 |
|
| 311 |
2006-07-05 Karl Lehenbauer <[email protected]> |
| 312 |
* Updated autoconf build to Tcl Extension Architecture (TEA) 3.5 |
| 313 |
|
| 314 |
2006-01-01 Brett Schwarz <[email protected]> |
| 315 |
* changed the commands that handle params, such that if a value is NULL |
| 316 |
then the lib will change the paramValues value to '\0' so that |
| 317 |
the backend will insert a NULL correctly |
| 318 |
|
| 319 |
2005-11-27 Karl Lehenbauer <[email protected]> |
| 320 |
* Bumped version number to 1.6 |
| 321 |
|
| 322 |
* Add pg_null_value_string, ::pg::null_value_string and |
| 323 |
"$conn null_value_string" to get and set a special string value that |
| 324 |
will be returned for fields containing null values from queries. |
| 325 |
|
| 326 |
pg_select and pg_execute use this value for null values. If not set, |
| 327 |
they use the traditional empty string. |
| 328 |
|
| 329 |
pg_exec, pg_exec_prepared, pg_sendquery and pg_sendquery_prepared use |
| 330 |
this value as well. However, it can be overridden or replaced for |
| 331 |
one specific result using "pg_result $result -null_value_string NULL", |
| 332 |
etc, or by executing the result handle, as in |
| 333 |
"$result -null_value_string NULL" |
| 334 |
|
| 335 |
Updated documentation and regenerated HTML and PDF files. |
| 336 |
|
| 337 |
2005-11-09 Karl Lehenbauer <[email protected]> |
| 338 |
* List -cmdTuples as one of the possible options when executing |
| 339 |
pg_result without arguments. |
| 340 |
|
| 341 |
2005-07-18 Karl Lehenbauer <[email protected]> |
| 342 |
* Made pggrok database introspection code much more useful -- routines |
| 343 |
for finding out data about fields and indexes in a table now load |
| 344 |
on array with data about each field (index) and execute a code body |
| 345 |
on it, rather than punting with a call to parray |
| 346 |
|
| 347 |
2005-07-01 Karl Lehenbauer <[email protected]> |
| 348 |
* Fixed memory leaks when connections-as-commands are used |
| 349 |
($conn exec $statement, etc) |
| 350 |
|
| 351 |
2005-04-16 Brett Schwarz <[email protected]> |
| 352 |
* added more documentation about the new capabilities |
| 353 |
|
| 354 |
2005-02-25 Brett Schwarz <[email protected]> |
| 355 |
* took away pg::conninfo and pg::results, and made one command |
| 356 |
pg::dbinfo. Usage is pg::dbinfo connections and |
| 357 |
pg::dbinfo results $conn |
| 358 |
|
| 359 |
2004-11-30 Karl Lehenbauer <[email protected]> |
| 360 |
* Document pg_exec_prepared, pg_results, and pg_sendquery_prepared. |
| 361 |
|
| 362 |
* Document pg_exec's ability to take optional arguments for |
| 363 |
$-substitution in PostgreSQL 7.4+. |
| 364 |
|
| 365 |
* Documented pg_getresult and pg_result -error suboptions. |
| 366 |
|
| 367 |
* Pasted connect string options from the libpq manual rather |
| 368 |
than simply referring Pgtcl users to the libpq manual. |
| 369 |
|
| 370 |
* Regenerated pdf and html documentation. |
| 371 |
|
| 372 |
2004-11-29 Brett Schwarz <[email protected]> |
| 373 |
* Added commands to escape and unescape binary strings |
| 374 |
|
| 375 |
2004-11-29 Karl Lehenbauer <[email protected]> |
| 376 |
* Added library of useful PostreSQL helper functions to the playpen. |
| 377 |
|
| 378 |
* Added dbobjects PostgreSQL/Itcl-object interface package to the playpen. |
| 379 |
|
| 380 |
* Added pggrok code to introspect into Postgres databases to the playpen. |
| 381 |
|
| 382 |
2004-11-23 Karl Lehenbauer <[email protected]> |
| 383 |
* Simplify result object processing |
| 384 |
|
| 385 |
* Fixed bug in Pg_cancelrequest where the error message would |
| 386 |
not be returned. |
| 387 |
|
| 388 |
* Remove unused variables. |
| 389 |
|
| 390 |
* Silence compiler warnings about a fall-through (that couldn't |
| 391 |
be reached) that would cause a function declared to return something |
| 392 |
to not return anything and about a possibly uninitialized variable. |
| 393 |
|
| 394 |
2004-11-22 Karl Lehenbauer <[email protected]> |
| 395 |
* Created playpen directory where interesting things that are not |
| 396 |
yet ready for prime time can be examined and messed with. |
| 397 |
Added code for turning OIDs returned by pg_result -lAttributes |
| 398 |
into data type names. |
| 399 |
|
| 400 |
2004-11-19 Karl Lehenbauer <[email protected]> |
| 401 |
* Updated autoconf build to TEA 3.1 / autoconf 2.59 |
| 402 |
|
| 403 |
* Added import_sampledata_prepared_onetransaction.tcl to the tests |
| 404 |
|
| 405 |
2004-11-17 Karl Lehenbauer <[email protected]> |
| 406 |
* minor optimization in connections-as-commands and results-as-commands |
| 407 |
where we don't copy and then swap, we copy it the way we want it to |
| 408 |
end up (first and second elements of objv reversed). |
| 409 |
|
| 410 |
* connections-as-commands and results-as-commands now error out when |
| 411 |
called with no arguments |
| 412 |
|
| 413 |
2004-11-16 Karl Lehenbauer <[email protected]> |
| 414 |
* libpgtcl will again build with versions of Tcl < 8.5 thanks to a little |
| 415 |
extra checking for HAVETCL_NEWDICTOBJ |
| 416 |
|
| 417 |
* Fixed several calls to Tcl_AppendStringsToObj whose arguments were |
| 418 |
terminated with -1 instead of NULL, eliminating several segmentation |
| 419 |
violations that could occur while preparing error messages. |
| 420 |
|
| 421 |
* Removed spurious newline at the start of the error message when |
| 422 |
the query result handle passed to pg_result is invalid. |
| 423 |
|
| 424 |
2004-11-05 Brett Schwarz <[email protected]> |
| 425 |
* added delete proc for result handle cleanup |
| 426 |
|
| 427 |
2004-11-02 Brett Schwarz <[email protected]> |
| 428 |
* added delete proc for connection handle cleanup |
| 429 |
|
| 430 |
2004-09-20 Brett Schwarz <[email protected]> |
| 431 |
* added preliminary support for dicts in pg_result. Need to have |
| 432 |
Tcl 8.5 or the dicts package extension. Need to set |
| 433 |
HAVETCL_NEWDICTOBJ manually for now. |
| 434 |
|
| 435 |
2004-08-23 Brett Schwarz <[email protected]> |
| 436 |
* added tcltest script of testing pgtcl. |
| 437 |
|
| 438 |
2004-08-21 Brett Schwarz <[email protected]> |
| 439 |
* Made the result handle into a command, and added associated command |
| 440 |
dispatcher. |
| 441 |
|
| 442 |
2004-08-18 Brett Schwarz <[email protected]> |
| 443 |
* Added another way to specify the connection string to pg::connect: |
| 444 |
pg::connect -connlist {host myhost port myport ...}. This is similiar |
| 445 |
to -conninfo, except that the arg is a key value list. |
| 446 |
|
| 447 |
* Added -connhandle option to pg::connect to specify the connection |
| 448 |
handle name. If not specified, then connection handle name is |
| 449 |
derived by pgtcl (as before). |
| 450 |
|
| 451 |
2004-08-16 Brett Schwarz <[email protected]> |
| 452 |
* added Pg_results (pg::results, pg_results) command that returns |
| 453 |
the result handles for a particular connection |
| 454 |
|
| 455 |
2004-08-15 Brett Schwarz <[email protected]> |
| 456 |
* Added new command pg::conninfo that returns a list of PG connection |
| 457 |
handles |
| 458 |
|
| 459 |
2004-07-02 Brett Schwarz <[email protected]> |
| 460 |
* added basic capability to use the connection handle as a command |
| 461 |
* since connection handle can be a command now, I made the returned |
| 462 |
handle namespace qualified, with respect to the calling namespace |
| 463 |
|
| 464 |
2004-06-29 Brett Schwarz <[email protected]> |
| 465 |
* Added proper Tcl namespace support (i.e. ::pg::connect) |
| 466 |
|
| 467 |
2004-06-28 Karl Lehenbauer <[email protected]> |
| 468 |
* Version 1.4 released |
| 469 |
|
| 470 |
2004-06-22 Karl Lehenbauer <[email protected]> |
| 471 |
* Added new optional subidentifiers to pg_result $resultID -error. |
| 472 |
You can specify one of "severity", "sqlstate", "primary", "detail", |
| 473 |
"hint", "position", "context", "file", "line", or "function" to |
| 474 |
get the severity (ERROR, FATAL, PANIC, WARNING, NOTICE, DEBUG, |
| 475 |
INFO, or LOG or a localized translation of one of these), the |
| 476 |
SQLSTATE code (see Appendix A of the Postgres manual), the |
| 477 |
primary human-readable error message, the optional secondary |
| 478 |
error message carrying more detail about the problem, the hint, |
| 479 |
an optional suggestion about what to do, the position, an error |
| 480 |
cursor position as an index into the original statement string |
| 481 |
starting from 1 (in characters, not bytes), the context, |
| 482 |
the source file where the error was reported, the line number of |
| 483 |
the source code where the error was reported, and the name |
| 484 |
of the source code function reporting the error, respectively. |
| 485 |
|
| 486 |
With newer versions of Postgres, $-variable substitution is now |
| 487 |
supported in pg_sendquery as it is in pg_exec. |
| 488 |
|
| 489 |
* Added a new function, pg_sendquery_prepared, that supports |
| 490 |
asynchronous invocation of prepared statements. |
| 491 |
|
| 492 |
2004-06-21 Karl Lehenbauer <[email protected]> |
| 493 |
* Added parameter support to the asynchronous pg_sendquery function. |
| 494 |
With newer versions of Postgres, $-variable substitution is now |
| 495 |
supported in pg_sendquery as it is in pg_exec. |
| 496 |
|
| 497 |
* Added a new function, pg_sendquery_prepared, that supports |
| 498 |
asynchronous invocation of prepared statements. |
| 499 |
|
| 500 |
2004-05-26 Karl Lehenbauer <[email protected]> |
| 501 |
* Changed configure script to use pg_config to find the path to |
| 502 |
PostgreSQL includes and libraries. |
| 503 |
|
| 504 |
* Altered libpgtcl to no longer require access to internal PostgreSQL |
| 505 |
include files. |
| 506 |
|
| 507 |
* Changed configure script to determine whether or not PostgreSQL 7.4+ |
| 508 |
functions PQexecParams and PQexecPrepared are available or not. |
| 509 |
|
| 510 |
2004-05-21 Karl Lehenbauer <[email protected]> |
| 511 |
* Add pg_exec_prepared to execute pre-prepared SQL statements with |
| 512 |
parameters. |
| 513 |
|
| 514 |
2004-04-23 Karl Lehenbauer <[email protected]> |
| 515 |
* Add pg_quote function to escape strings. It adds the outside quotes, too. |
| 516 |
|
| 517 |
2004-04-14 Karl Lehenbauer <[email protected]> |
| 518 |
* Modify pg_exec to support $-variable substitution for PostgreSQL 7.4 and |
| 519 |
above (protocol >= 3). For example, you can now do stuff like |
| 520 |
pg_exec $conn {select * from foo where field1 = $1} $value |
| 521 |
|
| 522 |
2004-02-14 Brett Schwarz <[email protected]> |
| 523 |
* Updated with the fixes that went into the -core libpgtcl release |
| 524 |
* Also added fix for WSAStartup posted by anonymous on the bug list |
| 525 |
|
| 526 |
2003-01-14 Brett Schwarz <[email protected]> |
| 527 |
* added -cmdTuples to pg_result (code submitted by Artur Trzewik) |
| 528 |
|
| 529 |
2002-11-19 Brett Schwarz <[email protected]> |
| 530 |
|
| 531 |
* Improved the performance of -list a little bit |
| 532 |
|
| 533 |
2002-11-15 Karl Lehenbauer <[email protected]> |
| 534 |
|
| 535 |
* Tagged for 1.4b3 |
| 536 |
|
| 537 |
* Fix pg_listen. (callback string wasn't properly terminated) |
| 538 |
Also made slight performance improvements in pg_listen. |
| 539 |
|
| 540 |
2002-11-15 Brett Schwarz <[email protected]> |
| 541 |
|
| 542 |
* Cleanup memory leaks in pg_result. |
| 543 |
|
| 544 |
* Fixed bug in pg_result -assignbyidx |
| 545 |
|
| 546 |
2002-11-15 Karl Lehenbauer <[email protected]> |
| 547 |
|
| 548 |
* Convert all the "#ifdef TCL_ARRAYS" where tcl_value was called if |
| 549 |
defined and not called if not defined to always "call" tcl_value. |
| 550 |
In the case where TCL_ARRAYS isn't defined, tcl_value is now defined |
| 551 |
as a macro that returns whatever was given to it, making it a no-op. |
| 552 |
|
| 553 |
This change allows the code to be compiled with TCL_MEM_DEBUG enabled |
| 554 |
to look for memory leaks. |
| 555 |
|
| 556 |
2002-11-06 Karl Lehenbauer <[email protected]> |
| 557 |
|
| 558 |
* Tagged for 1.4b2 |
| 559 |
|
| 560 |
* Create the libpgtcl shared library in a way where it can find both |
| 561 |
the Postgres shared library it needs (libpq) and the Tcl shared |
| 562 |
library it needs (libtcl). |
| 563 |
|
| 564 |
2002-11-05 Brett Schwarz <[email protected]> |
| 565 |
|
| 566 |
* added -list and -llist options to pg_result to return the |
| 567 |
results as a list and list of lists |
| 568 |
|
| 569 |
2002-11-05 Karl Lehenbauer <[email protected]> |
| 570 |
|
| 571 |
Started the ChangeLog. |