diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-24 23:06:29 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-24 23:06:29 +0000 |
commit | c8bcd5ca92f812d04f9ded963d812360c6ea20a5 (patch) | |
tree | a2d3f60af30c59a20d4fe9941b47e973731cad46 /doc/src | |
parent | 0152f148129ce5f77d1af0f69c6a0dece7c20398 (diff) |
Fix problems with dropped columns in pltcl triggers, per report from Patrick Samson.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/pltcl.sgml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/sgml/pltcl.sgml b/doc/src/sgml/pltcl.sgml index 22121c2b297..2e7b9f88e18 100644 --- a/doc/src/sgml/pltcl.sgml +++ b/doc/src/sgml/pltcl.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.28 2003/11/29 19:51:37 pgsql Exp $ +$PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.29 2004/01/24 23:06:29 tgl Exp $ --> <chapter id="pltcl"> @@ -516,7 +516,10 @@ SELECT 'doesn''t' AS ret element. So looking up a column name in the list with <application>Tcl</>'s <function>lsearch</> command returns the element's number starting with 1 for the first column, the same way the columns are customarily - numbered in <productname>PostgreSQL</productname>. + numbered in <productname>PostgreSQL</productname>. (Empty list + elements also appear in the positions of columns that have been + dropped, so that the attribute numbering is correct for columns + to their right.) </para> </listitem> </varlistentry> |