mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Break parser functions into smaller files, group together.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/version.c,v 1.7 1997/09/08 02:22:18 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/version.c,v 1.8 1997/11/25 21:59:11 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* At the point the version is defined, 2 physical relations are created
|
||||
@ -30,6 +30,7 @@
|
||||
#include <utils/builtins.h>
|
||||
#include <commands/version.h>
|
||||
#include <access/xact.h> /* for GetCurrentXactStartTime */
|
||||
#include <parser/parse_node.h>
|
||||
#include <tcop/tcopprot.h>
|
||||
|
||||
#define MAX_QUERY_LEN 1024
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.14 1997/09/18 20:20:22 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.15 1997/11/25 21:58:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -16,12 +16,11 @@
|
||||
|
||||
#include <postgres.h>
|
||||
|
||||
#include <parser/catalog_utils.h>
|
||||
#include <parser/parse_query.h> /* for MakeTimeRange() */
|
||||
#include <nodes/plannodes.h>
|
||||
#include <tcop/tcopprot.h>
|
||||
#include <lib/stringinfo.h>
|
||||
#include <commands/explain.h>
|
||||
#include <parser/parse_node.h>
|
||||
#include <optimizer/planner.h>
|
||||
#include <access/xact.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.12 1997/11/21 18:09:51 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.13 1997/11/25 21:59:00 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -20,9 +20,9 @@
|
||||
#include <catalog/pg_type.h>
|
||||
#include <commands/recipe.h>
|
||||
#include <libpq/libpq-be.h>
|
||||
#include <parser/parse_node.h>
|
||||
#include <utils/builtins.h>
|
||||
#include <utils/relcache.h> /* for RelationNameGetRelation */
|
||||
#include <parser/parse_query.h>
|
||||
#include <rewrite/rewriteHandler.h>
|
||||
#include <rewrite/rewriteManip.h>
|
||||
#include <tcop/pquery.h>
|
||||
@ -488,7 +488,7 @@ tg_replaceNumberedParam(Node *expression,
|
||||
* "result" attribute from the tee relation
|
||||
*/
|
||||
|
||||
isRel = (typeid_get_relid(p->paramtype) != 0);
|
||||
isRel = (typeidTypeRelid(p->paramtype) != 0);
|
||||
if (isRel)
|
||||
{
|
||||
newVar = makeVar(rt_ind,
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.16 1997/11/20 23:21:13 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.17 1997/11/25 21:59:03 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -24,7 +24,8 @@
|
||||
#include <catalog/pg_language.h>
|
||||
#include <catalog/pg_operator.h>
|
||||
#include <catalog/pg_proc.h>
|
||||
#include <parser/catalog_utils.h>
|
||||
#include <catalog/pg_type.h>
|
||||
#include <parser/parse_func.h>
|
||||
#include <storage/bufmgr.h>
|
||||
#include <fmgr.h>
|
||||
#ifndef HAVE_MEMMOVE
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.52 1997/11/21 19:59:34 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.53 1997/11/25 21:59:09 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -36,6 +36,7 @@
|
||||
#include <catalog/pg_statistic.h>
|
||||
#include <catalog/pg_type.h>
|
||||
#include <catalog/pg_operator.h>
|
||||
#include <parser/parse_oper.h>
|
||||
#include <storage/smgr.h>
|
||||
#include <storage/lmgr.h>
|
||||
#include <utils/inval.h>
|
||||
@ -44,7 +45,6 @@
|
||||
#include <utils/syscache.h>
|
||||
#include <utils/builtins.h>
|
||||
#include <commands/vacuum.h>
|
||||
#include <parser/catalog_utils.h>
|
||||
#include <storage/bufpage.h>
|
||||
#include "storage/shmem.h"
|
||||
#ifndef HAVE_GETRUSAGE
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.15 1997/11/21 18:09:58 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.16 1997/11/25 21:59:12 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -21,8 +21,8 @@
|
||||
#include <access/xact.h>
|
||||
#include <utils/builtins.h>
|
||||
#include <nodes/relation.h>
|
||||
#include <parser/catalog_utils.h>
|
||||
#include <parser/parse_query.h>
|
||||
#include <parser/parse_relation.h>
|
||||
#include <parser/parse_type.h>
|
||||
#include <rewrite/rewriteDefine.h>
|
||||
#include <rewrite/rewriteHandler.h>
|
||||
#include <rewrite/rewriteManip.h>
|
||||
@ -72,7 +72,7 @@ DefineVirtualRelation(char *relname, List *tlist)
|
||||
entry = lfirst(t);
|
||||
res = entry->resdom;
|
||||
resname = res->resname;
|
||||
restypename = tname(get_id_type(res->restype));
|
||||
restypename = typeidTypeName(res->restype);
|
||||
|
||||
typename = makeNode(TypeName);
|
||||
|
||||
|
Reference in New Issue
Block a user