1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-03 09:13:20 +03:00

updated install file

updated date/time types doc
fixed small psql bug
removed libpq code that lower-cased db names
make notice when long identifier is truncated
This commit is contained in:
Peter Eisentraut
2000-01-23 01:27:39 +00:00
parent 978d2385a8
commit 49581f9848
6 changed files with 438 additions and 702 deletions

View File

@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Team
*
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.14 2000/01/22 14:20:51 petere Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.15 2000/01/23 01:27:37 petere Exp $
*/
#include <c.h>
#include "command.h"
@@ -1198,6 +1198,7 @@ process_file(char *filename)
{
FILE *fd;
int result;
char *oldfilename;
if (!filename)
return false;
@@ -1214,10 +1215,11 @@ process_file(char *filename)
return false;
}
oldfilename = pset.inputfile;
pset.inputfile = filename;
result = MainLoop(fd);
fclose(fd);
pset.inputfile = NULL;
pset.inputfile = oldfilename;
return (result == EXIT_SUCCESS);
}