]> granicus.if.org Git - postgresql/blobdiff - src/pl/plpgsql/src/plpgsql.h
Back out SET AUTHORIZATION patch until security is resolved.
[postgresql] / src / pl / plpgsql / src / plpgsql.h
index c460cbf68a7ec44cc7ff6a553f48142c745d61b4..fd507bc8b14f6b940f664f0985428b7ea95afead 100644 (file)
@@ -3,7 +3,7 @@
  *                       procedural language
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.15 2001/07/11 18:54:19 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.16 2001/07/12 17:42:08 momjian Exp $
  *
  *       This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -95,7 +95,6 @@ enum
        PLPGSQL_STMT_DYNEXECUTE,
        PLPGSQL_STMT_DYNFORS,
        PLPGSQL_STMT_GETDIAG,
-       PLPGSQL_STMT_SETAUTH,
        PLPGSQL_STMT_OPEN,
        PLPGSQL_STMT_FETCH,
        PLPGSQL_STMT_CLOSE
@@ -113,16 +112,6 @@ enum
        PLPGSQL_RC_RETURN
 };
 
-/* ---------
- * Authorization levels
- * ---------
- */
-enum
-{
-       PLPGSQL_AUTH_INVOKER,
-        PLPGSQL_AUTH_DEFINER,
-};
-
 /* ----------
  * GET DIAGNOSTICS system attrs
  * ----------
@@ -436,12 +425,6 @@ typedef struct
        int                     retrecno;
 }                      PLpgSQL_stmt_return;
 
-typedef struct
-{                               /* SET AUTHORIZATION statement */
-    int         cmd_type;
-    int         lineno;
-    int                auth_level;
-}           PLpgSQL_stmt_setauth;
 
 typedef struct
 {                                                              /* RAISE statement                      */
@@ -497,7 +480,6 @@ typedef struct PLpgSQL_function
        int                     tg_nargs_varno;
 
        int                     ndatums;
-        Oid                    definer_uid;
        PLpgSQL_datum **datums;
        PLpgSQL_stmt_block *action;
        struct PLpgSQL_function *next;
@@ -520,9 +502,6 @@ typedef struct
        int                     found_varno;
        int                     ndatums;
        PLpgSQL_datum **datums;
-       Oid             invoker_uid;
-       Oid             definer_uid;
-        int            auth_level;
 }                      PLpgSQL_execstate;