mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
>> 5. empty define that results in an empty but terminated line ( ; )
easy (maybe dumb) fix for 5 in attachment define.patch greetings, Andreas
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.147 2000/03/01 02:39:46 ishii Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.148 2000/03/23 23:16:48 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* this is the "main" module of the postgres backend and
|
||||
@ -97,7 +97,9 @@
|
||||
CommandDest whereToSendOutput = Debug;
|
||||
|
||||
/* Define status buffer needed by PS_SET_STATUS */
|
||||
#ifdef PS_DEFINE_BUFFER
|
||||
PS_DEFINE_BUFFER;
|
||||
#endif
|
||||
|
||||
extern void BaseInit(void);
|
||||
extern void StartupXLOG(void);
|
||||
@ -1503,7 +1505,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
|
||||
if (!IsUnderPostmaster)
|
||||
{
|
||||
puts("\nPOSTGRES backend interactive interface ");
|
||||
puts("$Revision: 1.147 $ $Date: 2000/03/01 02:39:46 $\n");
|
||||
puts("$Revision: 1.148 $ $Date: 2000/03/23 23:16:48 $\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -50,7 +50,7 @@ char *ps_status_buffer = NULL
|
||||
|
||||
extern char Ps_status_buffer[];
|
||||
|
||||
#define PS_DEFINE_BUFFER
|
||||
#undef PS_DEFINE_BUFFER
|
||||
|
||||
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname) \
|
||||
{ \
|
||||
@ -75,7 +75,7 @@ extern char Ps_status_buffer[];
|
||||
#endif
|
||||
|
||||
#ifdef NO_PS_STATUS
|
||||
#define PS_DEFINE_BUFFER
|
||||
#undef PS_DEFINE_BUFFER
|
||||
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname)
|
||||
#define PS_CLEAR_STATUS()
|
||||
#define PS_SET_STATUS(status) { if ((status)); }
|
||||
|
Reference in New Issue
Block a user