~ubuntu-branches/ubuntu/precise/postgresql-9.1/precise-security

« back to all changes in this revision

Viewing changes to src/backend/replication/repl_gram.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* A Bison parser, made by GNU Bison 1.875.  */
 
2
 
 
3
/* Skeleton parser for Yacc-like parsing with Bison,
 
4
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
 
5
 
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 2, or (at your option)
 
9
   any later version.
 
10
 
 
11
   This program is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU General Public License
 
17
   along with this program; if not, write to the Free Software
 
18
   Foundation, Inc., 59 Temple Place - Suite 330,
 
19
   Boston, MA 02111-1307, USA.  */
 
20
 
 
21
/* As a special exception, when this file is copied by Bison into a
 
22
   Bison output file, you may use that output file without restriction.
 
23
   This special exception was added by the Free Software Foundation
 
24
   in version 1.24 of Bison.  */
 
25
 
 
26
/* Tokens.  */
 
27
#ifndef YYTOKENTYPE
 
28
# define YYTOKENTYPE
 
29
   /* Put the tokens into the symbol table, so that GDB and other debuggers
 
30
      know about them.  */
 
31
   enum yytokentype {
 
32
     SCONST = 258,
 
33
     RECPTR = 259,
 
34
     K_BASE_BACKUP = 260,
 
35
     K_IDENTIFY_SYSTEM = 261,
 
36
     K_LABEL = 262,
 
37
     K_PROGRESS = 263,
 
38
     K_FAST = 264,
 
39
     K_NOWAIT = 265,
 
40
     K_WAL = 266,
 
41
     K_START_REPLICATION = 267
 
42
   };
 
43
#endif
 
44
#define SCONST 258
 
45
#define RECPTR 259
 
46
#define K_BASE_BACKUP 260
 
47
#define K_IDENTIFY_SYSTEM 261
 
48
#define K_LABEL 262
 
49
#define K_PROGRESS 263
 
50
#define K_FAST 264
 
51
#define K_NOWAIT 265
 
52
#define K_WAL 266
 
53
#define K_START_REPLICATION 267
 
54
 
 
55
 
 
56
 
 
57
 
 
58
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
 
59
#line 54 "repl_gram.y"
 
60
typedef union YYSTYPE {
 
61
                char                                    *str;
 
62
                bool                                    boolval;
 
63
 
 
64
                XLogRecPtr                              recptr;
 
65
                Node                                    *node;
 
66
                List                                    *list;
 
67
                DefElem                                 *defelt;
 
68
} YYSTYPE;
 
69
/* Line 1204 of yacc.c.  */
 
70
#line 70 "repl_gram.h"
 
71
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
 
72
# define YYSTYPE_IS_DECLARED 1
 
73
# define YYSTYPE_IS_TRIVIAL 1
 
74
#endif
 
75
 
 
76
extern YYSTYPE replication_yylval;
 
77
 
 
78
 
 
79