mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
This patch fixes one of two problems with grant/revoke statements on the
Linux platform. From: James Hughes <jamesh@interpath.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.8 1997/09/08 02:31:57 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.9 1998/01/25 04:07:00 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@@ -226,7 +226,7 @@ GetProcessingMode()
|
|||||||
char *
|
char *
|
||||||
GetDatabasePath()
|
GetDatabasePath()
|
||||||
{
|
{
|
||||||
return DatabasePath;
|
return strdup(DatabasePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -236,7 +236,7 @@ GetDatabasePath()
|
|||||||
char *
|
char *
|
||||||
GetDatabaseName()
|
GetDatabaseName()
|
||||||
{
|
{
|
||||||
return DatabaseName;
|
return strdup(DatabaseName);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user