]> granicus.if.org Git - postgresql/commitdiff
Move dbcommands.c to commands/. It should not be in the parser directory.
authorBruce Momjian <bruce@momjian.us>
Mon, 24 Nov 1997 05:32:56 +0000 (05:32 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 24 Nov 1997 05:32:56 +0000 (05:32 +0000)
src/backend/commands/dbcommands.c
src/backend/parser/keywords.c
src/backend/tcop/utility.c
src/include/commands/dbcommands.h [moved from src/include/parser/dbcommands.h with 90% similarity]

index cd0333ea683196081ebe5f432396388ee31c050a..861ce8db8100897ad89da50ad1ad910c5dbd4baf 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.1 1997/11/24 05:20:51 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.2 1997/11/24 05:32:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -28,7 +28,7 @@
 #include "catalog/pg_user.h"
 #include "catalog/pg_database.h"
 #include "utils/syscache.h"
-#include "parser/dbcommands.h"
+#include "commands/dbcommands.h"
 #include "tcop/tcopprot.h"
 #include "storage/bufmgr.h"
 #include "storage/lmgr.h"
index 5b6274cf6fb77cca2c0689be362db40cfd864cbd..0312e0251be1637c534c1b07730aedcad18af96d 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.23 1997/11/21 18:10:52 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.24 1997/11/24 05:32:28 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -20,8 +20,6 @@
 #include "parse.h"
 #include "utils/elog.h"
 #include "parser/keywords.h"
-#include "parser/dbcommands.h" /* createdb, destroydb stop_vacuum */
-
 
 /*
  * List of (keyword-name, keyword-token-value) pairs.
index 0ce74f31e5eeb2ff58cbe0898d064f091957ff4a..2e9b764644d97a4b200333b4ae5e6b0fb4e05adf 100644 (file)
@@ -9,12 +9,11 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.30 1997/11/21 19:02:42 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.31 1997/11/24 05:32:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"
-#include "parser/dbcommands.h"
 #include "access/xact.h"
 #include "access/heapam.h"
 #include "catalog/catalog.h"
@@ -25,6 +24,7 @@
 #include "commands/command.h"
 #include "commands/copy.h"
 #include "commands/creatinh.h"
+#include "commands/dbcommands.h"
 #include "commands/sequence.h"
 #include "commands/defrem.h"
 #include "commands/rename.h"
similarity index 90%
rename from src/include/parser/dbcommands.h
rename to src/include/commands/dbcommands.h
index 31c6efd2db828990671d2d1b222f9449765832e8..7717fd9d153f1b253e1701665f367c23ed248d8b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: dbcommands.h,v 1.5 1997/11/07 06:38:09 thomas Exp $
+ * $Id: dbcommands.h,v 1.1 1997/11/24 05:32:51 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */