pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Improve performance of timezone loading, especially pg_timezone_
17+ messages / 3 participants
[nested] [flat]
Commits from this thread:
2017-05-07 5971accd8b d4e59c5521 82e7d3dfd1 f754728170 62a2883129 2f66002df9 Install the "posixrules" timezone link in MSVC builds.
2017-05-07 5788a5670e 5042e9492b 38ed45c915 6eedc6c18a 07987304d6 9061680f06 Restore fullname[] contents before falling through in pg_open_tzfile().
* pgsql: Improve performance of timezone loading, especially pg_timezone_
@ 2017-05-03 01:51 Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
0 siblings, 1 reply; 17+ messages in thread
From: Tom Lane @ 2017-05-03 01:51 UTC (permalink / raw)
To: pgsql-committers
Improve performance of timezone loading, especially pg_timezone_names view.
tzparse() would attempt to load the "posixrules" timezone database file on
each call. That might seem like it would only be an issue when selecting a
POSIX-style zone name rather than a zone defined in the timezone database,
but it turns out that each zone definition file contains a POSIX-style zone
string and tzload() will call tzparse() to parse that. Thus, when scanning
the whole timezone file tree as we do in the pg_timezone_names view,
"posixrules" was read repetitively for each zone definition file. Fix
that by caching the file on first use within any given process. (We cache
other zone definitions for the life of the process, so there seems little
reason not to cache this one as well.) This probably won't help much in
processes that never run pg_timezone_names, but even one additional SET
of the timezone GUC would come out ahead.
An even worse problem for pg_timezone_names is that pg_open_tzfile()
has an inefficient way of identifying the canonical case of a zone name:
it basically re-descends the directory tree to the zone file. That's not
awful for an individual "SET timezone" operation, but it's pretty horrid
when we're inspecting every zone in the database. And it's pointless too
because we already know the canonical spelling, having just read it from
the filesystem. Fix by teaching pg_open_tzfile() to avoid the directory
search if it's not asked for the canonical name, and backfilling the
proper result in pg_tzenumerate_next().
In combination these changes seem to make the pg_timezone_names view
about 3x faster to read, for me. Since a scan of pg_timezone_names
has up to now been one of the slowest queries in the regression tests,
this should help some little bit for buildfarm cycle times.
Back-patch to all supported branches, not so much because it's likely
that users will care much about the view's performance as because
tracking changes in the upstream IANA timezone code is really painful
if we don't keep all the branches in sync.
Discussion: https://postgr.es/m/27962.1493671706@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/af2c5aa88d38573724e40fa029499b4db20b0eb2
Modified Files
--------------
src/timezone/README | 3 +++
src/timezone/localtime.c | 23 ++++++++++++++++++++++-
src/timezone/pgtz.c | 42 +++++++++++++++++++++++++++++++++++-------
3 files changed, 60 insertions(+), 8 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-05-07 05:16 ` Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 17+ messages in thread
From: Amit Kapila @ 2017-05-07 05:16 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On Wed, May 3, 2017 at 7:21 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Improve performance of timezone loading, especially pg_timezone_names view.
>
I am consistently getting below error after this commit in my Win7 machine:
running bootstrap script ... 2017-05-07 05:09:13.383 GMT [7908] LOG:
could not open directory "/installation/share/timezone/posixrules": No
such file or directory
This occurs both during initdb and server start.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
@ 2017-05-07 05:19 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
0 siblings, 1 reply; 17+ messages in thread
From: Tom Lane @ 2017-05-07 05:19 UTC (permalink / raw)
To: Amit Kapila <amit.kapila16@gmail.com>; +Cc: pgsql-committers
Amit Kapila <amit.kapila16@gmail.com> writes:
> On Wed, May 3, 2017 at 7:21 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Improve performance of timezone loading, especially pg_timezone_names view.
> I am consistently getting below error after this commit in my Win7 machine:
> running bootstrap script ... 2017-05-07 05:09:13.383 GMT [7908] LOG:
> could not open directory "/installation/share/timezone/posixrules": No
> such file or directory
> This occurs both during initdb and server start.
You sure it wasn't there before, too? That commit did not add any
file reads that didn't happen before.
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-05-07 09:03 ` David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:58 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
0 siblings, 2 replies; 17+ messages in thread
From: David Rowley @ 2017-05-07 09:03 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Amit Kapila <amit.kapila16@gmail.com>; pgsql-committers
, On 7 May 2017 at 17:19, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Amit Kapila <amit.kapila16@gmail.com> writes:
>> On Wed, May 3, 2017 at 7:21 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Improve performance of timezone loading, especially pg_timezone_names view.
>
>> I am consistently getting below error after this commit in my Win7 machine:
>> running bootstrap script ... 2017-05-07 05:09:13.383 GMT [7908] LOG:
>> could not open directory "/installation/share/timezone/posixrules": No
>> such file or directory
>
>> This occurs both during initdb and server start.
>
> You sure it wasn't there before, too? That commit did not add any
> file reads that didn't happen before.
It didn't exist before either, but I don't think the error is what you
think. Please note the error message indicated it's looking for a
"directory" named posixrules, not the file.
The error seems to be due to this code:
if (canonname == NULL)
{
int result;
fullname[fullnamelen] = '/';
/* test above ensured this will fit: */
strcpy(fullname + fullnamelen + 1, name);
result = open(fullname, O_RDONLY | PG_BINARY, 0);
if (result >= 0)
return result;
/* If that didn't work, fall through to do it the hard way */
}
where we append the name, then try to open the file, but since the
file does not exist result is < 0 and we fall through to the for(;;)
loop and try to do scan_directory_ci() on the filename rather than the
directory.
On windows, where I also get the error, the stacktrace, as of
b58c433ef90b is as follows:
postgres.exe!scan_directory_ci(const char * dirname, const char *
fname, int fnamelen, char * canonname, int canonnamelen) Line 162 C
> postgres.exe!pg_open_tzfile(const char * name, char * canonname) Line 127 C
postgres.exe!tzloadbody(const char * name, char * canonname, state *
sp, char doextend, local_storage * lsp) Line 240 C
postgres.exe!tzload(const char * name, char * canonname, state * sp,
char doextend) Line 564 C
postgres.exe!tzparse(const char * name, state * sp, char lastditch) Line 959 C
postgres.exe!tzloadbody(const char * name, char * canonname, state *
sp, char doextend, local_storage * lsp) Line 421 C
postgres.exe!tzload(const char * name, char * canonname, state * sp,
char doextend) Line 564 C
postgres.exe!pg_tzset(const char * name) Line 291 C
postgres.exe!check_log_timezone(char * * newval, void * * extra,
GucSource source) Line 415 C
postgres.exe!call_string_check_hook(config_string * conf, char * *
newval, void * * extra, GucSource source, int elevel) Line 9905 C
postgres.exe!parse_and_validate_value(config_generic * record, const
char * name, const char * value, GucSource source, int elevel,
config_var_val * newval, void * * newextra) Line 5834 C
postgres.exe!set_config_option(const char * name, const char *
value, GucContext context, GucSource source, GucAction action, char
changeVal, int elevel, char is_reload) Line 6437 C
postgres.exe!ProcessConfigFileInternal(GucContext context, char
applySettings, int elevel) Line 441 C
postgres.exe!ProcessConfigFile(GucContext context) Line 158 C
postgres.exe!SelectConfigFiles(const char * userDoption, const char
* progname) Line 4810 C
postgres.exe!PostmasterMain(int argc, char * * argv) Line 854 C
postgres.exe!main(int argc, char * * argv) Line 229 C
postgres.exe!__tmainCRTStartup() Line 536 C
postgres.exe!mainCRTStartup() Line 377 C
kernel32.dll!00007ffdab5e13d2() Unknown
ntdll.dll!00007ffdadf754e4() Unknown
Perhaps we just need to put the NUL char back, to trim off the filename again:
/* If that didn't work, fall through to do it the hard way */
fullname[fullnamelen] = '\0';
but I've not yet looked into why the file is missing in the first place.
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
@ 2017-05-07 09:33 ` David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:38 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:57 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 2 replies; 17+ messages in thread
From: David Rowley @ 2017-05-07 09:33 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Amit Kapila <amit.kapila16@gmail.com>; pgsql-committers
On 7 May 2017 at 21:03, David Rowley <david.rowley@2ndquadrant.com> wrote:
> Perhaps we just need to put the NUL char back, to trim off the filename again:
>
> /* If that didn't work, fall through to do it the hard way */
> fullname[fullnamelen] = '\0';
>
> but I've not yet looked into why the file is missing in the first place.
OK, so it looks like GenerateTimezoneFiles in Install.pm for the MSVC
build does not quite do what make install does for src/timezone.
Nothing seems to pass the -p parameter as the following is doing:
install: all installdirs
ifeq (,$(with_system_tzdata))
$(ZIC) -d '$(DESTDIR)$(datadir)/timezone' -p '$(POSIXRULES)' $(TZDATAFILES)
I've attached a patch for review. My perl skills are at "trial and
error" level, so please review carefully.
The attached also adds the NUL char back to fullname in pg_open_tzfile().
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Attachments:
posixrules_fix.patch (application/octet-stream, 1.0K) download
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index 31dbf89..846f889 100644
--- a/src/timezone/pgtz.c
+++ b/src/timezone/pgtz.c
@@ -105,6 +105,7 @@ pg_open_tzfile(const char *name, char *canonname)
if (result >= 0)
return result;
/* If that didn't work, fall through to do it the hard way */
+ fullname[fullnamelen] = '\0';
}
/*
diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
index 35ad5b8..4eb6a5f 100644
--- a/src/tools/msvc/Install.pm
+++ b/src/tools/msvc/Install.pm
@@ -384,9 +384,14 @@ sub GenerateTimezoneFiles
|| die "Could not find TZDATA line in timezone makefile\n";
my @tzfiles = split /\s+/, $1;
+ $mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
+ || die "Could not find POSIXRULES line in timezone makefile\n";
+ my $posixrule = $1;
+ $posixrule =~ s/\s+$//;
+
print "Generating timezone files...";
- my @args = ("$conf/zic/zic", '-d', "$target/share/timezone");
+ my @args = ("$conf/zic/zic", '-d', "$target/share/timezone", "-p", "$posixrule");
foreach (@tzfiles)
{
my $tzfile = $_;
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
@ 2017-05-07 09:38 ` David Rowley <david.rowley@2ndquadrant.com>
1 sibling, 0 replies; 17+ messages in thread
From: David Rowley @ 2017-05-07 09:38 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Amit Kapila <amit.kapila16@gmail.com>; pgsql-committers
On 7 May 2017 at 21:33, David Rowley <david.rowley@2ndquadrant.com> wrote:
> I've attached a patch for review. My perl skills are at "trial and
> error" level, so please review carefully.
Actually, my Perl code contained a superfluous line to trim the
whitespace from $posixrules.
The attached is a version without it, which still appears to work.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Attachments:
posixrules_fix_v2.patch (application/octet-stream, 1.0K) download
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index 31dbf89..846f889 100644
--- a/src/timezone/pgtz.c
+++ b/src/timezone/pgtz.c
@@ -105,6 +105,7 @@ pg_open_tzfile(const char *name, char *canonname)
if (result >= 0)
return result;
/* If that didn't work, fall through to do it the hard way */
+ fullname[fullnamelen] = '\0';
}
/*
diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
index 35ad5b8..52133a2 100644
--- a/src/tools/msvc/Install.pm
+++ b/src/tools/msvc/Install.pm
@@ -384,9 +384,13 @@ sub GenerateTimezoneFiles
|| die "Could not find TZDATA line in timezone makefile\n";
my @tzfiles = split /\s+/, $1;
+ $mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
+ || die "Could not find POSIXRULES line in timezone makefile\n";
+ my $posixrule = $1;
+
print "Generating timezone files...";
- my @args = ("$conf/zic/zic", '-d', "$target/share/timezone");
+ my @args = ("$conf/zic/zic", '-d', "$target/share/timezone", "-p", "$posixrule");
foreach (@tzfiles)
{
my $tzfile = $_;
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
@ 2017-05-07 14:57 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 15:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-08 01:58 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
1 sibling, 2 replies; 17+ messages in thread
From: Tom Lane @ 2017-05-07 14:57 UTC (permalink / raw)
To: David Rowley <david.rowley@2ndquadrant.com>; +Cc: Amit Kapila <amit.kapila16@gmail.com>; pgsql-committers
David Rowley <david.rowley@2ndquadrant.com> writes:
> OK, so it looks like GenerateTimezoneFiles in Install.pm for the MSVC
> build does not quite do what make install does for src/timezone.
> Nothing seems to pass the -p parameter as the following is doing:
Ah-hah. Still, the log message should have been there before.
Maybe just nobody noticed?
> The attached also adds the NUL char back to fullname in pg_open_tzfile().
Oooh ... I did not think that was necessary, but on closer inspection
you are right.
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:57 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-05-07 15:03 ` Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 15:17 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 1 reply; 17+ messages in thread
From: Amit Kapila @ 2017-05-07 15:03 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: David Rowley <david.rowley@2ndquadrant.com>; pgsql-committers
On Sun, May 7, 2017 at 8:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> David Rowley <david.rowley@2ndquadrant.com> writes:
>> OK, so it looks like GenerateTimezoneFiles in Install.pm for the MSVC
>> build does not quite do what make install does for src/timezone.
>> Nothing seems to pass the -p parameter as the following is doing:
>
> Ah-hah. Still, the log message should have been there before.
>
No, it didn't exist before because dirname passed to scan_directory_ci
didn't contain the filename appended to it.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:57 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 15:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
@ 2017-05-07 15:17 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 17:45 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 17+ messages in thread
From: Tom Lane @ 2017-05-07 15:17 UTC (permalink / raw)
To: Amit Kapila <amit.kapila16@gmail.com>; +Cc: David Rowley <david.rowley@2ndquadrant.com>; pgsql-committers
Amit Kapila <amit.kapila16@gmail.com> writes:
> On Sun, May 7, 2017 at 8:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Ah-hah. Still, the log message should have been there before.
> No, it didn't exist before because dirname passed to scan_directory_ci
> didn't contain the filename appended to it.
Gotcha. On closer look, the "fall through" path added by this commit
wasn't really exercised at all on Unix machines, because calls with
no canonname only occur when we expect to find the zone file with name
as stated. It's accidental (and fortunate) that the bug in the MSVC
build support allowed us to find this bug promptly ;-)
I concur with your thought that these are separate bugs and deserve
separate commits. Will do that in a minute.
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:57 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 15:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 15:17 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-05-07 17:45 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 17+ messages in thread
From: Tom Lane @ 2017-05-07 17:45 UTC (permalink / raw)
To: Amit Kapila <amit.kapila16@gmail.com>; +Cc: David Rowley <david.rowley@2ndquadrant.com>; pgsql-committers
I wrote:
> I concur with your thought that these are separate bugs and deserve
> separate commits. Will do that in a minute.
BTW, I wrote in the commit log message that the posixrules omission
had only minimal consequences, but on closer look that's wrong:
the hardwired default in the timezone code is
/*
* The DST rules to use if TZ has no rules and we can't load TZDEFRULES.
* We default to US rules as of 1999-08-17.
* POSIX 1003.1 section 8.1.1 says that the default DST rules are
* implementation dependent; for historical reasons, US rules are a
* common default.
*/
#define TZDEFRULESTRING ",M4.1.0,M10.5.0"
that is, first Sunday of April and last Sunday of October. The US
hasn't gone by that since 2006. So actually, this change will have
a very visible impact on the behavior of POSIX-style zone names.
(I wonder why IANA hasn't updated this default? Still, that's their
expertise not ours, so I'm disinclined to touch it.)
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:57 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-05-08 01:58 ` David Rowley <david.rowley@2ndquadrant.com>
1 sibling, 0 replies; 17+ messages in thread
From: David Rowley @ 2017-05-08 01:58 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Amit Kapila <amit.kapila16@gmail.com>; pgsql-committers
On 8 May 2017 at 02:57, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> David Rowley <david.rowley@2ndquadrant.com> writes:
>> OK, so it looks like GenerateTimezoneFiles in Install.pm for the MSVC
>> build does not quite do what make install does for src/timezone.
>> Nothing seems to pass the -p parameter as the following is doing:
>
> Ah-hah. Still, the log message should have been there before.
> Maybe just nobody noticed?
Thanks for pushing.
The error messages were not there before. I think just load_ok would
have ended up false in tzparse(). There seems to be code to handle
that without producing any error.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: pgsql: Improve performance of timezone loading, especially pg_timezone_
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ David Rowley <david.rowley@2ndquadrant.com>
@ 2017-05-07 14:58 ` Amit Kapila <amit.kapila16@gmail.com>
1 sibling, 0 replies; 17+ messages in thread
From: Amit Kapila @ 2017-05-07 14:58 UTC (permalink / raw)
To: David Rowley <david.rowley@2ndquadrant.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-committers
On Sun, May 7, 2017 at 2:33 PM, David Rowley
<david.rowley@2ndquadrant.com> wrote:
> , On 7 May 2017 at 17:19, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Amit Kapila <amit.kapila16@gmail.com> writes:
>>> On Wed, May 3, 2017 at 7:21 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>>> Improve performance of timezone loading, especially pg_timezone_names view.
>>
>>> I am consistently getting below error after this commit in my Win7 machine:
>>> running bootstrap script ... 2017-05-07 05:09:13.383 GMT [7908] LOG:
>>> could not open directory "/installation/share/timezone/posixrules": No
>>> such file or directory
>>
>>> This occurs both during initdb and server start.
>>
>> You sure it wasn't there before, too?
Yes and that is confirmed by David as well.
>> That commit did not add any
>> file reads that didn't happen before.
>
> It didn't exist before either, but I don't think the error is what you
> think. Please note the error message indicated it's looking for a
> "directory" named posixrules, not the file.
>
> The error seems to be due to this code:
>
> if (canonname == NULL)
> {
> int result;
>
> fullname[fullnamelen] = '/';
> /* test above ensured this will fit: */
> strcpy(fullname + fullnamelen + 1, name);
> result = open(fullname, O_RDONLY | PG_BINARY, 0);
> if (result >= 0)
> return result;
> /* If that didn't work, fall through to do it the hard way */
> }
>
> where we append the name, then try to open the file, but since the
> file does not exist result is < 0 and we fall through to the for(;;)
> loop and try to do scan_directory_ci() on the filename rather than the
> directory.
>
>
> /* If that didn't work, fall through to do it the hard way */
> fullname[fullnamelen] = '\0';
>
Yes, that is one way of doing it, otherwise, we could save the
original fullname (before appending 'name' to it) and then use the
same in for loop.
> but I've not yet looked into why the file is missing in the first place.
I think it is better to consider that as a separate patch as that is a
different problem that exists before this commit as well.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* pgsql: Improve performance of timezone loading, especially pg_timezone_
@ 2017-05-03 01:51 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 17+ messages in thread
From: Tom Lane @ 2017-05-03 01:51 UTC (permalink / raw)
To: pgsql-committers
Improve performance of timezone loading, especially pg_timezone_names view.
tzparse() would attempt to load the "posixrules" timezone database file on
each call. That might seem like it would only be an issue when selecting a
POSIX-style zone name rather than a zone defined in the timezone database,
but it turns out that each zone definition file contains a POSIX-style zone
string and tzload() will call tzparse() to parse that. Thus, when scanning
the whole timezone file tree as we do in the pg_timezone_names view,
"posixrules" was read repetitively for each zone definition file. Fix
that by caching the file on first use within any given process. (We cache
other zone definitions for the life of the process, so there seems little
reason not to cache this one as well.) This probably won't help much in
processes that never run pg_timezone_names, but even one additional SET
of the timezone GUC would come out ahead.
An even worse problem for pg_timezone_names is that pg_open_tzfile()
has an inefficient way of identifying the canonical case of a zone name:
it basically re-descends the directory tree to the zone file. That's not
awful for an individual "SET timezone" operation, but it's pretty horrid
when we're inspecting every zone in the database. And it's pointless too
because we already know the canonical spelling, having just read it from
the filesystem. Fix by teaching pg_open_tzfile() to avoid the directory
search if it's not asked for the canonical name, and backfilling the
proper result in pg_tzenumerate_next().
In combination these changes seem to make the pg_timezone_names view
about 3x faster to read, for me. Since a scan of pg_timezone_names
has up to now been one of the slowest queries in the regression tests,
this should help some little bit for buildfarm cycle times.
Back-patch to all supported branches, not so much because it's likely
that users will care much about the view's performance as because
tracking changes in the upstream IANA timezone code is really painful
if we don't keep all the branches in sync.
Discussion: https://postgr.es/m/27962.1493671706@sss.pgh.pa.us
Branch
------
REL9_6_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/c521d5a8d7bb014171e328976643367c170dc8f3
Modified Files
--------------
src/timezone/README | 3 +++
src/timezone/localtime.c | 23 ++++++++++++++++++++++-
src/timezone/pgtz.c | 42 +++++++++++++++++++++++++++++++++++-------
3 files changed, 60 insertions(+), 8 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* pgsql: Improve performance of timezone loading, especially pg_timezone_
@ 2017-05-03 01:51 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 17+ messages in thread
From: Tom Lane @ 2017-05-03 01:51 UTC (permalink / raw)
To: pgsql-committers
Improve performance of timezone loading, especially pg_timezone_names view.
tzparse() would attempt to load the "posixrules" timezone database file on
each call. That might seem like it would only be an issue when selecting a
POSIX-style zone name rather than a zone defined in the timezone database,
but it turns out that each zone definition file contains a POSIX-style zone
string and tzload() will call tzparse() to parse that. Thus, when scanning
the whole timezone file tree as we do in the pg_timezone_names view,
"posixrules" was read repetitively for each zone definition file. Fix
that by caching the file on first use within any given process. (We cache
other zone definitions for the life of the process, so there seems little
reason not to cache this one as well.) This probably won't help much in
processes that never run pg_timezone_names, but even one additional SET
of the timezone GUC would come out ahead.
An even worse problem for pg_timezone_names is that pg_open_tzfile()
has an inefficient way of identifying the canonical case of a zone name:
it basically re-descends the directory tree to the zone file. That's not
awful for an individual "SET timezone" operation, but it's pretty horrid
when we're inspecting every zone in the database. And it's pointless too
because we already know the canonical spelling, having just read it from
the filesystem. Fix by teaching pg_open_tzfile() to avoid the directory
search if it's not asked for the canonical name, and backfilling the
proper result in pg_tzenumerate_next().
In combination these changes seem to make the pg_timezone_names view
about 3x faster to read, for me. Since a scan of pg_timezone_names
has up to now been one of the slowest queries in the regression tests,
this should help some little bit for buildfarm cycle times.
Back-patch to all supported branches, not so much because it's likely
that users will care much about the view's performance as because
tracking changes in the upstream IANA timezone code is really painful
if we don't keep all the branches in sync.
Discussion: https://postgr.es/m/27962.1493671706@sss.pgh.pa.us
Branch
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/724cd4f063a84af65dd02b18c9a019391d2c3494
Modified Files
--------------
src/timezone/README | 3 +++
src/timezone/localtime.c | 23 ++++++++++++++++++++++-
src/timezone/pgtz.c | 42 +++++++++++++++++++++++++++++++++++-------
3 files changed, 60 insertions(+), 8 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* pgsql: Improve performance of timezone loading, especially pg_timezone_
@ 2017-05-03 01:51 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 17+ messages in thread
From: Tom Lane @ 2017-05-03 01:51 UTC (permalink / raw)
To: pgsql-committers
Improve performance of timezone loading, especially pg_timezone_names view.
tzparse() would attempt to load the "posixrules" timezone database file on
each call. That might seem like it would only be an issue when selecting a
POSIX-style zone name rather than a zone defined in the timezone database,
but it turns out that each zone definition file contains a POSIX-style zone
string and tzload() will call tzparse() to parse that. Thus, when scanning
the whole timezone file tree as we do in the pg_timezone_names view,
"posixrules" was read repetitively for each zone definition file. Fix
that by caching the file on first use within any given process. (We cache
other zone definitions for the life of the process, so there seems little
reason not to cache this one as well.) This probably won't help much in
processes that never run pg_timezone_names, but even one additional SET
of the timezone GUC would come out ahead.
An even worse problem for pg_timezone_names is that pg_open_tzfile()
has an inefficient way of identifying the canonical case of a zone name:
it basically re-descends the directory tree to the zone file. That's not
awful for an individual "SET timezone" operation, but it's pretty horrid
when we're inspecting every zone in the database. And it's pointless too
because we already know the canonical spelling, having just read it from
the filesystem. Fix by teaching pg_open_tzfile() to avoid the directory
search if it's not asked for the canonical name, and backfilling the
proper result in pg_tzenumerate_next().
In combination these changes seem to make the pg_timezone_names view
about 3x faster to read, for me. Since a scan of pg_timezone_names
has up to now been one of the slowest queries in the regression tests,
this should help some little bit for buildfarm cycle times.
Back-patch to all supported branches, not so much because it's likely
that users will care much about the view's performance as because
tracking changes in the upstream IANA timezone code is really painful
if we don't keep all the branches in sync.
Discussion: https://postgr.es/m/27962.1493671706@sss.pgh.pa.us
Branch
------
REL9_4_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/5557b6af5f5b6ffe3a132604f58c2ed2eb3fbc73
Modified Files
--------------
src/timezone/README | 3 +++
src/timezone/localtime.c | 23 ++++++++++++++++++++++-
src/timezone/pgtz.c | 42 +++++++++++++++++++++++++++++++++++-------
3 files changed, 60 insertions(+), 8 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* pgsql: Improve performance of timezone loading, especially pg_timezone_
@ 2017-05-03 01:51 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 17+ messages in thread
From: Tom Lane @ 2017-05-03 01:51 UTC (permalink / raw)
To: pgsql-committers
Improve performance of timezone loading, especially pg_timezone_names view.
tzparse() would attempt to load the "posixrules" timezone database file on
each call. That might seem like it would only be an issue when selecting a
POSIX-style zone name rather than a zone defined in the timezone database,
but it turns out that each zone definition file contains a POSIX-style zone
string and tzload() will call tzparse() to parse that. Thus, when scanning
the whole timezone file tree as we do in the pg_timezone_names view,
"posixrules" was read repetitively for each zone definition file. Fix
that by caching the file on first use within any given process. (We cache
other zone definitions for the life of the process, so there seems little
reason not to cache this one as well.) This probably won't help much in
processes that never run pg_timezone_names, but even one additional SET
of the timezone GUC would come out ahead.
An even worse problem for pg_timezone_names is that pg_open_tzfile()
has an inefficient way of identifying the canonical case of a zone name:
it basically re-descends the directory tree to the zone file. That's not
awful for an individual "SET timezone" operation, but it's pretty horrid
when we're inspecting every zone in the database. And it's pointless too
because we already know the canonical spelling, having just read it from
the filesystem. Fix by teaching pg_open_tzfile() to avoid the directory
search if it's not asked for the canonical name, and backfilling the
proper result in pg_tzenumerate_next().
In combination these changes seem to make the pg_timezone_names view
about 3x faster to read, for me. Since a scan of pg_timezone_names
has up to now been one of the slowest queries in the regression tests,
this should help some little bit for buildfarm cycle times.
Back-patch to all supported branches, not so much because it's likely
that users will care much about the view's performance as because
tracking changes in the upstream IANA timezone code is really painful
if we don't keep all the branches in sync.
Discussion: https://postgr.es/m/27962.1493671706@sss.pgh.pa.us
Branch
------
REL9_3_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/35ac926bfb8d0926f760abab1afe074aa7595210
Modified Files
--------------
src/timezone/README | 3 +++
src/timezone/localtime.c | 23 ++++++++++++++++++++++-
src/timezone/pgtz.c | 42 +++++++++++++++++++++++++++++++++++-------
3 files changed, 60 insertions(+), 8 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
* pgsql: Improve performance of timezone loading, especially pg_timezone_
@ 2017-05-03 01:51 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 17+ messages in thread
From: Tom Lane @ 2017-05-03 01:51 UTC (permalink / raw)
To: pgsql-committers
Improve performance of timezone loading, especially pg_timezone_names view.
tzparse() would attempt to load the "posixrules" timezone database file on
each call. That might seem like it would only be an issue when selecting a
POSIX-style zone name rather than a zone defined in the timezone database,
but it turns out that each zone definition file contains a POSIX-style zone
string and tzload() will call tzparse() to parse that. Thus, when scanning
the whole timezone file tree as we do in the pg_timezone_names view,
"posixrules" was read repetitively for each zone definition file. Fix
that by caching the file on first use within any given process. (We cache
other zone definitions for the life of the process, so there seems little
reason not to cache this one as well.) This probably won't help much in
processes that never run pg_timezone_names, but even one additional SET
of the timezone GUC would come out ahead.
An even worse problem for pg_timezone_names is that pg_open_tzfile()
has an inefficient way of identifying the canonical case of a zone name:
it basically re-descends the directory tree to the zone file. That's not
awful for an individual "SET timezone" operation, but it's pretty horrid
when we're inspecting every zone in the database. And it's pointless too
because we already know the canonical spelling, having just read it from
the filesystem. Fix by teaching pg_open_tzfile() to avoid the directory
search if it's not asked for the canonical name, and backfilling the
proper result in pg_tzenumerate_next().
In combination these changes seem to make the pg_timezone_names view
about 3x faster to read, for me. Since a scan of pg_timezone_names
has up to now been one of the slowest queries in the regression tests,
this should help some little bit for buildfarm cycle times.
Back-patch to all supported branches, not so much because it's likely
that users will care much about the view's performance as because
tracking changes in the upstream IANA timezone code is really painful
if we don't keep all the branches in sync.
Discussion: https://postgr.es/m/27962.1493671706@sss.pgh.pa.us
Branch
------
REL9_2_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/1b6db75ef2d1fe96a9cbd643befa2aa7a9b8d933
Modified Files
--------------
src/timezone/README | 3 +++
src/timezone/localtime.c | 23 ++++++++++++++++++++++-
src/timezone/pgtz.c | 42 +++++++++++++++++++++++++++++++++++-------
3 files changed, 60 insertions(+), 8 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 17+ messages in thread
end of thread, other threads:[~2017-05-08 01:58 UTC | newest]
Thread overview: 17+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 05:16 ` Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 05:19 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 09:03 ` David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:33 ` David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 09:38 ` David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:57 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 15:03 ` Amit Kapila <amit.kapila16@gmail.com>
2017-05-07 15:17 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-05-07 17:45 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-05-08 01:58 ` David Rowley <david.rowley@2ndquadrant.com>
2017-05-07 14:58 ` Amit Kapila <amit.kapila16@gmail.com>
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
2017-05-03 01:51 pgsql: Improve performance of timezone loading, especially pg_timezone_ Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox