diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-13 19:11:28 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-13 19:11:28 +0000 |
commit | b31eeadcab26fdced0278fbd1e7dd87775960bb3 (patch) | |
tree | c245e8a005e93d5dddd1c0c5af1c65604ddbd5a4 /contrib/intarray/_int_gist.c | |
parent | 19cb4571465024d7068eddf3eda8c9fe6851cde1 (diff) | |
download | postgresql-b31eeadcab26fdced0278fbd1e7dd87775960bb3.tar.gz postgresql-b31eeadcab26fdced0278fbd1e7dd87775960bb3.zip |
Force the second argument of SUBSTRING(foo FOR bar) to be int4, to avoid
surprising results when it's some other numeric type. This doesn't solve
the generic problem of surprising implicit casts to text, but it's a
low-impact way of making sure this particular case behaves sanely.
Per gripe from Harald Fuchs and subsequent discussion.
Diffstat (limited to 'contrib/intarray/_int_gist.c')
0 files changed, 0 insertions, 0 deletions