* Added new option to pg_dbinfo, "sql_count", returns the number of calls
to pg_exec, pg_exec_prepared, pg_sendquery, pg_sendquery_prepared,
and pg_select since the database connection was established.
* Fixed a bug in dbinfo where a missing database connection argument
could result in a coredump.
* Added Tcl 8.6 compatability by gettting rid of errorLine direct struct
access and using Tcl_GetErrorLine, introduced in 8.6. Also added define
for Tcl versions less than 8.6 so they can use the Tcl_GetErrorLine call.
I ripped this off from the aolserver fix :)
* Add gen_update_from_array and perform_update_from_array to Postgres
helper package.
* pg_select was not checking returns from Tcl_ObjSetVar2 and friends.
The problem was that if the pg_select array already existed as a
scalar variable, no error was returned to denote this, and it caused
a coredump in Tcl 8.5. This has now been fixed.
* In pg_select code, correct memory allocation for columnNameObjs to
use the size of a pointer to Tcl_Obj times the number of columns,
rather than the size of a Tcl_Obj times the number of columns..
* Fixed bug in "pgresult -assign" that could cuase a Tcl panic by
attempting to set a value into a shared Tcl object.
* libpq's PQfname can return NULL if the column requested is out of
range. We have seen it return NULL when the column is in range,
so instead of dumping core, we treat such a return as a Tcl error.