mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
pgindent run for 9.5
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
* Flags for pg_malloc_extended and palloc_extended, deliberately named
|
||||
* the same as the backend flags.
|
||||
*/
|
||||
#define MCXT_ALLOC_HUGE 0x01 /* allow huge allocation (> 1 GB)
|
||||
* not actually used for frontends */
|
||||
#define MCXT_ALLOC_HUGE 0x01 /* allow huge allocation (> 1 GB) not
|
||||
* actually used for frontends */
|
||||
#define MCXT_ALLOC_NO_OOM 0x02 /* no failure if out-of-memory */
|
||||
#define MCXT_ALLOC_ZERO 0x04 /* zero allocated memory */
|
||||
|
||||
|
@@ -86,6 +86,6 @@ extern const PGLZ_Strategy *const PGLZ_strategy_always;
|
||||
extern int32 pglz_compress(const char *source, int32 slen, char *dest,
|
||||
const PGLZ_Strategy *strategy);
|
||||
extern int32 pglz_decompress(const char *source, int32 slen, char *dest,
|
||||
int32 rawsize);
|
||||
int32 rawsize);
|
||||
|
||||
#endif /* _PG_LZCOMPRESS_H_ */
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* restricted_token.h
|
||||
* helper routine to ensure restricted token on Windows
|
||||
*
|
||||
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* src/include/common/restricted_token.h
|
||||
*/
|
||||
@@ -14,11 +14,11 @@
|
||||
* On Windows make sure that we are running with a restricted token,
|
||||
* On other platforms do nothing.
|
||||
*/
|
||||
void get_restricted_token(const char *progname);
|
||||
void get_restricted_token(const char *progname);
|
||||
|
||||
#ifdef WIN32
|
||||
/* Create a restricted token and execute the specified process with it. */
|
||||
HANDLE CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, const char *progname);
|
||||
HANDLE CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, const char *progname);
|
||||
#endif
|
||||
|
||||
#endif /* COMMON_RESTRICTED_TOKEN_H */
|
||||
|
@@ -2,8 +2,8 @@
|
||||
* string.h
|
||||
* string handling helpers
|
||||
*
|
||||
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* src/include/common/string.h
|
||||
*/
|
||||
|
Reference in New Issue
Block a user