aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-08-01 12:22:35 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-08-01 12:22:35 -0400
commitd947a8bd5606af4333076724d20b4cb87d386c30 (patch)
treedca4d4b5f389439c0e029e4518102f9ee282f96c /contrib/postgres_fdw/postgres_fdw.c
parent523926dea97f360f1f785853eea49e4dc4a6e1e9 (diff)
downloadpostgresql-d947a8bd5606af4333076724d20b4cb87d386c30.tar.gz
postgresql-d947a8bd5606af4333076724d20b4cb87d386c30.zip
Check maximum number of columns in function RTEs, too.
I thought commit fd96d14d9 had plugged all the holes of this sort, but no, function RTEs could produce oversize tuples too, either via long coldeflists or just from multiple functions in one RTE. (I'm pretty sure the other variants of base RTEs aren't a problem, because they ultimately refer to either a table or a sub-SELECT, whose widths are enforced elsewhere. But we explicitly allow join RTEs to be overwidth, as long as you don't try to form their tuple result.) Per further discussion of bug #17561. As before, patch all branches. Discussion: https://postgr.es/m/17561-80350151b9ad2ad4@postgresql.org
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions