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:
@@ -16,7 +16,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/spin.c,v 1.17 2005/10/15 02:49:26 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/spin.c,v 1.18 2005/11/22 18:17:21 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -54,8 +54,8 @@ SpinlockSemas(void)
|
||||
* It would be cleaner to distribute this logic into the affected modules,
|
||||
* similar to the way shmem space estimation is handled.
|
||||
*
|
||||
* For now, though, we just need a few spinlocks (10 should be plenty) plus
|
||||
* one for each LWLock.
|
||||
* For now, though, we just need a few spinlocks (10 should be plenty)
|
||||
* plus one for each LWLock.
|
||||
*/
|
||||
return NumLWLocks() + 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user