diff options
| author | Tatsuo Ishii <ishii@postgresql.org> | 1999-12-10 10:29:01 +0000 |
|---|---|---|
| committer | Tatsuo Ishii <ishii@postgresql.org> | 1999-12-10 10:29:01 +0000 |
| commit | d31ff14ed871da4deff2f47486ebc0df3b1b6461 (patch) | |
| tree | 0102b8536dc9fce19377bcbb0f6f1ad475bf14b6 /src/backend/utils/init/globals.c | |
| parent | 18c30002863a1a4d2c2f0da6d245f106586bc686 (diff) | |
| download | postgresql-d31ff14ed871da4deff2f47486ebc0df3b1b6461.tar.gz | |
Fix memory overrun while setting ps status
Diffstat (limited to 'src/backend/utils/init/globals.c')
| -rw-r--r-- | src/backend/utils/init/globals.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c index cada72bb08..19d07dc752 100644 --- a/src/backend/utils/init/globals.c +++ b/src/backend/utils/init/globals.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.38 1999/10/08 04:28:48 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.39 1999/12/10 10:29:01 ishii Exp $ * * NOTES * Globals used all over the place should be declared here and not @@ -88,6 +88,13 @@ char *IndexedCatalogNames[] = { }; +/* + * ps status buffer + */ +#ifndef linux +char Ps_status_buffer[1024]; +#endif + /* ---------------- * we just do a linear search now so there's no requirement that the list * be ordered. The list is so small it shouldn't make much difference. |
