that the right flavors of largefile-related definitions are seen.
Most of these changes are probably unnecessary, but better safe than
sorry.
#define YYSTYPE char *
#define YYDEBUG 1
-#include
+#include "postgres.h"
+
#include "cubedata.h"
#include "buffer.h"
-#include "postgres.h"
#include "utils/palloc.h"
#include "utils/elog.h"
#define YYSTYPE char *
#define yylval cube_yylval
-#include
+#include "postgres.h"
+
#include "cubeparse.h"
#include "buffer.h"
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
*/
-
-#include
#include "postgres.h"
+
#include "libpq-fe.h"
#include "libpq-int.h"
#include "fmgr.h"
/****************************************************************************
* pending.c
- * $Id: pending.c,v 1.3 2002/09/04 22:49:22 petere Exp $
+ * $Id: pending.c,v 1.4 2002/09/05 00:43:06 tgl Exp $
*
* This file contains a trigger for Postgresql-7.x to record changes to tables
* to a pending table for mirroring.
*
*
***************************************************************************/
+
#include
#include
enum FieldUsage
{
#ifndef FUZZYSTRMATCH_H
#define FUZZYSTRMATCH_H
-#include
-#include
+#include "postgres.h"
+
#include
-#include "postgres.h"
#include "fmgr.h"
#include "utils/builtins.h"
** A scanner for EMP-style numeric ranges
*/
-#include
-#include
+#include "postgres.h"
+
#include "segparse.h"
#include "buffer.h"
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
*/
-#include
-#include
-
#include "postgres.h"
+#include
+
#include "fmgr.h"
#include "funcapi.h"
#include "executor/spi.h"
%{
-#include
+#include "postgres.h"
+
#include "deflex.h"
#include "parser.h"
/* postgres allocation function */
-#include "postgres.h"
#define free pfree
#define malloc palloc
#define realloc repalloc
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: geqo_selection.c,v 1.13 2002/06/20 20:29:29 momjian Exp $
+ * $Id: geqo_selection.c,v 1.14 2002/09/05 00:43:06 tgl Exp $
*
*-------------------------------------------------------------------------
*/
/* */
/*************************************************************/
+#include "postgres.h"
+
#include
-#include "postgres.h"
#include "optimizer/geqo_copy.h"
#include "optimizer/geqo_random.h"
#include "optimizer/geqo_selection.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/tidpath.c,v 1.10 2002/06/20 20:29:30 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/tidpath.c,v 1.11 2002/09/05 00:43:06 tgl Exp $
*
*-------------------------------------------------------------------------
*/
-#include
-
#include "postgres.h"
+#include
+
#include "catalog/pg_operator.h"
#include "optimizer/clauses.h"
#include "optimizer/cost.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.22 2002/06/20 20:29:33 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.23 2002/09/05 00:43:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
#include
-#include "postgres.h"
#include "miscadmin.h"
#include "parser/scansup.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.20 2002/06/20 20:29:33 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.21 2002/09/05 00:43:07 tgl Exp $
*
* NOTES
* all functions are defined here -- it's impossible to trace the
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+
/* System includes */
-#include "postgres.h"
-
#include "dl.h"
#include "dynloader.h"
#include "utils/dynamic_loader.h"
+#include "postgres.h"
+
#include "mach-o/rld.h"
#include "streams/streams.h"
+
#include
static char *lastError = NULL;
+#include "postgres.h"
+
#ifndef _POSIX_SOURCE
#include "libc.h"
#else
#include
-#include
#endif
-#include
#include
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.13 2002/06/20 20:29:34 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/file/buffile.c,v 1.14 2002/09/05 00:43:07 tgl Exp $
*
* NOTES:
*
*-------------------------------------------------------------------------
*/
-#include
-
#include "postgres.h"
+#include
+
#include "storage/fd.h"
#include "storage/buffile.h"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.65 2002/09/04 20:31:27 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.66 2002/09/05 00:43:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+
#include
#include
#include
#include
-#include "postgres.h"
-
#include "utils/geo_decls.h"
#ifndef PI
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/quote.c,v 1.9 2002/09/03 21:45:42 petere Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/quote.c,v 1.10 2002/09/05 00:43:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
-#include
-
#include "postgres.h"
+#include
+
#include "mb/pg_wchar.h"
#include "utils/builtins.h"
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: dbcommands.h,v 1.25 2002/08/09 16:45:16 tgl Exp $
+ * $Id: dbcommands.h,v 1.26 2002/09/05 00:43:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef DBCOMMANDS_H
#define DBCOMMANDS_H
-#include
+#include "nodes/parsenodes.h"
extern void createdb(const CreatedbStmt *stmt);
extern void dropdb(const char *dbname);
* or in pg_config.h afterwards. Of course, if you edit pg_config.h, then your
* changes will be overwritten the next time you run configure.
*
- * $Id: pg_config.h.in,v 1.31 2002/09/04 22:54:18 petere Exp $
+ * $Id: pg_config.h.in,v 1.32 2002/09/05 00:43:07 tgl Exp $
*/
#ifndef PG_CONFIG_H
/* Define as empty if the C compiler doesn't understand "volatile". */
#undef volatile
+/* Define to 1 to make fseeko visible on some hosts. */
+#undef _LARGEFILE_SOURCE
+
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
+/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
+#undef HAVE_FSEEKO
+
+#ifndef HAVE_FSEEKO
+#define fseeko(a, b, c) fseek((a), (b), (c))
+#define ftello(a) ftell((a))
+#endif
+
/* Define if your cpp understands the ANSI stringizing operators in macros */
#undef HAVE_STRINGIZE
/* Define exactly one of these symbols to select shared-mem implementation */
#undef USE_SYSV_SHARED_MEMORY
-/* Define to 1 to make fseeko visible on some hosts. */
-#undef _LARGEFILE_SOURCE
-
-/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
-#undef HAVE_FSEEKO
-
-#ifndef HAVE_FSEEKO
-#define fseeko(a, b, c) fseek((a), (b), (c))
-#define ftello(a) ftell((a))
-#endif
-
-/* Number of bits in a file offset, on hosts where this is settable. */
-#undef _FILE_OFFSET_BITS
-
-/* Define for large files, on AIX-style hosts. */
-#undef _LARGE_FILES
-
/*
*------------------------------------------------------------------------
* procedural language
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.63 2002/09/04 20:31:47 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.64 2002/09/05 00:43:07 tgl Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
*
**********************************************************************/
-#include
-#include
-
#include "plpgsql.h"
#include "pl.tab.h"
+#include
+#include
+
#include "access/heapam.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
* procedural language
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_funcs.c,v 1.22 2002/09/04 20:31:47 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_funcs.c,v 1.23 2002/09/05 00:43:07 tgl Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
*
**********************************************************************/
-#include
-
#include "plpgsql.h"
#include "pl.tab.h"
+#include
+
#include "mb/pg_wchar.h"