Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
4f979e8b
Commit
4f979e8b
authored
Jul 04, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restructure zic #define fprintf checks to use a NO_PGPORT macro instead.
parent
8a794511
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
15 deletions
+5
-15
src/include/port.h
src/include/port.h
+2
-2
src/timezone/Makefile
src/timezone/Makefile
+2
-2
src/timezone/pgtz.h
src/timezone/pgtz.h
+1
-11
No files found.
src/include/port.h
View file @
4f979e8b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/port.h,v 1.7
6 2005/06/27 02:04:25 neilc
Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.7
7 2005/07/04 19:54:51 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -108,7 +108,7 @@ extern int pg_strncasecmp(const char *s1, const char *s2, size_t n);
...
@@ -108,7 +108,7 @@ extern int pg_strncasecmp(const char *s1, const char *s2, size_t n);
extern
unsigned
char
pg_toupper
(
unsigned
char
ch
);
extern
unsigned
char
pg_toupper
(
unsigned
char
ch
);
extern
unsigned
char
pg_tolower
(
unsigned
char
ch
);
extern
unsigned
char
pg_tolower
(
unsigned
char
ch
);
#if
def USE_SNPRINTF
#if
defined(USE_SNPRINTF) && !defined(NO_PGPORT)
extern
int
pg_vsnprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,
va_list
args
);
extern
int
pg_vsnprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,
va_list
args
);
extern
int
pg_snprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,...)
extern
int
pg_snprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,...)
/* This extension allows gcc to check the format string */
/* This extension allows gcc to check the format string */
...
...
src/timezone/Makefile
View file @
4f979e8b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# Makefile for the timezone library
# Makefile for the timezone library
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
19 2005/07/04 02:55:59 neilc
Exp $
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
20 2005/07/04 19:54:51 momjian
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -12,7 +12,7 @@ subdir = src/timezone
...
@@ -12,7 +12,7 @@ subdir = src/timezone
top_builddir
=
../..
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
include
$(top_builddir)/src/Makefile.global
override CPPFLAGS
:
= $(CPPFLAGS) -I$(srcdir)
override CPPFLAGS
:
= $(CPPFLAGS) -I$(srcdir)
-DNO_PGPORT
# files to build into backend
# files to build into backend
OBJS
=
localtime.o strftime.o pgtz.o
OBJS
=
localtime.o strftime.o pgtz.o
...
...
src/timezone/pgtz.h
View file @
4f979e8b
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.1
3 2005/07/04 18:21:40
momjian Exp $
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.1
4 2005/07/04 19:54:51
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -18,16 +18,6 @@
...
@@ -18,16 +18,6 @@
#include "tzfile.h"
#include "tzfile.h"
/*
* Prevent the use of /port functions because
* the are not included in this binary.
*/
#undef vsnprintf
#undef snprintf
#undef sprintf
#undef fprintf
#undef printf
extern
char
*
pg_TZDIR
(
void
);
extern
char
*
pg_TZDIR
(
void
);
#define BIGGEST(a, b) (((a) > (b)) ? (a) : (b))
#define BIGGEST(a, b) (((a) > (b)) ? (a) : (b))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment