mirror of
https://github.com/postgres/postgres.git
synced 2025-11-16 15:02:33 +03:00
Re-run pgindent, fixing a problem where comment lines after a blank
comment line where output as too long, and update typedefs for /lib directory. Also fix case where identifiers were used as variable names in the backend, but as typedefs in ecpg (favor the backend for indenting). Backpatch to 8.1.X.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/storage/page/bufpage.c,v 1.67 2005/10/15 02:49:26 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/storage/page/bufpage.c,v 1.68 2005/11/22 18:17:21 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -184,8 +184,8 @@ PageAddItem(Page page,
|
||||
/*
|
||||
* Compute new lower and upper pointers for page, see if it'll fit.
|
||||
*
|
||||
* Note: do arithmetic as signed ints, to avoid mistakes if, say, alignedSize
|
||||
* > pd_upper.
|
||||
* Note: do arithmetic as signed ints, to avoid mistakes if, say,
|
||||
* alignedSize > pd_upper.
|
||||
*/
|
||||
if (offsetNumber == limit || needshuffle)
|
||||
lower = phdr->pd_lower + sizeof(ItemIdData);
|
||||
@@ -524,8 +524,8 @@ PageIndexTupleDelete(Page page, OffsetNumber offnum)
|
||||
/*
|
||||
* Finally, we need to adjust the linp entries that remain.
|
||||
*
|
||||
* Anything that used to be before the deleted tuple's data was moved forward
|
||||
* by the size of the deleted tuple.
|
||||
* Anything that used to be before the deleted tuple's data was moved
|
||||
* forward by the size of the deleted tuple.
|
||||
*/
|
||||
if (!PageIsEmpty(page))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user