mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user