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
7146eb0b
Commit
7146eb0b
authored
Apr 30, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrate timezone library to be called only from Win32.
Timezone code backend integration done by Magnus Hagander.
parent
7d6f37b8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
9 deletions
+21
-9
configure
configure
+3
-0
configure.in
configure.in
+4
-2
src/Makefile
src/Makefile
+4
-1
src/Makefile.global.in
src/Makefile.global.in
+3
-1
src/timezone/Makefile
src/timezone/Makefile
+7
-5
No files found.
configure
View file @
7146eb0b
...
@@ -12017,6 +12017,8 @@ LIBOBJS="$LIBOBJS rand.$ac_objext"
...
@@ -12017,6 +12017,8 @@ LIBOBJS="$LIBOBJS rand.$ac_objext"
cat
>>
confdefs.h
<<
\
_ACEOF
cat
>>
confdefs.h
<<
\
_ACEOF
#define PGTZ 1
#define PGTZ 1
_ACEOF
_ACEOF
PGTZ
=
yes
;;
;;
esac
esac
...
@@ -18611,6 +18613,7 @@ s,@python_includespec@,$python_includespec,;t t
...
@@ -18611,6 +18613,7 @@ s,@python_includespec@,$python_includespec,;t t
s,@python_libspec@,
$python_libspec
,;t t
s,@python_libspec@,
$python_libspec
,;t t
s,@LIBOBJS@,
$LIBOBJS
,;t t
s,@LIBOBJS@,
$LIBOBJS
,;t t
s,@HAVE_IPV6@,
$HAVE_IPV6
,;t t
s,@HAVE_IPV6@,
$HAVE_IPV6
,;t t
s,@PGTZ@,
$PGTZ
,;t t
s,@acx_pthread_config@,
$acx_pthread_config
,;t t
s,@acx_pthread_config@,
$acx_pthread_config
,;t t
s,@PTHREAD_CC@,
$PTHREAD_CC
,;t t
s,@PTHREAD_CC@,
$PTHREAD_CC
,;t t
s,@PTHREAD_LIBS@,
$PTHREAD_LIBS
,;t t
s,@PTHREAD_LIBS@,
$PTHREAD_LIBS
,;t t
...
...
configure.in
View file @
7146eb0b
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.34
0 2004/04/30 04:18:28
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.34
1 2004/04/30 04:31:51
momjian Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
...
@@ -895,7 +895,9 @@ AC_LIBOBJ(open)
...
@@ -895,7 +895,9 @@ AC_LIBOBJ(open)
AC_LIBOBJ(pipe)
AC_LIBOBJ(pipe)
AC_LIBOBJ(rand)
AC_LIBOBJ(rand)
AC_DEFINE(PGTZ, 1,
AC_DEFINE(PGTZ, 1,
[Define to 1 to use our own timezone library]) ;;
[Define to 1 to use our own timezone library])
PGTZ=yes
AC_SUBST(PGTZ) ;;
esac
esac
# Win32 can't to rename or unlink on an open file
# Win32 can't to rename or unlink on an open file
...
...
src/Makefile
View file @
7146eb0b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/Makefile,v 1.3
1 2004/04/26 00:48:38
momjian Exp $
# $PostgreSQL: pgsql/src/Makefile,v 1.3
2 2004/04/30 04:31:52
momjian Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -15,6 +15,7 @@ include Makefile.global
...
@@ -15,6 +15,7 @@ include Makefile.global
all install installdirs uninstall dep depend distprep
:
all install installdirs uninstall dep depend distprep
:
$(MAKE)
-C
port
$@
$(MAKE)
-C
port
$@
$(MAKE)
-C
timezone
$@
$(MAKE)
-C
backend
$@
$(MAKE)
-C
backend
$@
$(MAKE)
-C
backend/utils/mb/conversion_procs
$@
$(MAKE)
-C
backend/utils/mb/conversion_procs
$@
$(MAKE)
-C
include
$@
$(MAKE)
-C
include
$@
...
@@ -27,6 +28,7 @@ install-all-headers:
...
@@ -27,6 +28,7 @@ install-all-headers:
clean
:
clean
:
$(MAKE)
-C
port
$@
$(MAKE)
-C
port
$@
$(MAKE)
-C
timezone
$@
$(MAKE)
-C
backend
$@
$(MAKE)
-C
backend
$@
$(MAKE)
-C
include
$@
$(MAKE)
-C
include
$@
$(MAKE)
-C
interfaces
$@
$(MAKE)
-C
interfaces
$@
...
@@ -39,6 +41,7 @@ clean:
...
@@ -39,6 +41,7 @@ clean:
distclean maintainer-clean
:
distclean maintainer-clean
:
-
$(MAKE)
-C
port
$@
-
$(MAKE)
-C
port
$@
-
$(MAKE)
-C
timezone
$@
-
$(MAKE)
-C
backend
$@
-
$(MAKE)
-C
backend
$@
-
$(MAKE)
-C
include
$@
-
$(MAKE)
-C
include
$@
-
$(MAKE)
-C
interfaces
$@
-
$(MAKE)
-C
interfaces
$@
...
...
src/Makefile.global.in
View file @
7146eb0b
# -*-makefile-*-
# -*-makefile-*-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.17
8 2004/04/23 18:15:53
momjian Exp $
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.17
9 2004/04/30 04:31:52
momjian Exp $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
# All PostgreSQL makefiles include this file and use the variables it sets,
...
@@ -150,6 +150,8 @@ TK_XINCLUDES = @TK_XINCLUDES@
...
@@ -150,6 +150,8 @@ TK_XINCLUDES = @TK_XINCLUDES@
PTHREAD_CFLAGS
=
@PTHREAD_CFLAGS@
PTHREAD_CFLAGS
=
@PTHREAD_CFLAGS@
PTHREAD_LIBS
=
@PTHREAD_LIBS@
PTHREAD_LIBS
=
@PTHREAD_LIBS@
PGTZ
=
@PGTZ@
have_docbook
=
@have_docbook@
have_docbook
=
@have_docbook@
DOCBOOKSTYLE
=
@DOCBOOKSTYLE@
DOCBOOKSTYLE
=
@DOCBOOKSTYLE@
COLLATEINDEX
=
@COLLATEINDEX@
COLLATEINDEX
=
@COLLATEINDEX@
...
...
src/timezone/Makefile
View file @
7146eb0b
...
@@ -4,26 +4,26 @@
...
@@ -4,26 +4,26 @@
# Makefile for the timezone library
# Makefile for the timezone library
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
1 2004/04/30 04:09:23
momjian Exp $
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
2 2004/04/30 04:31:52
momjian Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
subdir
=
src/
port/
tz
subdir
=
src/tz
top_builddir
=
../..
/..
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
include
$(top_builddir)/src/Makefile.global
OBJS
=
asctime.o difftime.o localtime.o pgtz.o
OBJS
=
asctime.o difftime.o localtime.o pgtz.o
ZICOBJS
=
zic.o ialloc.o scheck.o localtime.o asctime.o pgtz.o
../path.o
ZICOBJS
=
zic.o ialloc.o scheck.o localtime.o asctime.o pgtz.o
TZDATA
:=
africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89
TZDATA
:=
africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89
TZDATAFILES
:=
$
(
TZDATA:%
=
data/%
)
TZDATAFILES
:=
$
(
TZDATA:%
=
data/%
)
ifeq
($(PGTZ), yes)
all
:
SUBSYS.o zic
all
:
SUBSYS.o zic
SUBSYS.o
:
$(OBJS)
SUBSYS.o
:
$(OBJS)
$(LD)
$(LDREL)
$(LDOUT)
SUBSYS.o
$(OBJS)
$(LD)
$(LDREL)
$(LDOUT)
SUBSYS.o
$(OBJS)
zic
:
$(ZICOBJS)
zic
:
$(ZICOBJS)
install
:
zic
install
:
zic
...
@@ -31,3 +31,5 @@ install: zic
...
@@ -31,3 +31,5 @@ install: zic
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
SUBSYS.o
$(OBJS)
$(ZICOBJS)
rm
-f
SUBSYS.o
$(OBJS)
$(ZICOBJS)
endif
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