mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.33 1997/04/24 03:39:09 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.34 1997/07/24 20:15:03 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* this is the "main" module of the postgres backend and
|
||||
@@ -54,6 +54,7 @@
|
||||
#include "executor/execdebug.h"
|
||||
#include "executor/executor.h"
|
||||
#include "nodes/relation.h"
|
||||
#include "nodes/print.h"
|
||||
|
||||
#include "optimizer/cost.h"
|
||||
#include "optimizer/planner.h"
|
||||
@@ -1270,7 +1271,7 @@ PostgresMain(int argc, char *argv[])
|
||||
*/
|
||||
if (IsUnderPostmaster == false) {
|
||||
puts("\nPOSTGRES backend interactive interface");
|
||||
puts("$Revision: 1.33 $ $Date: 1997/04/24 03:39:09 $");
|
||||
puts("$Revision: 1.34 $ $Date: 1997/07/24 20:15:03 $");
|
||||
}
|
||||
|
||||
/* ----------------
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.17 1997/05/22 00:15:36 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.18 1997/07/24 20:15:18 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -476,7 +476,6 @@ ProcessUtility(Node *parsetree,
|
||||
{
|
||||
char *viewName = stmt->name;
|
||||
char *ruleName;
|
||||
extern char *RewriteGetRuleEventRel();
|
||||
|
||||
#ifndef NO_SECURITY
|
||||
|
||||
@@ -587,7 +586,7 @@ ProcessUtility(Node *parsetree,
|
||||
case T_LoadStmt:
|
||||
{
|
||||
LoadStmt *stmt = (LoadStmt *)parsetree;
|
||||
FILE *fp, *fopen();
|
||||
FILE *fp;
|
||||
char *filename;
|
||||
|
||||
commandTag = "LOAD";
|
||||
|
||||
Reference in New Issue
Block a user