Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Chris Travers
First, thanks for taking the time to write this. Its very helpful. Additional thoughts inline. On Mon, Sep 24, 2018 at 2:12 AM Michael Paquier wrote: > On Fri, Sep 21, 2018 at 12:35:46PM +0200, Chris Travers wrote: > > I understand how lock levels don't fit a simple hierarchy but at least > >

Re: Global snapshots

2018-09-24 Thread Andrey Borodin
Hi! I want to review this patch set. Though I understand that it probably will be quite long process. I like the idea that with this patch set universally all postgres instances are bound into single distributed DB, even if they never heard about each other before :) This is just amazing. Or

Re: Pluggable Storage - Andres's take

2018-09-24 Thread Alexander Korotkov
On Mon, Sep 24, 2018 at 8:04 AM Haribabu Kommi wrote: > On Mon, Sep 24, 2018 at 5:02 AM Alexander Korotkov > wrote: >> >> On Fri, Aug 24, 2018 at 5:50 AM Andres Freund wrote: >> > I've pushed a current version of that to my git tree to the >> > pluggable-storage branch. It's not really a

Re: Something fishy happening on frogmouth

2018-09-24 Thread Noah Misch
On Wed, Sep 19, 2018 at 01:03:44PM +0900, Kyotaro HORIGUCHI wrote: > Thank you for finding and fixing this. > > At Sat, 15 Sep 2018 18:21:52 -0400, Tom Lane wrote in > <1.1537050...@sss.pgh.pa.us> > > Noah Misch writes: > > > Usually, the first srandom() call happens early in

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Chris Travers
I did some more reading. On Mon, Sep 24, 2018 at 10:15 AM Chris Travers wrote: > First, thanks for taking the time to write this. Its very helpful. > Additional thoughts inline. > > On Mon, Sep 24, 2018 at 2:12 AM Michael Paquier > wrote: > >> >> There could be value in refactoring things so

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Chris Travers
Very minor revision On Mon, Sep 24, 2018 at 11:45 AM Chris Travers wrote: > > Ok so having looked into this a bit more > > It looks like to be strictly conforming, you can't just use a series of > flags because neither C 89 or 99 guarantee that sig_atomic_t is read/write > round-trip safe in

Re: Segfault when creating partition with a primary key and sql_drop trigger exists

2018-09-24 Thread Justin Pryzby
On Thu, Sep 20, 2018 at 12:00:18PM +0200, Marco Slot wrote: > We're seeing a segmentation fault when creating a partition of a > partitioned table with a primary key when there is a sql_drop trigger on > Postgres 11beta4. Thanks for reporting ; I reproduced easily so added to open items list,

Re: Make deparsing of column defaults faster

2018-09-24 Thread Peter Eisentraut
On 30/07/2018 13:51, Jeff Janes wrote: > Any thoughts on how to proceed here?  It seems there is more work to do > to cover all the issues with dumping and restoring tables with many > columns.  Since the original report was in the context of pg_upgrade, we > should surely address

Re: Hint to set owner for tablespace directory

2018-09-24 Thread Peter Eisentraut
On 11/09/2018 17:10, Peter Eisentraut wrote: > On 07/09/2018 17:59, Maksim Milyutin wrote: >> those directories was that user). The error message "could not set >> permissions on directory ..." disoriented that user. The need to change >> the owner of those directories came after careful reading

Re: doc - add missing documentation for "acldefault"

2018-09-24 Thread Joe Conway
On 09/24/2018 10:01 AM, Tom Lane wrote: > Joe Conway writes: >> Having seen none, committed/pushed. This did not seem worth >> back-patching, so I only pushed to master. > > I don't see anything on gitmaster? Hmm, yes, interesting -- I must of messed up my local git repo somehow. Will try

Re: doc - add missing documentation for "acldefault"

2018-09-24 Thread Joe Conway
On 09/21/2018 01:51 PM, Joe Conway wrote: > On 09/19/2018 11:18 AM, Joe Conway wrote: >> On 09/19/2018 10:54 AM, Tom Lane wrote: >>> So maybe what we really need is a table of operators not functions. >> >> Good idea -- I will take a look at that. >> >>> However, I don't object to documenting

Re: Implementing SQL ASSERTION

