diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-02-06 17:35:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-02-06 17:35:41 +0000 |
commit | 122680c51443b66fd9fc8687881ad571248516fa (patch) | |
tree | da0238d079879ee568966e3debc6b22b90abf0e3 /src/tutorial/funcs.c | |
parent | 2d28b69000ea0f5f348d084eb86f9fcd1730c2e6 (diff) | |
download | postgresql-122680c51443b66fd9fc8687881ad571248516fa.tar.gz postgresql-122680c51443b66fd9fc8687881ad571248516fa.zip |
Remove typmod checking from the recent security-related patches. It turns
out that ExecEvalVar and friends don't necessarily have access to a tuple
descriptor with correct typmod: it definitely can contain -1, and possibly
might contain other values that are different from the Var's value.
Arguably this should be cleaned up someday, but it's not a simple change,
and in any case typmod discrepancies don't pose a security hazard.
Per reports from numerous people :-(
I'm not entirely sure whether the failure can occur in 8.0 --- the simple
test cases reported so far don't trigger it there. But back-patch the
change all the way anyway.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions