Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8164fb8

Browse files
committed
Avoid including any backend-only stuff in the zic utility program.
Per gripe from Zdenek Kotala, though not exactly his patch.
1 parent350196d commit8164fb8

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

‎src/timezone/ialloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
44
*
55
* IDENTIFICATION
6-
* $PostgreSQL: pgsql/src/timezone/ialloc.c,v 1.8 2007/01/2617:45:42 neilc Exp $
6+
* $PostgreSQL: pgsql/src/timezone/ialloc.c,v 1.9 2007/10/2613:30:10 tgl Exp $
77
*/
88

9-
#include"postgres.h"
9+
#include"postgres_fe.h"
1010

1111
#include"private.h"
1212

‎src/timezone/localtime.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
44
*
55
* IDENTIFICATION
6-
* $PostgreSQL: pgsql/src/timezone/localtime.c,v 1.17 2007/08/04 19:29:25 tgl Exp $
6+
* $PostgreSQL: pgsql/src/timezone/localtime.c,v 1.18 2007/10/26 13:30:10 tgl Exp $
77
*/
88

99
/*
@@ -12,7 +12,8 @@
1212
* (guy@auspex.com).
1313
*/
1414

15-
#include"postgres.h"
15+
/* this file needs to build in both frontend and backend contexts */
16+
#include"c.h"
1617

1718
#include<fcntl.h>
1819

‎src/timezone/scheck.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
44
*
55
* IDENTIFICATION
6-
* $PostgreSQL: pgsql/src/timezone/scheck.c,v 1.7 2005/10/15 02:49:51 momjian Exp $
6+
* $PostgreSQL: pgsql/src/timezone/scheck.c,v 1.8 2007/10/26 13:30:10 tgl Exp $
77
*/
88

9-
#include"postgres.h"
9+
#include"postgres_fe.h"
1010

1111
#include"private.h"
1212

‎src/timezone/zic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
44
*
55
* IDENTIFICATION
6-
* $PostgreSQL: pgsql/src/timezone/zic.c,v 1.21 2007/02/01 19:10:30 momjian Exp $
6+
* $PostgreSQL: pgsql/src/timezone/zic.c,v 1.22 2007/10/26 13:30:10 tgl Exp $
77
*/
88

9-
#include"postgres.h"
9+
#include"postgres_fe.h"
1010

1111
#ifdefHAVE_GETOPT_H
1212
#include<getopt.h>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp