aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-11-13 19:12:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-11-13 19:12:05 +0000
commitc7d40ff35fe3f203d166e999da42e6e150859a36 (patch)
tree7601706ae3170cfcb113e345f8ee135e35b515b7 /src/tutorial/basics.source
parent55b5a42b6a0408a6eff2aba35967914264fc5451 (diff)
downloadpostgresql-c7d40ff35fe3f203d166e999da42e6e150859a36.tar.gz
postgresql-c7d40ff35fe3f203d166e999da42e6e150859a36.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 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions