From: Andres Freund <andres@anarazel.de>
To: Ravi Krishna <sravikrishna@aol.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: WARNING: could not flush dirty data: Function not implemented
Date: Sun, 2 Sep 2018 16:31:18 -0700
Message-ID: <20180902233118.ny6pjsrdtdqso43t@alap3.anarazel.de> (raw)
In-Reply-To: <1301077575.68539.1535929075959@mail.yahoo.com>
References: <1301077575.68539.1535929075959.ref@mail.yahoo.com>
<1301077575.68539.1535929075959@mail.yahoo.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andres@anarazel.de, sravikrishna@aol.com
Subject: Re: WARNING: could not flush dirty data: Function not implemented
In-Reply-To: <20180902233118.ny6pjsrdtdqso43t@alap3.anarazel.de>
References: <1301077575.68539.1535929075959.ref@mail.yahoo.com> <1301077575.68539.1535929075959@mail.yahoo.com> <20180902233118.ny6pjsrdtdqso43t@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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