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 1fwbqA-0000Do-6q for pgsql-general@arkaria.postgresql.org; Sun, 02 Sep 2018 23:31:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwbq8-00028Q-Pc for pgsql-general@arkaria.postgresql.org; Sun, 02 Sep 2018 23:31:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwbq6-00028B-Pk for pgsql-general@lists.postgresql.org; Sun, 02 Sep 2018 23:31:32 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwbpy-0002eA-TX for pgsql-general@lists.postgresql.org; Sun, 02 Sep 2018 23:31:30 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5807821C82; Sun, 2 Sep 2018 19:31:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 02 Sep 2018 19:31:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=1Fe5gdndQShQ/M2wBCd9OjOLNoePGbU/jNBnkrXlNMc=; b=xa9nwwzJ lQafMFjyk6kUTjM5c2HAlR8Fka57bsGUoYsQFO0F9igwssO7wRu1WoiaTtyAq30a PY+tv+aYOpg08X6otc3kXXisf091nrKmTDcAuMCAmISav/ZZ1J+N7/NTOjHKHISm PhwsFA+9IEtq52MZotiK82MFdHdkCgIfNeNqEVKSLqUhr2trcYY9K1jas1PxR/ED bzGvvfI3CqaHniZGlAtIiewz5gzeZCXwpfxhLklg+a0wEb695ouMke1U0RLk+JQG lhrqt/jSIabJcu/sBR6/6rej51igzSU8/tJU7Ge/D6IcS9g0hK/dWry3MJXPnYnp UGKPrtOs7GHw7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=1Fe5gdndQShQ/M2wBCd9OjOLNoePG bU/jNBnkrXlNMc=; b=fAHimven8oYOYxwLtrprfq8ns82vJ6WH/JATaq7Mgf5Bt YLo+XGe9vXG7wALJPDGMmdCS2OWfKnSOcauctthsFaOOF2XfQmoVExkvZ0jszOcp v4fehd7EVhsWvHjQz5pMCVLvbO5F76KmzU4bdr3RaWiPq+bnmNYtlwsAa8wP04FE 4ObJKXxb8sINeH5RA4/LkvM727jthKhz6R51+F/gJKVsM8wB8sJxCheB2Ygy7XbX 7gQN4QDC0PCWEM2ilDSeD5RdCMTXcXS86dTXjmlocolAEFdzuyIkuhWhQr3WWzEn kKQCahIUmvypQOdjei0Aw6US7A9n5WFkPLm68bkGA== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id B879BE4506; Sun, 2 Sep 2018 19:31:19 -0400 (EDT) Date: Sun, 2 Sep 2018 16:31:18 -0700 From: Andres Freund To: Ravi Krishna Cc: pgsql-general@lists.postgresql.org Subject: Re: WARNING: could not flush dirty data: Function not implemented Message-ID: <20180902233118.ny6pjsrdtdqso43t@alap3.anarazel.de> References: <1301077575.68539.1535929075959.ref@mail.yahoo.com> <1301077575.68539.1535929075959@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1301077575.68539.1535929075959@mail.yahoo.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-09-02 22:57:55 +0000, Ravi Krishna wrote: > Ubuntu 18.04 as Windows bash > > Distributor ID: Ubuntu > Description: Ubuntu 18.04.1 LTS > Release: 18.04 > Codename: bionic > > > PG 10.5.1 > > postgres@ravi-lenovo:~$ psql -d postgres > psql (10.5 (Ubuntu 10.5-1.pgdg16.04+1)) > > A CREATE DATABASE statement spewed out > > WARNING: could not flush dirty data: Function not implemented > > many times, but the db was created. > > What exactly is this? That means that the linux emulation by microsoft isn't good enough. You can work around it by setting checkpoint_flush_after=0 and wal_writer_flush_after=0. > A simple search tells that this is an old problem and my Windows has > necessary WSL and other subsystem for this error to not show up. Please note that nobody has verified that postgres works correctly via the emulation stuff MS is doing. There is a native version of postgres for windows however, and that is tested (and exercised by a lot of installations). Greetings, Andres Freund