Restructure plpgsql's parsing of datatype declarations to unify the
Tom Lane <tgl@sss.pgh.pa.us>
Restructure plpgsql's parsing of datatype declarations to unify the scalar and composite (rowtype) cases a little better. This commit is just a code-beautification operation and shouldn't make any real difference in behavior, but it's an important preliminary step for trying to improve plgsql's handling of rowtypes.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/gram.y | modified | +79 −161 |
| src/pl/plpgsql/src/pl_comp.c | modified | +246 −250 |
| src/pl/plpgsql/src/plpgsql.h | modified | +38 −11 |
| src/pl/plpgsql/src/scan.l | modified | +1 −2 |