aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-12-27 12:33:04 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-12-27 12:33:04 -0500
commit3ea7329c9a79ade27b5d3742d1a41ce6d0d9aca8 (patch)
tree08a71245e4f44e9084fd183775de22af38536195 /src/backend/access/gist/gistproc.c
parent858e776c84f48841e7e16fba7b690b76e54f3675 (diff)
downloadpostgresql-3ea7329c9a79ade27b5d3742d1a41ce6d0d9aca8.tar.gz
postgresql-3ea7329c9a79ade27b5d3742d1a41ce6d0d9aca8.zip
Simplify the implementations of the to_reg* functions.
Given the soft-input-error feature, we can reduce these functions to be just thin wrappers around a soft-error call of the corresponding datatype input function. This means less code and more certainty that the to_reg* functions match the normal input behavior. Notably, it also means that they will accept numeric OID input, which they didn't before. It's not clear to me if that omission had more than laziness behind it, but it doesn't seem like something we need to work hard to preserve. Discussion: https://postgr.es/m/3910031.1672095600@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions