File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/backend/storage/buffer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.6 1997/01/25 21:01:16 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.7 1997/01/26 00:45:25 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -139,7 +139,7 @@ InitBufferPool(IPCKey key)
139
139
/* we need both checks because a sbufdesc_padded > PADDED_SBUFDESC_SIZE
140
140
will shrink sbufdesc to the required size, which is bad */
141
141
if (sizeof (struct sbufdesc ) != PADDED_SBUFDESC_SIZE ||
142
- sizeof (struct sbufdesc_padded ) > PADDED_SBUFDESC_SIZE )
142
+ sizeof (struct sbufdesc_unpadded ) > PADDED_SBUFDESC_SIZE )
143
143
elog (WARN ,"Internal error: sbufdesc does not have the proper size, "
144
144
"contact the Postgres developers" );
145
145
if (sizeof (struct sbufdesc_unpadded ) <= PADDED_SBUFDESC_SIZE /2 )
You can’t perform that action at this time.
0 commit comments