diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-26 12:22:09 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-26 12:22:09 -0400 |
commit | 39b0c7681e465f3e486ca2a5d13fbbafbe25cb1a (patch) | |
tree | 88ce378e3476334c4165b11e5c5c0b3520040b02 /src/backend/access/transam/xlog.c | |
parent | 4bfc5f1396b18da3a0db73e4406badc4ce793a1e (diff) | |
download | postgresql-39b0c7681e465f3e486ca2a5d13fbbafbe25cb1a.tar.gz postgresql-39b0c7681e465f3e486ca2a5d13fbbafbe25cb1a.zip |
Record the proper typmod for an index expression column.
We should use exprTypmod() to extract the typmod of the expression,
instead of just blindly storing -1. This seems to have been an aboriginal
oversight in commit fc8d970cbcdd6f025475822a4cf01dfda0873226 which
introduced general-expression indexes. The consequences are only cosmetic
at present, since the index machinery doesn't really look at typmod for
index columns; but still it seems best to describe the column type as
precisely as we can. Per off-list complaint from Thomas Fanghaenel.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions