Skip site navigation (1) Skip section navigation (2)

pgsql: Add a paramtypmod field to Param nodes.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a paramtypmod field to Param nodes.
Date: 2006-12-10 22:13:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Add a paramtypmod field to Param nodes.  This is dead weight for Params
representing externally-supplied values, since the APIs that carry such
values only specify type not typmod.  However, for PARAM_SUBLINK Params
it is handy to carry the typmod of the sublink's output column.  This
is a much cleaner solution for the recently reported 'could not find
pathkey item to sort' and 'failed to find unique expression in subplan
tlist' bugs than my original 8.2-compatible patch.  Besides, someday we
might want to support typmods for external parameters ...

Modified Files:
        copyfuncs.c (r1.353 -> r1.354)
        equalfuncs.c (r1.287 -> r1.288)
        outfuncs.c (r1.285 -> r1.286)
        readfuncs.c (r1.195 -> r1.196)
        subselect.c (r1.113 -> r1.114)
        parse_agg.c (r1.73 -> r1.74)
        parse_coerce.c (r2.146 -> r2.147)
        parse_expr.c (r1.198 -> r1.199)
        catversion.h (r1.361 -> r1.362)
        primnodes.h (r1.117 -> r1.118)

pgsql-committers by date

Next:From: User HinoueDate: 2006-12-11 11:34:28
Subject: psqlodbc - psqlodbc: More changes for setup Dialog test button
Previous:From: Peter EisentrautDate: 2006-12-10 20:46:03
Subject: pgsql: Make separate targets for building printable documentation in A4

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group