From 131f801d37b77d3633c07142010d1968c09e3fd8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 1 Jul 2002 15:27:56 +0000 Subject: 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. --- src/backend/commands/view.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/backend/commands/view.c') diff --git a/src/backend/commands/view.c b/src/backend/commands/view.c index e21b72a87a5..d27350fd467 100644 --- a/src/backend/commands/view.c +++ b/src/backend/commands/view.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: view.c,v 1.64 2002/06/20 20:29:27 momjian Exp $ + * $Id: view.c,v 1.65 2002/07/01 15:27:49 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -248,14 +248,13 @@ DefineView(const RangeVar *view, Query *viewParse) DefineViewRules(view, viewParse); } -/*------------------------------------------------------------------ +/* * RemoveView * * Remove a view given its name - *------------------------------------------------------------------ */ void -RemoveView(const RangeVar *view) +RemoveView(const RangeVar *view, DropBehavior behavior) { Oid viewOid; -- cgit v1.2.3