mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +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:
@ -5,7 +5,7 @@
|
||||
* to contain some useful information. Mechanism differs wildly across
|
||||
* platforms.
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/ps_status.c,v 1.26 2005/11/05 03:04:52 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/ps_status.c,v 1.27 2005/11/22 18:17:26 momjian Exp $
|
||||
*
|
||||
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
||||
* various details abducted from various places
|
||||
@ -380,7 +380,7 @@ get_ps_display(int *displen)
|
||||
|
||||
/* Remove any trailing spaces to offset the effect of PS_PADDING */
|
||||
offset = ps_buffer_size;
|
||||
while (offset > ps_buffer_fixed_size && ps_buffer[offset-1] == PS_PADDING)
|
||||
while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING)
|
||||
offset--;
|
||||
|
||||
*displen = offset - ps_buffer_fixed_size;
|
||||
|
Reference in New Issue
Block a user