mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix typo in struct name.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.6 1997/01/25 21:01:16 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.7 1997/01/26 00:45:25 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -139,7 +139,7 @@ InitBufferPool(IPCKey key)
|
|||||||
/* we need both checks because a sbufdesc_padded > PADDED_SBUFDESC_SIZE
|
/* we need both checks because a sbufdesc_padded > PADDED_SBUFDESC_SIZE
|
||||||
will shrink sbufdesc to the required size, which is bad */
|
will shrink sbufdesc to the required size, which is bad */
|
||||||
if (sizeof(struct sbufdesc) != PADDED_SBUFDESC_SIZE ||
|
if (sizeof(struct sbufdesc) != PADDED_SBUFDESC_SIZE ||
|
||||||
sizeof(struct sbufdesc_padded) > PADDED_SBUFDESC_SIZE)
|
sizeof(struct sbufdesc_unpadded) > PADDED_SBUFDESC_SIZE)
|
||||||
elog(WARN,"Internal error: sbufdesc does not have the proper size, "
|
elog(WARN,"Internal error: sbufdesc does not have the proper size, "
|
||||||
"contact the Postgres developers");
|
"contact the Postgres developers");
|
||||||
if (sizeof(struct sbufdesc_unpadded) <= PADDED_SBUFDESC_SIZE/2)
|
if (sizeof(struct sbufdesc_unpadded) <= PADDED_SBUFDESC_SIZE/2)
|
||||||
|
Reference in New Issue
Block a user