1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Pgindent run for 8.0.

This commit is contained in:
Bruce Momjian
2004-08-29 05:07:03 +00:00
parent 90cb9c3051
commit b6b71b85bc
527 changed files with 20550 additions and 18283 deletions

View File

@@ -29,7 +29,7 @@
#endif
#endif
#define WAL_FILE_SIZE (16 * 1024 * 1024)
#define WAL_FILE_SIZE (16 * 1024 * 1024)
void die(char *str);
void print_elapse(struct timeval start_t, struct timeval elapse_t);
@@ -41,20 +41,20 @@ main(int argc, char *argv[])
struct timeval elapse_t;
int tmpfile,
i,
loops=1000;
loops = 1000;
char *strout = (char *) malloc(WAL_FILE_SIZE);
char *filename = FSYNC_FILENAME;
if (argc > 2 && strcmp(argv[1],"-f") == 0)
if (argc > 2 && strcmp(argv[1], "-f") == 0)
{
filename = argv[2];
argv += 2;
argc -= 2;
}
if (argc > 1)
loops = atoi(argv[1]);
loops = atoi(argv[1]);
for (i = 0; i < WAL_FILE_SIZE; i++)
strout[i] = 'a';