~ubuntu-branches/ubuntu/trusty/pfm/trusty

« back to all changes in this revision

Viewing changes to pgintcl-1.5.0/NEWS.txt

  • Committer: Package Import Robot
  • Author(s): Mark Hindley
  • Date: 2013-02-13 10:54:36 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20130213105436-w8flw5ecbt8s7w2d
Tags: upstream-2.0.7
ImportĀ upstreamĀ versionĀ 2.0.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This is pgin.tcl/NEWS, release announcements for pgin.tcl.
2
 
See Changelog for detailed change information.
3
 
-----------------------------------------------------------------------------
4
 
 
5
 
* 2003-06-30 Released version 1.5.0
6
 
 
7
 
Change: default user name for connection now checks environment variable
8
 
USERNAME (for WindowsNT) after PGUSER, USER, and LOGNAME.
9
 
 
10
 
Fix: Tkpsql properly gets initial focus on startup on Windows.
11
 
 
12
 
Bug fix: Wrong data was returned by pg_result -getTuple, -list, or -llist
13
 
when the query contained duplicate column names. (For example:
14
 
       SELECT a.id, a.s, b.s FROM a, b WHERE a.id=b.id;
15
 
returns two columns named "s", and pg_result -getTuple incorrectly stored
16
 
the value from table "b" column "s" twice.) pgin.tcl now internally stores
17
 
values indexed by column number, not name, and will correctly store and
18
 
return all the values when those access methods are used.  Note that other
19
 
access methods such as pg_result -assign, -tupleArray, pg_select, and
20
 
pg_execute use the column name as an array index, so they are not
21
 
compatible with queries returning duplicate column names.  Also note you
22
 
really should use column name aliases when a query generates duplicate
23
 
column names. [gborg bug id #503]
24
 
 
25
 
New function: pg_escape_string to escape strings for SQL constants. This is
26
 
in the libpgtcl CVS.
27
 
 
28
 
Bug fixes for empty query. Previously threw an error, now properly handles
29
 
an empty query return and sets status to PGRES_EMPTY_QUERY.
30
 
 
31
 
Change: pg_result -cmdTuples returns "", not 0, for any SQL other than
32
 
Insert/Update/Delete, this apparently being the correct behavior per libpq.
33
 
 
34
 
Add support for overloaded fast-path function calls (same function name but
35
 
with different argument types).
36
 
 
37
 
Fix: pg_execute now handles empty query, COPY FROM, and COPY TO correctly.
38
 
 
39
 
New I/O routines for COPY FROM/TO: pg_copy_read and pg_copy_write. There is
40
 
no need to use these yet; you can just read and write from the connection
41
 
handle. I put them in for testing compatibility with the future PostgreSQL
42
 
FE/BE Protocol Version 3 pgin.tcl, where reading/writing from the connection
43
 
handle will not work.
44
 
 
45
 
 
46
 
* 2003-02-13 Released version 1.3.9
47
 
 
48
 
This is the first public release.