mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
* more space. We must always have maxlen > len.
|
||||
*
|
||||
* An exception occurs if we failed to allocate enough memory for the string
|
||||
* buffer. In that case data points to a statically allocated empty string,
|
||||
* buffer. In that case data points to a statically allocated empty string,
|
||||
* and len = maxlen = 0.
|
||||
*-------------------------
|
||||
*/
|
||||
@@ -115,7 +115,7 @@ extern void initPQExpBuffer(PQExpBuffer str);
|
||||
*
|
||||
* NOTE: some routines build up a string using PQExpBuffer, and then
|
||||
* release the PQExpBufferData but return the data string itself to their
|
||||
* caller. At that point the data string looks like a plain malloc'd
|
||||
* caller. At that point the data string looks like a plain malloc'd
|
||||
* string.
|
||||
*/
|
||||
extern void destroyPQExpBuffer(PQExpBuffer str);
|
||||
@@ -134,7 +134,7 @@ extern void resetPQExpBuffer(PQExpBuffer str);
|
||||
* Make sure there is enough space for 'needed' more bytes in the buffer
|
||||
* ('needed' does not include the terminating null).
|
||||
*
|
||||
* Returns 1 if OK, 0 if failed to enlarge buffer. (In the latter case
|
||||
* Returns 1 if OK, 0 if failed to enlarge buffer. (In the latter case
|
||||
* the buffer is left in "broken" state.)
|
||||
*/
|
||||
extern int enlargePQExpBuffer(PQExpBuffer str, size_t needed);
|
||||
@@ -142,7 +142,7 @@ extern int enlargePQExpBuffer(PQExpBuffer str, size_t needed);
|
||||
/*------------------------
|
||||
* printfPQExpBuffer
|
||||
* Format text data under the control of fmt (an sprintf-like format string)
|
||||
* and insert it into str. More space is allocated to str if necessary.
|
||||
* and insert it into str. More space is allocated to str if necessary.
|
||||
* This is a convenience routine that does the same thing as
|
||||
* resetPQExpBuffer() followed by appendPQExpBuffer().
|
||||
*/
|
||||
|
Reference in New Issue
Block a user