Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwboe-0008S5-Ke for pgsql-general@arkaria.postgresql.org; Sun, 02 Sep 2018 23:30:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwboZ-0007l7-Uz for pgsql-general@arkaria.postgresql.org; Sun, 02 Sep 2018 23:29:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwboZ-0007kz-Jd for pgsql-general@lists.postgresql.org; Sun, 02 Sep 2018 23:29:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwboX-0003nj-6G for pgsql-general@lists.postgresql.org; Sun, 02 Sep 2018 23:29:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w82NTndC005324; Sun, 2 Sep 2018 19:29:49 -0400 From: Tom Lane To: Ravi Krishna cc: pgsql-general@lists.postgresql.org Subject: Re: WARNING: could not flush dirty data: Function not implemented In-reply-to: <1301077575.68539.1535929075959@mail.yahoo.com> References: <1301077575.68539.1535929075959.ref@mail.yahoo.com> <1301077575.68539.1535929075959@mail.yahoo.com> Comments: In-reply-to Ravi Krishna message dated "Sun, 02 Sep 2018 22:57:55 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5322.1535930989.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 02 Sep 2018 19:29:49 -0400 Message-ID: <5323.1535930989@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ravi Krishna writes: > A CREATE DATABASE statement spewed out = > WARNING: could not flush dirty data: Function not implemented Hmm, that's probably ENOSYS coming back from sync_file_range(). What filesystem is this database sitting on? It's harmless from a correctness standpoint, because we'll fsync the data later anyway; but it seems bad that we've selected sync_file_range() if it doesn't actually work on your platform. > A simple search tells that this is an old problem and my Windows has nec= essary WSL and other subsystem for this error to not show up. If this is on Ubuntu, I don't understand why you're talking about Windows. regards, tom lane