aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-07-18 13:13:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-07-18 13:13:47 -0400
commit04a2c7f412d01da8100de79b13df4fd39e15ce25 (patch)
treef7fc7f0afa4fa247016962adc75bd442e158ef0d /src/backend/utils/adt/ruleutils.c
parentb4c6d31c0be0f5c42a75d50afcf13bdd392db4a1 (diff)
downloadpostgresql-04a2c7f412d01da8100de79b13df4fd39e15ce25.tar.gz
postgresql-04a2c7f412d01da8100de79b13df4fd39e15ce25.zip
Improve make_tsvector() to handle empty input, and simplify its callers.
It seemed a bit silly that each caller of make_tsvector() was laboriously special-casing the situation where no lexemes were found, when it would be easy and much more bullet-proof to make make_tsvector() handle that.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions