mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Change the aclchk.c routines to uniformly use OIDs to identify the
objects to be privilege-checked. Some change in their APIs would be necessary no matter what in the schema environment, and simply getting rid of the name-based interface entirely seems like the best way.
This commit is contained in:
@@ -7,14 +7,13 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: rewriteRemove.h,v 1.10 2001/11/05 17:46:35 momjian Exp $
|
||||
* $Id: rewriteRemove.h,v 1.11 2002/03/21 23:27:24 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef REWRITEREMOVE_H
|
||||
#define REWRITEREMOVE_H
|
||||
|
||||
extern char *RewriteGetRuleEventRel(char *rulename);
|
||||
extern void RemoveRewriteRule(char *ruleName);
|
||||
extern void RelationRemoveRules(Oid relid);
|
||||
|
||||
|
Reference in New Issue
Block a user