On Tue, Sep 26, 2017 at 9:57 AM, Thomas Munro <thomas.mu...@enterprisedb.com> wrote: >> On Tue, Sep 26, 2017 at 9:13 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: >>> Pushed with that change; we'll soon see what the buildfarm thinks. > > Hmm. One failure in the test modules: > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=rhinoceros&dt=2017-09-25%2020%3A45%3A02 > > 2017-09-25 13:51:00.753 PDT [9107:6] LOG: worker process: test_shm_mq > (PID 9362) exited with exit code 1 > 2017-09-25 13:51:00.753 PDT [9360:7] ERROR: could not resize shared > memory segment "/PostgreSQL.1896677221" to 65824 bytes: Success > > hostname = centos7x.joeconway.com > uname -r = 3.10.0-229.11.1.el7.x86_64
I think the problem here is that posix_fallocate() doesn't set errno. It returns an errno-like value. This is a difference from fallocate(). Will write a patch. -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers