This is the pgtcl-ng Source Release NEWS file
Last updated for pgtcl-1.5.2 on 2004-11-02
The project home page is: http://gborg.postgresql.org/project/pgtclng/
-----------------------------------------------------------------------------

* 2004-11-07    pgtcl-ng 1.5.2 Released

This is a minor release. There are two new commands suggested by levanj:
   1.  New command pg_escape_bytea escapes a binary string for
       use in an SQL statement for a BYTEA type column.
   2.  New command pg_unescape_bytea un-escapes a BYTEA column value
       from a query result and returns a Tcl binary string.

For better compatibility with Gborg pgtcl, which implemented the -errorField
feature of pgtcl-ng/pgin.tcl in a different way:
   3.  The error code field name is now optional to pg_result -errorField,
       and can also be supplied to pg_result -error. This means the two
       subcommands are now identical. With no error code field name argument,
       they return the default message form. Also, extended the list of
       valid field code names to be case insensitive and include the
       different field code names used in Gborg pgtcl, 


* 2004-06-07    pgtcl-ng 1.5.1 Released

This is the second release of pgtcl-ng with these changes:
   1.  New command option: pg_result $res -cmdStatus
       Returns the command completion tag, e.g. "UPDATE 4".
       (Suggested by Jerry.Levan -at- EKU.EDU)
   2.  If EXTRA_LIBS is defined in the environment when "configure" runs,
       its value will be appended to the link line. This is for some systems
       where dependent libraries must be explictly specified.
       (Suggested by Jerry.Levan -at- EKU.EDU)
   3.  New command: pg_quote to return quoted escaped string. This was recently
       added to Gborg pgtcl CVS, replacing pg_escape_string, but pgtcl-ng
       will continue to support both.
   4.  Fix pg_execute error handling to allow arbitrary return
       codes from the script it executes, same as pg_select.
   5.  New command: pg_exec_params to execute parameterized query, binary safe.
   6.  pg_exec can take extra arguments which will substitute for
       placeholders in the SQL. This is not binary safe; use pg_exec_prepared
       or pg_exec_params for binary parameters or binary results.
       (Idea from Gborg pgtcl CVS - karl.)


* 2004-02-28    pgtcl-ng 1.5.0 Released

This is the first release of pgtcl-ng. (The version number is 1.5.0 for
continuity with previous implementations of this interface.) Highlights of
this release are:

  * From Gborg pgtcl project:
    1. Stand-alone Tcl Extension Architecture (TEA) build system
    2. New asynchronous query commands
    3. New: Get query results as lists
    4. New: pg_escape_string
  * New in Pgtcl-ng:
    5. Completed conversion to use Tcl-8 objects
    6. New: pg_transaction_status, check in-transaction status
    7. New: pg_parameter_status, get server parameter value
    8. New: pg_exec_prepared, execute prepared queries, binary-safe
    9. New: pg_notice_handler, change Notice and Warning handler
   10. New: Get extended error message field values
   11. New: Get extended column attribute information
   12. New: Test query result values for NULL
  * New reference manual
  * Windows binary release

There are also numerous fixes, include Large Object error handling, and a
rewritten COPY implementation which can now deal with records longer than
4096 bytes. (Bet you didn't know that limitation was there...) Please note:
Many of the new commands should be considered 'experimental' and possibly
subject to change.

More detailed changes can be found in the ChangeLog files. Please note,
however, that it is likely that not all changes between bundled PostgreSQL
libpgtcl, Gborg pgtcl, and Gborg pgtcl-ng have been recorded.

-----------------------------------------------------------------------------
