diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-26 18:54:44 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-26 18:54:44 +0000 |
| commit | 62275d55c44fb72d6e1102ef5e5b7d014fff8293 (patch) | |
| tree | 138cd939cf5df23a18ae426f04a20b24a2956e8a /src/backend/executor/nodeModifyTable.c | |
| parent | b98317c8aa8b5ff900319dc4721f73669ea40870 (diff) | |
Fix ExecMakeTableFunctionResult to verify that all rows returned by a SRF
returning "record" actually do have the same rowtype. This is needed because
the parser can't realistically enforce that they will all have the same typmod,
as seen in a recent example from David Wheeler.
Back-patch to 8.0, which is as far back as we have the notion of RECORD
subtypes being distinguished by typmod. Wheeler's example depends on
8.4-and-up features, but I suspect there may be ways to provoke similar
failures before 8.4.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions
