Cleanup of <> and ""

This commit is contained in:
Bruce Momjian 2000-05-29 21:25:07 +00:00
parent 6ed00fee53
commit 6c944bf3cc
35 changed files with 79 additions and 79 deletions

View File

@ -14,7 +14,7 @@
#include <tcl.h> #include <tcl.h>
#include <libpgtcl.h> #include "libpgtcl.h"
/* /*
* The following variable is a special hack that is needed in order for * The following variable is a special hack that is needed in order for

View File

@ -13,7 +13,7 @@
*/ */
#include <tk.h> #include <tk.h>
#include <libpgtcl.h> #include "libpgtcl.h"
/* /*
* The following variable is a special hack that is needed in order for * The following variable is a special hack that is needed in order for

View File

@ -30,7 +30,7 @@
* calls. * calls.
*/ */
#include <sqlcli.h> #include "sqlcli.h"
#include <string.h> #include <string.h>
#ifndef NULL #ifndef NULL

View File

@ -30,7 +30,7 @@
* Sample program - uses concise CLI functions to execute * Sample program - uses concise CLI functions to execute
* interactively an ad hoc statement. * interactively an ad hoc statement.
*/ */
#include <sqlcli.h> #include "sqlcli.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,5 +1,5 @@
#include <postgres.h> #include "postgres.h"
#include <libpq-fe.h> #include "libpq-fe.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"

View File

@ -1,8 +1,8 @@
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include "extern.h" #include "extern.h"
#include <sqlca.h> #include "sqlca.h"
static struct connection *all_connections = NULL, static struct connection *all_connections = NULL,
*actual_connection = NULL; *actual_connection = NULL;

View File

