~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/backend/postmaster/syslogger.c

  • Committer: Bazaar Package Importer
  • Author(s): Ubuntu Archive Backport
  • Date: 2009-11-09 13:46:16 UTC
  • mfrom: (5.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091109134616-ae14l9tr3g7p2t9y
Tags: 8.4.1-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *
19
19
 *
20
20
 * IDENTIFICATION
21
 
 *        $PostgreSQL: pgsql/src/backend/postmaster/syslogger.c,v 1.50 2009/03/18 08:44:49 heikki Exp $
 
21
 *        $PostgreSQL: pgsql/src/backend/postmaster/syslogger.c,v 1.51 2009/06/11 14:49:01 momjian Exp $
22
22
 *
23
23
 *-------------------------------------------------------------------------
24
24
 */
368
368
                 * Wait for some data, timing out after 1 second
369
369
                 */
370
370
                FD_ZERO(&rfds);
371
 
                FD_SET(syslogPipe[0], &rfds);
 
371
                FD_SET          (syslogPipe[0], &rfds);
 
372
 
372
373
                timeout.tv_sec = 1;
373
374
                timeout.tv_usec = 0;
374
375
 
1194
1195
 
1195
1196
        /* treat it as a strftime pattern */
1196
1197
        pg_strftime(filename + len, MAXPGPATH - len, Log_filename,
1197
 
                pg_localtime(&timestamp, log_timezone));
 
1198
                                pg_localtime(&timestamp, log_timezone));
1198
1199
 
1199
1200
        if (suffix != NULL)
1200
1201
        {