aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-08-29 04:09:29 +0000
committerBruce Momjian <bruce@momjian.us>1998-08-29 04:09:29 +0000
commit9728ce74995fa467cd4de32d55d7070999035bbc (patch)
tree15be8e2712312532293a6721fc0dc959c9ecbdb1 /src/backend/commands/dbcommands.c
parent9a88848027f881e33f69ef05f79f3a16505e256a (diff)
downloadpostgresql-9728ce74995fa467cd4de32d55d7070999035bbc.tar.gz
postgresql-9728ce74995fa467cd4de32d55d7070999035bbc.zip
This is the first (of hopefully few) AIX port patches. This patch
was tested with Linux/GCC. I still have some issues with with the snprintf() function. David Hartwig
Diffstat (limited to 'src/backend/commands/dbcommands.c')
-rw-r--r--src/backend/commands/dbcommands.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c
index 80cb60f203a..fdd6a6a3cc3 100644
--- a/src/backend/commands/dbcommands.c
+++ b/src/backend/commands/dbcommands.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.21 1998/08/24 01:13:40 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.22 1998/08/29 04:09:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -45,8 +45,8 @@ static void stop_vacuum(char *dbpath, char *dbname);
void
createdb(char *dbname, char *dbpath, int encoding)
{
- Oid db_id,
- user_id;
+ Oid db_id;
+ int4 user_id;
char buf[512];
char *lp,
loc[512];
@@ -100,8 +100,8 @@ createdb(char *dbname, char *dbpath, int encoding)
void
destroydb(char *dbname)
{
- Oid user_id,
- db_id;
+ int4 user_id;
+ Oid db_id;
char *path;
char dbpath[MAXPGPATH + 1];
char buf[512];