First phase of applying Rod Taylor's pg_depend patch. This just adds
Tom Lane <tgl@sss.pgh.pa.us>
First phase of applying Rod Taylor's pg_depend patch. This just adds RESTRICT/CASCADE syntax to the DROP commands that need it, and propagates the behavioral option through the parser to the routines that execute drops. Doesn't do anything useful yet, but I figured I'd commit these changes so I could get out of the parser area while working on the rest.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/indexcmds.c | modified | +2 −7 |
| src/backend/commands/operatorcmds.c | modified | +5 −10 |
| src/backend/commands/tablecmds.c | modified | +5 −6 |
| src/backend/commands/typecmds.c | modified | +4 −5 |
| src/backend/commands/view.c | modified | +3 −4 |
| src/backend/nodes/copyfuncs.c | modified | +6 −1 |
| src/backend/nodes/equalfuncs.c | modified | +11 −1 |
| src/backend/parser/gram.y | modified | +37 −32 |
| src/backend/tcop/utility.c | modified | +9 −18 |
| src/include/commands/defrem.h | modified | +5 −6 |
| src/include/commands/tablecmds.h | modified | +6 −4 |
| src/include/commands/view.h | modified | +2 −2 |
| src/include/nodes/parsenodes.h | modified | +16 −5 |