2018-09-24 Thread Peter Eisentraut
On 29/04/2018 20:18, Joe Wildish wrote: > On 28 Mar 2018, at 16:13, David Fetter wrote: >> >> Sorry to bother you again, but this now doesn't compile atop master. > > Attached is a rebased patch for the prototype. I took a look at this. This has been lying around for a few months, so it will

Re: doc - add missing documentation for "acldefault"

2018-09-24 Thread Joe Conway
On 09/24/2018 10:09 AM, Joe Conway wrote: > On 09/24/2018 10:01 AM, Tom Lane wrote: >> Joe Conway writes: >>> Having seen none, committed/pushed. This did not seem worth >>> back-patching, so I only pushed to master. >> >> I don't see anything on gitmaster? > > Hmm, yes, interesting -- I must

Re: Proposal for disk quota feature

2018-09-24 Thread Hubert Zhang
> > The quotas or object limits, resource limits are pretty useful and > necessary, but I don't see these like new type of objects, it is much more > some property of current objects. Because we have one syntax for this > purpose I prefer it. Because is not good to have two syntaxes for similar >

Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query

2018-09-24 Thread Michael Paquier
On Mon, Sep 24, 2018 at 12:19:44PM +1000, Haribabu Kommi wrote: > Attached new rebased version of the patch that enhances the > pg_stat_statements_reset() > function. This needs to be applied on top of the patch that is posted in > [1]. +CREATE ROLE stats_regress_user1; +CREATE ROLE

Re: Segfault when creating partition with a primary key and sql_drop trigger exists

2018-09-24 Thread Alvaro Herrera
On 2018-Sep-20, Marco Slot wrote: > We're seeing a segmentation fault when creating a partition of a > partitioned table with a primary key when there is a sql_drop trigger on > Postgres 11beta4. > > We discovered it because the Citus extension creates a sql_drop trigger, > but it's otherwise

Re: Multiple primary key on partition table?

2018-09-24 Thread Alvaro Herrera
[Back from a week AFK ...] On 2018-Sep-18, amul sul wrote: > On Mon, Sep 17, 2018 at 9:06 PM amul sul wrote: > > > > Nice catch Rajkumar. > Here is the complete patch proposes the aforesaid fix with regression test. Looks closely related to the one that was fixed in 1f8a3327a9db, but of

Re: Revoke execution permission of pg_stat_statements_reset() from pg_read_all_stats role

2018-09-24 Thread Tom Lane
Michael Paquier writes: > This should be back-patched. Any opinions about bumping up this > extension version in back-branches like what has been done in 53b79ab4? Yes, you need to bump the extension version to change anything in the extension's script file. For v10 and up, the method used in

Re: Missing const in DSA.

2018-09-24 Thread Tom Lane
Thomas Munro writes: > On Mon, Sep 24, 2018 at 9:32 AM Tom Lane wrote: >> Mark G writes: >>> While looking at some of the recent churn in DSA I noticed that >>> dsa_size_class_map should probably be declared const. >> +1 ... also, given the contents of the array, "char" seems like >> rather a

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Andres Freund
On 2018-09-24 11:45:10 +0200, Chris Travers wrote: > I did some more reading. > > On Mon, Sep 24, 2018 at 10:15 AM Chris Travers > wrote: > > > First, thanks for taking the time to write this. Its very helpful. > > Additional thoughts inline. > > > > On Mon, Sep 24, 2018 at 2:12 AM Michael

Re: Making all nbtree entries unique by having heap TIDs participate in comparisons

2018-09-24 Thread Peter Geoghegan
On Wed, Sep 19, 2018 at 11:23 AM Peter Geoghegan wrote: > 3 modes > --- > > My new approach is to teach _bt_findsplitloc() 3 distinct modes of > operation: Regular/default mode, many duplicates mode, and single > value mode. I think that I'll have to add a fourth mode, since I came up with

Re: Allowing printf("%m") only where it actually works

