Postgresql warning: "could not flush dirty data: Function not implemented"

11,571

Solution 1

I solved the problem by updating postgresql.conf file. Add the following codes at the end of /etc/postgresql/11/main/postgresql.conf.

fsync = off
data_sync_retry = true

(Corrected underscores)

Solution 2

You need Windows 15025 build for it to function properly, as underlying ubuntu in windows was still in beta before. Even after this build there are still issues remaining.

If update is not yet available to you you can still install Postgres directly on Windows

Share:
11,571

Related videos on Youtube

Someone
Author by

Someone

Updated on June 04, 2022

Comments

  • Someone
    Someone almost 2 years

    I'm trying to create a new database on postgres, by running command:

    CREATE DATABASE dbname;
    

    and I face the error:

    WARNING: could not flush dirty data: Function not implemented

    many times! and finally I get the message

    CREATE DATABASE

    Can anyone help me to undrestand and solve this error please?

  • Oni
    Oni over 4 years
    You may get the same error after fixing issue and starting app again. Restart the postgresql service again at the moment. sudo service postgresql restart