@ -1,11 +1,11 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include "extern.h" #include "extern.h"
#include <sqlca.h> #include "sqlca.h"
bool bool
get_data(PGresult *results, int act_tuple, int act_field, int lineno, get_data(PGresult *results, int act_tuple, int act_field, int lineno,

View File

@ -1,8 +1,8 @@
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include "extern.h" #include "extern.h"
#include <sql3types.h> #include "sql3types.h"
struct descriptor struct descriptor
{ {

View File

@ -1,10 +1,10 @@
#include <stdio.h> #include <stdio.h>
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include "extern.h" #include "extern.h"
#include <sqlca.h> #include "sqlca.h"
void void
ECPGraise(int line, int code, const char *str) ECPGraise(int line, int code, const char *str)

View File

@ -15,12 +15,12 @@
#include <stdio.h> #include <stdio.h>
#include <locale.h> #include <locale.h>
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include "extern.h" #include "extern.h"
#include <sqlca.h> #include "sqlca.h"
#include <sql3types.h> #include "sql3types.h"
/* variables visible to the programs */ /* variables visible to the programs */
struct sqlca sqlca = struct sqlca sqlca =
@ -868,7 +868,7 @@ ECPGdo(int lineno, const char *connection_name, char *query,...)
* *
* Copyright (c) 2000, Christof Petig <christof.petig@wtal.de> * Copyright (c) 2000, Christof Petig <christof.petig@wtal.de>
* *
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.6 2000/04/12 17:17:03 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.7 2000/05/29 21:25:00 momjian Exp $
*/ */
PGconn *ECPG_internal_get_connection(char *name); PGconn *ECPG_internal_get_connection(char *name);

View File

@ -1,5 +1,5 @@
#include <postgres.h> #include "postgres.h"
#include <libpq-fe.h> #include "libpq-fe.h"
/* Here are some methods used by the lib. */ /* Here are some methods used by the lib. */
/* Returns a pointer to a string containing a simple type name. */ /* Returns a pointer to a string containing a simple type name. */

View File

@ -1,6 +1,6 @@
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include "extern.h" #include "extern.h"
char * char *

View File

@ -1,9 +1,9 @@
#include <unistd.h> #include <unistd.h>
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include "extern.h" #include "extern.h"
#include <sqlca.h> #include "sqlca.h"
static struct sqlca sqlca_init = static struct sqlca sqlca_init =
{ {

View File

@ -1,10 +1,10 @@
#include <ctype.h> #include <ctype.h>
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include <ecpgerrno.h> #include "ecpgerrno.h"
#include "extern.h" #include "extern.h"
#include <sqlca.h> #include "sqlca.h"
static struct prepared_statement static struct prepared_statement
{ {

View File

@ -1,8 +1,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <ecpgtype.h> #include "ecpgtype.h"
#include <ecpglib.h> #include "ecpglib.h"
#include "extern.h" #include "extern.h"
#include <sql3types.h> #include "sql3types.h"
/* /*
* This function is used to generate the correct type names. * This function is used to generate the correct type names.

View File

@ -1,4 +1,4 @@
#include <ecpgtype.h> #include "ecpgtype.h"
struct ECPGtype; struct ECPGtype;
struct ECPGstruct_member struct ECPGstruct_member

View File

@ -5,9 +5,9 @@
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
#include <libpq-fe.h> #include "libpq-fe.h"
#include "../halt.h" #include "../halt.h"
#include <libpgeasy.h> #include "libpgeasy.h"
int int
main(int argc, char **argv) main(int argc, char **argv)

View File

@ -7,9 +7,9 @@
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
#include <libpq-fe.h> #include "libpq-fe.h"
#include "../halt.h" #include "../halt.h"
#include <libpgeasy.h> #include "libpgeasy.h"
int int
main(int argc, char **argv) main(int argc, char **argv)

View File

@ -4,9 +4,9 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <libpq-fe.h> #include "libpq-fe.h"
#include "../halt.h" #include "../halt.h"
#include <libpgeasy.h> #include "libpgeasy.h"
int int
main(int argc, char **argv) main(int argc, char **argv)

View File

@ -7,7 +7,7 @@
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <libpq-fe.h> #include "libpq-fe.h"
#include "halt.h" #include "halt.h"
#include "libpgeasy.h" #include "libpgeasy.h"

View File

@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: libpgtcl.h,v 1.9 2000/01/26 05:58:43 momjian Exp $ * $Id: libpgtcl.h,v 1.10 2000/05/29 21:25:03 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -16,7 +16,7 @@
#ifndef LIBPGTCL_H #ifndef LIBPGTCL_H
#define LIBPGTCL_H #define LIBPGTCL_H
#include "tcl.h" #include <tcl.h>
extern int Pgtcl_Init(Tcl_Interp *interp); extern int Pgtcl_Init(Tcl_Interp *interp);
extern int Pgtcl_SafeInit(Tcl_Interp *interp); extern int Pgtcl_SafeInit(Tcl_Interp *interp);

View File

@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: pgtclCmds.h,v 1.17 2000/04/12 17:17:11 momjian Exp $ * $Id: pgtclCmds.h,v 1.18 2000/05/29 21:25:03 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -14,7 +14,7 @@
#ifndef PGTCLCMDS_H #ifndef PGTCLCMDS_H
#define PGTCLCMDS_H #define PGTCLCMDS_H
#include "tcl.h" #include <tcl.h>
#include "libpq-fe.h" #include "libpq-fe.h"
#define RES_HARD_MAX 128 #define RES_HARD_MAX 128

View File

@ -9,13 +9,13 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlibpq0.cc,v 1.5 1999/12/03 18:28:32 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlibpq0.cc,v 1.6 2000/05/29 21:25:04 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <iostream.h> #include <iostream.h>
#include <libpq++.h> #include "libpq++.h"
int main() int main()
{ {

View File

@ -8,7 +8,7 @@
#include <iostream.h> #include <iostream.h>
#include <iomanip.h> #include <iomanip.h>
#include <libpq++.h> #include "libpq++.h"
int main() int main()
{ {

View File

@ -8,7 +8,7 @@
#include <iostream.h> #include <iostream.h>
#include <iomanip.h> #include <iomanip.h>
#include <libpq++.h> #include "libpq++.h"
int main() int main()
{ {

View File

@ -9,7 +9,7 @@
#include <iostream.h> #include <iostream.h>
#include <iomanip.h> #include <iomanip.h>
#include <libpq++.h> #include "libpq++.h"
int main() int main()
{ {

View File

@ -19,7 +19,7 @@ INSERT INTO TBL1 values (10);
* *
*/ */
#include <iostream.h> #include <iostream.h>
#include <libpq++.h> #include "libpq++.h"
#include <stdlib.h> #include <stdlib.h>
main() main()

View File

@ -27,7 +27,7 @@ tuple 1: got
* *
*/ */
#include <iostream.h> #include <iostream.h>
#include <libpq++.h> #include "libpq++.h"
#include <stdlib.h> #include <stdlib.h>
extern "C" { extern "C" {
#include "postgres.h" // for Postgres types #include "postgres.h" // for Postgres types

View File

@ -5,7 +5,7 @@
* *
*/ */
#include <iostream.h> #include <iostream.h>
#include <libpq++.h> #include "libpq++.h"
#include <stdlib.h> #include <stdlib.h>
main() main()

View File

@ -7,12 +7,12 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlo.cc,v 1.7 2000/04/25 21:00:29 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/examples/Attic/testlo.cc,v 1.8 2000/05/29 21:25:04 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <iostream.h> #include <iostream.h>
#include <libpq++.h> #include "libpq++.h"
#include <stdlib.h> #include <stdlib.h>
int main(int argc, char **argv) int main(int argc, char **argv)

View File

@ -10,11 +10,11 @@
* didn't really belong there. * didn't really belong there.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.37 2000/04/12 17:17:15 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.38 2000/05/29 21:25:04 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <postgres.h> #include "postgres.h"
#include <signal.h> #include <signal.h>
#include "libpq-fe.h" #include "libpq-fe.h"

View File

@ -30,8 +30,8 @@
#include "isql.h" #include "isql.h"
#include "isqlext.h" #include "isqlext.h"
#else #else
#include <sql.h> #include "sql.h"
#include <sqlext.h> #include "sqlext.h"
#endif #endif
/* Bind parameters on a statement handle */ /* Bind parameters on a statement handle */

View File

@ -26,9 +26,9 @@
* *
*/ */
#include <Python.h> #include "Python.h"
#include <libpq-fe.h> #include "libpq-fe.h"
#include <libpq/libpq-fs.h> #include "libpq/libpq-fs.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plperl/plperl.c,v 1.8 2000/05/29 01:59:13 tgl Exp $ * $Header: /cvsroot/pgsql/src/pl/plperl/plperl.c,v 1.9 2000/05/29 21:25:06 momjian Exp $
* *
**********************************************************************/ **********************************************************************/
@ -75,8 +75,8 @@
#ifndef HAS_UNION_SEMUN #ifndef HAS_UNION_SEMUN
#define HAS_UNION_SEMUN #define HAS_UNION_SEMUN
#endif #endif
#include <EXTERN.h> #include "EXTERN.h"
#include <perl.h> #include "perl.h"
/********************************************************************** /**********************************************************************

View File

@ -4,7 +4,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.8 1999/11/28 22:02:17 tgl Exp $ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.9 2000/05/29 21:25:07 momjian Exp $
* *
* This software is copyrighted by Jan Wieck - Hamburg. * This software is copyrighted by Jan Wieck - Hamburg.
* *
@ -36,8 +36,8 @@
* *
**********************************************************************/ **********************************************************************/
#include "stdio.h" #include <stdio.h>
#include "string.h" #include <string.h>
#include "plpgsql.h" #include "plpgsql.h"
#ifdef YYBISON #ifdef YYBISON
#include "pl_scan.c" /* GNU bison wants it here */ #include "pl_scan.c" /* GNU bison wants it here */