2018-09-24 Thread Tom Lane
Michael Paquier writes: > On Wed, Sep 12, 2018 at 01:40:01PM -0400, Tom Lane wrote: >> Rebase attached --- no substantive changes. > - if (handleDLL == NULL) > - ereport(FATAL, > - (errmsg_internal("could not load netmsg.dll: error > -code %lu",

Re: Collation versioning

2018-09-24 Thread Douglas Doole
It's been a bunch of years since I worked with ICU, so anything I say below may have changed in their code or be subject to mental bit rot. On Sun, Sep 23, 2018 at 2:48 PM Thomas Munro wrote: > Considering that to handle this we'd need to figure out > how link libicu.so.55, libicu.so.56, ...

Re: Query is over 2x slower with jit=on

2018-09-24 Thread Andres Freund
Hi, On 2018-09-19 20:39:22 -0700, Andres Freund wrote: > On 2018-09-19 23:26:52 -0400, Tom Lane wrote: > > That's going in the right direction. Personally I'd make the last line > > more like > > > > Times: generation 0.680 ms, inlining 7.591 ms, optimization 20.522 ms, > > emission 14.607

Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru

2018-09-24 Thread Andres Freund
On 2018-09-24 18:25:46 +, Nasby, Jim wrote: > > > On Sep 21, 2018, at 12:43 PM, Andres Freund wrote: > > > >> But as far i can see it is possible have aggressive non-wraparound vacuum. > >> One important difference - regular and aggressive regular can be canceled > >> by

Re: [patch]overallocate memory for curly braces in array_out

2018-09-24 Thread Tom Lane
Keiichi Hirobe writes: > Attached is a patch that fixes a bug > for miscounting total number of curly braces in output string in array_out. Wow, good catch! Testing this, I found there's a second way in which the space calculation is off: it always allocated one more byte than required, as a

auto_explain: Include JIT output if applicable

2018-09-24 Thread Lukas Fittl
Hi, Whilst playing around with auto_explain and JIT today, I realized that auto_explain currently doesn't output JIT information, which is rather unfortunate when analyzing a larger set of queries in a semi-automated manner. Attached a trivial patch that fixes the issue and adds JIT information

Re: fast default vs triggers

2018-09-24 Thread Andrew Dunstan
On 09/20/2018 09:04 AM, Tomas Vondra wrote: On 09/19/2018 10:35 PM, Andrew Dunstan wrote: On 09/18/2018 03:36 PM, Andrew Dunstan wrote: Tomas Vondra has pointed out to me that there's an issue with triggers not getting expanded tuples for columns with fast defaults. Here is an

Re: Implementing SQL ASSERTION

2018-09-24 Thread Joe Wildish
Hi Peter, > On 24 Sep 2018, at 15:06, Peter Eisentraut > wrote: > > On 29/04/2018 20:18, Joe Wildish wrote: >> >> Attached is a rebased patch for the prototype. > > I took a look at this. Thank you for reviewing. > This has been lying around for a few months, so it will need to be > rebased

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Michael Paquier
On Mon, Sep 24, 2018 at 10:06:40AM -0700, Andres Freund wrote: > This doesn't seem to solve an actual problem, why are we discussing > changing this? What'd be measurably improved, worth the cost of making > backpatching more painful? My point was just to reduce the number of variables used and

Re: Implementing SQL ASSERTION

2018-09-24 Thread Andrew Gierth
> "Joe" == Joe Wildish writes: Joe> Agreed. My assumption was that we would record in the data Joe> dictionary the behaviour (or “polarity") of each aggregate Joe> function with respect to the various operators. Column in Joe> pg_aggregate? I don’t know how we’d record it exactly. I

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Andres Freund
On 2018-09-25 08:57:25 +0900, Michael Paquier wrote: > On Mon, Sep 24, 2018 at 10:06:40AM -0700, Andres Freund wrote: > > This doesn't seem to solve an actual problem, why are we discussing > > changing this? What'd be measurably improved, worth the cost of making > > backpatching more painful? >

Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query

2018-09-24 Thread Haribabu Kommi
On Tue, Sep 25, 2018 at 1:39 AM Michael Paquier wrote: > On Mon, Sep 24, 2018 at 12:19:44PM +1000, Haribabu Kommi wrote: > > Attached new rebased version of the patch that enhances the > > pg_stat_statements_reset() > > function. This needs to be applied on top of the patch that is posted in > >

Re: when set track_commit_timestamp on, database system abort startup

2018-09-24 Thread Michael Paquier
Sawada-san, On Mon, Sep 24, 2018 at 08:28:45AM +0900, Michael Paquier wrote: > Wouldn't it be better to incorporate the new test as part of > 004_restart.pl? This way, we avoid initializing a full instance, which > is always a good thing as that's very costly. The top of this file also >

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Michael Paquier
On Mon, Sep 24, 2018 at 05:23:56PM -0700, Andres Freund wrote: > On 2018-09-25 08:57:25 +0900, Michael Paquier wrote: >> Anyway, putting the back-patching pain aside, and just for my own >> knowledge... Andres, would it be fine to just use one sig_atomic_t >> field which can be set from different

DNS SRV support for LDAP authentication

2018-09-24 Thread Thomas Munro
Hello hackers, Some people like to use DNS SRV records to advertise LDAP servers on their network. Microsoft Active Directory is usually (always?) set up that way. Here is a patch to allow our LDAP auth module to support that kind of discovery. It copies the convention of the OpenLDAP command

Re: [patch] Bug in pg_dump/pg_restore using --no-publication

2018-09-24 Thread Michael Paquier
On Fri, Sep 21, 2018 at 05:44:02PM +0200, Gilles Darold wrote: > Attached is a patch that fixes a bug in pg_dump since 10.0 and > reproducible in master. When using option --no-publication : ALTER > PUBLICATION orders are still present in the dump. Thanks for the report, the patch, and the test

Re: SSL tests failing with "ee key too small" error on Debian SID

2018-09-24 Thread Michael Paquier
On Tue, Sep 25, 2018 at 12:48:57PM +0900, Kyotaro HORIGUCHI wrote: > Do you mean that cert/key files are generated on-the-fly while > running 'make check'? It sounds reasonable as long as just > replaceing existing files with those with longer (2048bits?) keys > doesn't work for all supported

Re: Missing const in DSA.

2018-09-24 Thread Thomas Munro
On Tue, Sep 25, 2018 at 7:46 AM Thomas Munro wrote: > On Tue, Sep 25, 2018 at 4:17 AM Tom Lane wrote: > > Thomas Munro writes: > > > On Mon, Sep 24, 2018 at 9:32 AM Tom Lane wrote: > > >> Mark G writes: > > >>> While looking at some of the recent churn in DSA I noticed that > > >>>

Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options

2018-09-24 Thread Andrew Gierth
So I've tried to rough out a decision tree for the various options on how this might be implemented (discarding the "use precedence hacks" option). Opinions? Additions? (formatted for emacs outline-mode) * 1. use lexical lookahead +: relatively straightforward parser changes +: no new

GetSnapshotData round two(for me)

2018-09-24 Thread Daniel Wood
I was about to suggest creating a single shared snapshot instead of having multiple backends compute what is essentially the same snapshot. Luckily, before posting, I discovered Avoiding repeated snapshot computation

Re: GetSnapshotData round two(for me)

2018-09-24 Thread Dilip Kumar
On Tue, Sep 25, 2018 at 11:00 AM, Daniel Wood wrote: > I was about to suggest creating a single shared snapshot instead of having > multiple backends compute what is essentially the same snapshot. Luckily, > before posting, I discovered Avoiding repeated snapshot computation from > Pavan and

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Tom Lane
Michael Paquier writes: > And then within separate signal handlers things like: > void > StatementCancelHandler(SIGNAL_ARGS) > { > [...] > signalPendingFlags |= PENDING_INTERRUPT | PENDING_CANCEL_QUERY; > [...] > } AFAICS this still wouldn't work. The machine code is still going to

RE: Changing the setting of wal_sender_timeout per standby

2018-09-24 Thread Tsunakawa, Takayuki
From: Michael Paquier [mailto:mich...@paquier.xyz] > Okay, I have pushed the patch with all your suggestions included. Thanks so much! Regards Takayuki Tsunakawa

Re: SSL tests failing with "ee key too small" error on Debian SID

2018-09-24 Thread Kyotaro HORIGUCHI
Hello. At Mon, 17 Sep 2018 22:13:40 +0900, Michael Paquier wrote in <20180917131340.ge31...@paquier.xyz> > Hi all, > > On a rather freshly-updated Debian SID server, I am able to see failures > for the SSL TAP tests: > 2018-09-17 22:00:27.389 JST [13072] LOG: database system is shut down >

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Michael Paquier
On Mon, Sep 24, 2018 at 09:38:11PM -0400, Tom Lane wrote: > Yeah, in principle any global variable touched by a signal handler should > be sig_atomic_t. I don't know of any modern platform where using "bool" > is unsafe, but per the C standard it could be. The case that would be > worrisome is

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Tom Lane
Michael Paquier writes: > Let's change it then. ClientConnectionLost needs also to be changed as > miscadmin.h tells that it could be used in a signal handler. What do you > think about the attached? Looks reasonable to me (I've not tested though). I wonder why ClientConnectionLost isn't

PG vs macOS Mojave

2018-09-24 Thread Tom Lane
Well, macOS 10.14 (Mojave) is out, so I installed it on a spare machine, and naturally the first thing I tried was to build PG with it. Our core code seems fine, but: * --with-perl fails in configure, complaining that it can't find perl.h. * --with-tcl fails in configure, complaining that it

Re[2]: Adding a note to protocol.sgml regarding CopyData

2018-09-24 Thread Bradley DeJong
Thanks for the feedback. On 2018-09-22, Amit Kapila wrote ... > ... Why can't we just extend the current Note where it is currently ... Because information about how the protocol works belongs in the protocol documentation not in the documentation for one implementation of the protocol.

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Michael Paquier
On Mon, Sep 24, 2018 at 09:03:49PM -0400, Tom Lane wrote: > You could only fix that by blocking all signal handling during the > handler, which would be expensive and rather pointless. > > I do not think that it's readily possible to improve on the current > situation with one sig_atomic_t per

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Tom Lane
Michael Paquier writes: > At the same time, all the pending flags in miscadmin.h could be switched > to sig_atomic_t if we were to be correct, no? The counters could be > higher than 256 so that's not really possible. Yeah, in principle any global variable touched by a signal handler should be

Re: DNS SRV support for LDAP authentication

2018-09-24 Thread Thomas Munro
On Tue, Sep 25, 2018 at 2:09 PM Thomas Munro wrote: > 2. Define a new zone for testing, by adding the following to the end > 3. Create that zone file in /usr/local/etc/namedb/master/my.test.domain: Oops, I changed my testing domain name in the middle of my experiment, but pasted the older

Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query

2018-09-24 Thread Michael Paquier
On Tue, Sep 25, 2018 at 01:49:09PM +1000, Haribabu Kommi wrote: > Thanks for the review. > Fixed in the attached patch as per your suggestion. Hmm. I see a problem with the tests and the stability of what pg_stat_statements_reset() can return. Normally installcheck is disabled in

Re: PATCH: Update snowball stemmers

2018-09-24 Thread Tom Lane
Arthur Zakirov writes: > Ah, I see. I attached new version made with --no-renames. Will wait for > what cfbot will say. I reviewed and pushed this. As a cross-check on the patch, I cloned the Snowball github repo and built the derived files in it. I noticed that they'd incorporated several new

Re: auto_explain: Include JIT output if applicable

2018-09-24 Thread Lukas Fittl
On Mon, Sep 24, 2018 at 1:48 PM, Andres Freund wrote: > > Thanks for noticing - pushed! > Thanks! Best, Lukas -- Lukas Fittl

Re: Calculate total_table_pages after set_base_rel_sizes()

2018-09-24 Thread Edmund Horner
David Rowley said: > I believe that we should be delaying the PlannerInfo's > total_table_pages calculation until after constraint exclusion and > partition pruning have taken place. Doing this calculation before we > determine which relations we don't need to scan can lead to > incorrectly

Re: Revoke execution permission of pg_stat_statements_reset() from pg_read_all_stats role

2018-09-24 Thread Michael Paquier
On Mon, Sep 24, 2018 at 12:02:35PM -0400, Tom Lane wrote: > For v10 and up, the method used in 53b79ab4 is overcomplicated: you only > need to add a delta script not a new base script. (If you had to > back-patch before v10, it might be best to add a new base script in all > the branches just to

Re: Proposal for Signal Detection Refactoring

2018-09-24 Thread Michael Paquier
On Mon, Sep 24, 2018 at 10:39:40PM -0400, Tom Lane wrote: > I wonder why ClientConnectionLost isn't PGDLLIMPORT like the rest. Same question here. As that's kind of a separate discussion, I left it out. Now I don't mind changing that at the same time as that's harmless, and as that's only a

Re: Revoke execution permission of pg_stat_statements_reset() from pg_read_all_stats role

2018-09-24 Thread Haribabu Kommi
On Tue, Sep 25, 2018 at 10:58 AM Michael Paquier wrote: > On Mon, Sep 24, 2018 at 12:02:35PM -0400, Tom Lane wrote: > > For v10 and up, the method used in 53b79ab4 is overcomplicated: you only > > need to add a delta script not a new base script. (If you had to > > back-patch before v10, it

Re: auto_explain: Include JIT output if applicable

2018-09-24 Thread Andres Freund
Hi, On 2018-09-24 11:34:38 -0700, Lukas Fittl wrote: > Hi, > > Whilst playing around with auto_explain and JIT today, I realized that > auto_explain currently doesn't output JIT information, which is rather > unfortunate when analyzing a larger set of queries in a semi-automated > manner. > >

Re: Collation versioning

2018-09-24 Thread Thomas Munro
On Tue, Sep 25, 2018 at 4:26 AM Douglas Doole wrote:> > On Sun, Sep 23, 2018 at 2:48 PM Thomas Munro > wrote: >> Admittedly that creates a whole can >> of worms for initdb-time catalog creation, package maintainers' jobs, >> how long old versions have to be supported and how you upgraded >>

Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru

2018-09-24 Thread Sergei Kornilov
Hi > An autovacuum can't be just aggressive; it's either anti-wraparound or normal. But autovacuum _can_ be aggressive and not anti-wraparound. I build current master and can see 3 different line types: 2018-09-24 23:47:31.500 MSK 27939 @ from [vxid:4/272032 txid:0] [] LOG: automatic

Re: [PATCH] Include application_name in "connection authorized" log message

2018-09-24 Thread Stephen Frost
Greetings Don! * Don Seiler (d...@seiler.us) wrote: > On Tue, Aug 7, 2018 at 12:32 PM Tom Lane wrote: > > Don Seiler writes: > > > > > 1. We want to make a generic, central ascii-lobotomizing function similar > > > to check_application_name that we can re-use there and for other checks > > (eg

Re: Collation versioning

2018-09-24 Thread Peter Geoghegan
On Mon, Sep 24, 2018 at 1:47 PM Thomas Munro wrote: > Personally I'm not planning to work on multi-version installation any > time soon, I was just scoping out some basic facts about all this. I > think the primary problem that affects most of our users is the > shifting-under-your-feet problem,

Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru

2018-09-24 Thread Alvaro Herrera
On 2018-Sep-24, Sergei Kornilov wrote: > Hi > > > An autovacuum can't be just aggressive; it's either anti-wraparound or > > normal. > But autovacuum _can_ be aggressive and not anti-wraparound. > I build current master and can see 3 different line types: > 2018-09-24 23:47:31.500 MSK 27939 @

Re: Missing const in DSA.

2018-09-24 Thread Thomas Munro
On Tue, Sep 25, 2018 at 4:17 AM Tom Lane wrote: > Thomas Munro writes: > > On Mon, Sep 24, 2018 at 9:32 AM Tom Lane wrote: > >> Mark G writes: > >>> While looking at some of the recent churn in DSA I noticed that > >>> dsa_size_class_map should probably be declared const. > > >> +1 ... also,

Re: Participate in GCI as a Mentor

2018-09-24 Thread Tahir Ramzan
Thanks Sarah, I have received the emails and invitation. Now, I am reviewing all stuff and will respond with my ideas within a day. Regards Tahir On Tue, Sep 25, 2018 at 12:34 AM Sarah Conway Schnurr < xenophene...@gmail.com> wrote: > Tahir, > > I've extended an invitation through GCI for you

Re: Participate in GCI as a Mentor

2018-09-24 Thread Sarah Conway Schnurr
Tahir, I've extended an invitation through GCI for you to become a mentor for the PostgreSQL organization, and have sent an additional email containing information on how to get started with contributing to this year's contest. We have one month left to get over a hundred tasks uploaded, so that

Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru

2018-09-24 Thread Nasby, Jim
> On Sep 24, 2018, at 1:29 PM, Andres Freund wrote: > > I'm very doubtful this is an improvement. Especially with the upcoming > pluggable storage work making vacuumlazy.c heap specific, while vacuum.c > stays generic. The concept of something like > PROC_VACUUM_FOR_WRAPAROUND, should imo not