aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-12-01 12:44:22 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-12-01 12:44:22 -0500
commitac3dcca22e967ac4a899c4534b4b1c8e807ff71e (patch)
tree907f482b9f9682cf4fc1e967a979fcee189818df /src/backend/regex/regexec.c
parent0f90fb90c337afd2cb9a41af51660367a1e85743 (diff)
downloadpostgresql-ac3dcca22e967ac4a899c4534b4b1c8e807ff71e.tar.gz
postgresql-ac3dcca22e967ac4a899c4534b4b1c8e807ff71e.zip
Fix getTypeIOParam to support type record[].
Since record[] uses array_in, it needs to have its element type passed as typioparam. In HEAD and 9.1, this fix essentially reverts commit 9bc933b2125a5358722490acbc50889887bf7680, which was a hack that is no longer needed since domains don't set their typelem anymore. Before that, adjust the logic so that only domains are excluded from being treated like arrays, rather than assuming that only base types should be included. Add a regression test to demonstrate the need for this. Per report from Maxim Boguk. Back-patch to 8.4, where type record[] was added.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions