mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
pgindent run before PG 9.1 beta 1.
This commit is contained in:
@@ -204,7 +204,7 @@ main(int argc, char *argv[])
|
||||
/*
|
||||
* Place platform-specific startup hacks here. This is the right
|
||||
* place to put code that must be executed early in the launch of any new
|
||||
* server process. Note that this code will NOT be executed when a backend
|
||||
* server process. Note that this code will NOT be executed when a backend
|
||||
* or sub-bootstrap process is forked, unless we are in a fork/exec
|
||||
* environment (ie EXEC_BACKEND is defined).
|
||||
*
|
||||
@@ -218,8 +218,8 @@ startup_hacks(const char *progname)
|
||||
/*
|
||||
* On some platforms, unaligned memory accesses result in a kernel trap;
|
||||
* the default kernel behavior is to emulate the memory access, but this
|
||||
* results in a significant performance penalty. We want PG never to
|
||||
* make such unaligned memory accesses, so this code disables the kernel
|
||||
* results in a significant performance penalty. We want PG never to make
|
||||
* such unaligned memory accesses, so this code disables the kernel
|
||||
* emulation: unaligned accesses will result in SIGBUS instead.
|
||||
*/
|
||||
#ifdef NOFIXADE
|
||||
@@ -230,7 +230,7 @@ startup_hacks(const char *progname)
|
||||
|
||||
#if defined(__alpha) /* no __alpha__ ? */
|
||||
{
|
||||
int buffer[] = {SSIN_UACPROC, UAC_SIGBUS | UAC_NOPRINT};
|
||||
int buffer[] = {SSIN_UACPROC, UAC_SIGBUS | UAC_NOPRINT};
|
||||
|
||||
if (setsysinfo(SSI_NVPAIRS, buffer, 1, (caddr_t) NULL,
|
||||
(unsigned long) NULL) < 0)
|
||||
@@ -238,7 +238,6 @@ startup_hacks(const char *progname)
|
||||
progname, strerror(errno));
|
||||
}
|
||||
#endif /* __alpha */
|
||||
|
||||
#endif /* NOFIXADE */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user