mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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:
@ -14,7 +14,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/resowner/resowner.c,v 1.15 2005/11/07 17:36:45 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/resowner/resowner.c,v 1.16 2005/11/22 18:17:27 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -198,9 +198,9 @@ ResourceOwnerReleaseInternal(ResourceOwner owner,
|
||||
* buffer entry from my list, so I just have to iterate till there are
|
||||
* none.
|
||||
*
|
||||
* During a commit, there shouldn't be any remaining pins --- that would
|
||||
* indicate failure to clean up the executor correctly --- so issue
|
||||
* warnings. In the abort case, just clean up quietly.
|
||||
* During a commit, there shouldn't be any remaining pins --- that
|
||||
* would indicate failure to clean up the executor correctly --- so
|
||||
* issue warnings. In the abort case, just clean up quietly.
|
||||
*
|
||||
* We are careful to do the releasing back-to-front, so as to avoid
|
||||
* O(N^2) behavior in ResourceOwnerForgetBuffer().
|
||||
@ -217,8 +217,8 @@ ResourceOwnerReleaseInternal(ResourceOwner owner,
|
||||
* the relref entry from my list, so I just have to iterate till there
|
||||
* are none.
|
||||
*
|
||||
* As with buffer pins, warn if any are left at commit time, and release
|
||||
* back-to-front for speed.
|
||||
* As with buffer pins, warn if any are left at commit time, and
|
||||
* release back-to-front for speed.
|
||||
*/
|
||||
while (owner->nrelrefs > 0)
|
||||
{
|
||||
@ -260,8 +260,8 @@ ResourceOwnerReleaseInternal(ResourceOwner owner,
|
||||
* the catref entry from my list, so I just have to iterate till there
|
||||
* are none. Ditto for catcache lists.
|
||||
*
|
||||
* As with buffer pins, warn if any are left at commit time, and release
|
||||
* back-to-front for speed.
|
||||
* As with buffer pins, warn if any are left at commit time, and
|
||||
* release back-to-front for speed.
|
||||
*/
|
||||
while (owner->ncatrefs > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user