mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Fixes: Errors when PQexec() in backend creates temp
relations and transaction is aborted Submitted by: wieck@sapserv.debis.de (Jan Wieck)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.15 1996/10/13 18:38:04 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.16 1996/10/24 07:55:07 scrappy Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@@ -876,7 +876,7 @@ BackendStartup(StartupInfo *packet, /* client's startup packet */
|
||||
static char envEntry[4][2 * ARGV_SIZE];
|
||||
|
||||
for (i = 0; i < 4; ++i) {
|
||||
memset(envEntry[i], 2*ARGV_SIZE,0);
|
||||
memset(envEntry[i], 0, 2*ARGV_SIZE);
|
||||
}
|
||||
/*
|
||||
* Set up the necessary environment variables for the backend
|
||||
|
||||
Reference in New Issue
Block a user