Factor out duplicate code for computing values of PLpgSQL_datum items.
Tom Lane <tgl@sss.pgh.pa.us>
Factor out duplicate code for computing values of PLpgSQL_datum items. This is to help localize the changes needed for adding a new kind of PLpgSQL_datum (like, say, an array element...)
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/pl_comp.c | modified | +3 −3 |
| src/pl/plpgsql/src/pl_exec.c | modified | +159 −349 |
| src/pl/plpgsql/src/pl_funcs.c | modified | +4 −2 |
| src/pl/plpgsql/src/plpgsql.h | modified | +8 −4 |