Commit 9db64857 authored by Bruce Momjian's avatar Bruce Momjian

Move variable.c to commands/ and aclchk.c to catalog/.

parent deea69b9
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for catalog # Makefile for catalog
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.7 1997/12/20 00:23:26 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.8 1998/01/05 18:42:39 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -15,7 +15,7 @@ INCLUDE_OPT = -I.. ...@@ -15,7 +15,7 @@ INCLUDE_OPT = -I..
CFLAGS+=$(INCLUDE_OPT) CFLAGS+=$(INCLUDE_OPT)
OBJS = catalog.o heap.o index.o indexing.o \ OBJS = catalog.o heap.o index.o indexing.o aclchk.o \
pg_aggregate.o pg_operator.o pg_proc.o pg_type.o pg_aggregate.o pg_operator.o pg_proc.o pg_type.o
all: SUBSYS.o global1.bki.source local1_template1.bki.source \ all: SUBSYS.o global1.bki.source local1_template1.bki.source \
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/Attic/aclchk.c,v 1.22 1998/01/05 16:39:30 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.1 1998/01/05 18:42:40 momjian Exp $
* *
* NOTES * NOTES
* See acl.h. * See acl.h.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for commands # Makefile for commands
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.10 1997/12/20 00:23:32 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.11 1998/01/05 18:42:45 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -17,7 +17,8 @@ CFLAGS+=$(INCLUDE_OPT) ...@@ -17,7 +17,8 @@ CFLAGS+=$(INCLUDE_OPT)
OBJS = async.o creatinh.o command.o copy.o defind.o define.o \ OBJS = async.o creatinh.o command.o copy.o defind.o define.o \
remove.o rename.o vacuum.o version.o view.o cluster.o \ remove.o rename.o vacuum.o version.o view.o cluster.o \
recipe.o explain.o sequence.o trigger.o user.o proclang.o dbcommands.o recipe.o explain.o sequence.o trigger.o user.o proclang.o \
dbcommands.o variable.o
all: SUBSYS.o all: SUBSYS.o
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Routines for handling of 'SET var TO', * Routines for handling of 'SET var TO',
* 'SHOW var' and 'RESET var' statements. * 'SHOW var' and 'RESET var' statements.
* *
* $Id: variable.c,v 1.26 1998/01/05 16:39:35 momjian Exp $ * $Id: variable.c,v 1.1 1998/01/05 18:42:50 momjian Exp $
* *
*/ */
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <time.h> #include <time.h>
#include "postgres.h" #include "postgres.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "tcop/variable.h" #include "commands/variable.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "optimizer/internal.h" #include "optimizer/internal.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for tcop # Makefile for tcop
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.14 1997/12/20 00:28:06 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.15 1998/01/05 18:42:59 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -19,7 +19,7 @@ ifeq ($(CC), gcc) ...@@ -19,7 +19,7 @@ ifeq ($(CC), gcc)
CFLAGS+= -Wno-error CFLAGS+= -Wno-error
endif endif
OBJS= aclchk.o dest.o fastpath.o postgres.o pquery.o utility.o variable.o OBJS= dest.o fastpath.o postgres.o pquery.o utility.o
all: SUBSYS.o all: SUBSYS.o
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.35 1998/01/05 16:39:32 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.36 1998/01/05 18:43:09 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "commands/explain.h" #include "commands/explain.h"
#include "commands/trigger.h" #include "commands/trigger.h"
#include "commands/proclang.h" #include "commands/proclang.h"
#include "commands/variable.h"
#include "nodes/parsenodes.h" #include "nodes/parsenodes.h"
#include "../backend/parser/parse.h" #include "../backend/parser/parse.h"
...@@ -45,7 +46,6 @@ ...@@ -45,7 +46,6 @@
#include "rewrite/rewriteDefine.h" #include "rewrite/rewriteDefine.h"
#include "tcop/tcopdebug.h" #include "tcop/tcopdebug.h"
#include "tcop/dest.h" #include "tcop/dest.h"
#include "tcop/variable.h"
#include "tcop/utility.h" #include "tcop/utility.h"
#include "fmgr.h" /* For load_file() */ #include "fmgr.h" /* For load_file() */
#include "storage/fd.h" #include "storage/fd.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: acl.h,v 1.11 1997/09/08 21:54:47 momjian Exp $ * $Id: acl.h,v 1.12 1998/01/05 18:43:18 momjian Exp $
* *
* NOTES * NOTES
* For backward-compatability purposes we have to allow there * For backward-compatability purposes we have to allow there
...@@ -162,7 +162,6 @@ extern void ChangeAcl(char *relname, AclItem *mod_aip, unsigned modechg); ...@@ -162,7 +162,6 @@ extern void ChangeAcl(char *relname, AclItem *mod_aip, unsigned modechg);
extern AclId get_grosysid(char *groname); extern AclId get_grosysid(char *groname);
extern char *get_groname(AclId grosysid); extern char *get_groname(AclId grosysid);
/* XXX move these elsewhere -pma */
extern int32 pg_aclcheck(char *relname, char *usename, AclMode mode); extern int32 pg_aclcheck(char *relname, char *usename, AclMode mode);
extern int32 pg_ownercheck(char *usename, char *value, int cacheid); extern int32 pg_ownercheck(char *usename, char *value, int cacheid);
extern int32 extern int32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment