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 1fwuNz-0001KR-J3 for pgsql-general@arkaria.postgresql.org; Mon, 03 Sep 2018 19:19:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwuNw-0000Xp-V9 for pgsql-general@arkaria.postgresql.org; Mon, 03 Sep 2018 19:19:40 +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 1fwuNw-0000Xh-Hv for pgsql-general@lists.postgresql.org; Mon, 03 Sep 2018 19:19:40 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fwuNt-0005V3-Uz for pgsql-general@lists.postgresql.org; Mon, 03 Sep 2018 19:19:39 +0000 Received: by mail-pf1-x443.google.com with SMTP id h79-v6so532067pfk.8 for ; Mon, 03 Sep 2018 12:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=dkDCDtGb+jSUybqNvV6nHsxlnHBR36hFGCag7Tkvwwk=; b=RIGQ3D8J0CIdPOqWiGHloVzcya2Apbcq0FF5KEqigbV+vcH/r0+QzD7atXfVluBUAC h2CZ4MxnrUezLm76Cxn8fedzdg0YFoGO3XrNpngNkQouer1obzPR19RsADmhMg5/Og0q +g3FAQvhg4kPbK9qIdRNsyXAY/s3aBgZ7td1/hCQS9RYO2z9VpfABKJllWIRFS2Yxapo nbKv6tmYCeevCl1wCNeSb6M7q3gm0VV6fROW6NwFFv4j5K9Kr+vp4Ryh6pRghbJ6TkNx RXPUNU11h4FJqEd2M19WiHOvMrxypIlMBxiMnsw/crAqxF7JdVNqoyZtsjRe/DxuA9h8 x4NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=dkDCDtGb+jSUybqNvV6nHsxlnHBR36hFGCag7Tkvwwk=; b=gV6eEDAN9bz6HCQtmpiuCQT7FU930yuycxKL66ocq++lEKGo5VqhGMsnl8njdOcY2C fmHmDG37ihxohw5Pxucda57eC6xN5McCRUNNN41gzSCPVmdHSdHAAkrDNvYprE12vZwx ElWJkTJ6OMvEu8pSW7xrgxKV9QkiMqC98lyeph3VPsbKrXMJw4nXERX/xgs8LZD+vhJ/ rFp6Nx6Rsv4J4RT5QjfDKLLeLV74tXSltiVSXQl+Cbic4njjR1XVg/x5u10XVSb1WFBO kKIfykqXaw3UOs3gv0pzqLlv+bF2zuxzA58DEGmbCeRDYqchx5lXCJBFK2DHdX3kPg5h mpMQ== X-Gm-Message-State: APzg51DmcFzLmcp2D+7lyh53jvgEH87XSBLryUBjlO93VOyykPOsoiRd lUxtC9z6X0Aii8bgBtBNtM9q1K0c X-Google-Smtp-Source: ANB0VdY4lvaxnDxpZ6VlQGJzCirBm0NhidoK1vFTZTLbkAx25jF+K7rvyXVd9F19nLRN6H0nUErOkA== X-Received: by 2002:a63:fa0c:: with SMTP id y12-v6mr25765524pgh.177.1536002376196; Mon, 03 Sep 2018 12:19:36 -0700 (PDT) Received: from [10.104.134.14] ([155.100.47.6]) by smtp.gmail.com with ESMTPSA id p1-v6sm23901861pfn.53.2018.09.03.12.19.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 12:19:35 -0700 (PDT) Subject: Re: WARNING: could not flush dirty data: Function not implemented To: pgsql-general@lists.postgresql.org References: <1301077575.68539.1535929075959.ref@mail.yahoo.com> <1301077575.68539.1535929075959@mail.yahoo.com> <5323.1535930989@sss.pgh.pa.us> <20180903030419.pukbakmblwsjiw2c@alap3.anarazel.de> <15010.1535981606@sss.pgh.pa.us> <7B26F09E-61B6-4C60-9DD9-C11DD3E73498@aol.com> <16242.1535983137@sss.pgh.pa.us> <20180903123232.b0a465a54d5544b4b74bfcd5@bmrb.wisc.edu> From: Rob Sargent Message-ID: <55274e36-e190-b2fe-1afb-634b4a9f3866@gmail.com> Date: Mon, 3 Sep 2018 13:19:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------791D056E58B91258575BA641" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------791D056E58B91258575BA641 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 09/03/2018 12:41 PM, Austin Drenski wrote: > Dmitri Maziuk > > wrote: > > Tom Lane > wrote: > >> Ravi Krishna > writes: > >>>> Whee ... so you get to cope with all the bugs/idiosyncrasies of three > >>>> operating system layers, not just one.  I concur that running Postgres > >>>> in the underlying Windows O/S is probably a much better idea. > >> > >>> Me too, but this is purely for learning and I am much more use to > Linux stack then ... gasp Windows :-) > >> > >> Hmm, so maybe you should install Ubuntu as the native O/S, and when > >> you need Windows, run it inside a VM? > > > > Between windows 10 and ubuntu 18.04, I would take a really close look at > freebsd myself. Or at least alpine... > > As a developer, I regularly work with PostgreSQL in the Windows > Subsystem for Linux (WSL). In using it for sandboxing and testing, the > only notable idiosyncrasy that I have encountered is the appearance of > these warnings on startup. > > Unfortunately, workstation OS is not always a choice, but WSL has so > far offered a productive (and built-in!) option for running > Linux-based tools on Windows. > > I can't imagine running a production server from WSL, but it is a > refreshingly simple way to spin up local dev databases. It would be > great to see the community take an interest in supporting PostgreSQL > in WSL, if only in the context of its use as a development tool. > > -- > Austin Drenski I lost here.   If you're forced to run windows as the principle OS run windows-based postgres.  If you wish to use the ubuntu as a dev environment can you not connect from there to the native Postgres instance. --------------791D056E58B91258575BA641 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit



On 09/03/2018 12:41 PM, Austin Drenski wrote:
Dmitri Maziuk <dmaziuk@bmrb.wisc.edu> wrote:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Ravi Krishna <sravikrishna@aol.com> writes:
>>>> Whee ... so you get to cope with all the bugs/idiosyncrasies of three
>>>> operating system layers, not just one.  I concur that running Postgres
>>>> in the underlying Windows O/S is probably a much better idea.
>>
>>> Me too, but this is purely for learning and I am much more use to Linux stack then ... gasp Windows :-)
>>
>> Hmm, so maybe you should install Ubuntu as the native O/S, and when
>> you need Windows, run it inside a VM?
>
> Between windows 10 and ubuntu 18.04, I would take a really close look at freebsd myself. Or at least alpine...

As a developer, I regularly work with PostgreSQL in the Windows Subsystem for Linux (WSL). In using it for sandboxing and testing, the only notable idiosyncrasy that I have encountered is the appearance of these warnings on startup.

Unfortunately, workstation OS is not always a choice, but WSL has so far offered a productive (and built-in!) option for running Linux-based tools on Windows.

I can't imagine running a production server from WSL, but it is a refreshingly simple way to spin up local dev databases. It would be great to see the community take an interest in supporting PostgreSQL in WSL, if only in the context of its use as a development tool.

--
Austin Drenski
I lost here.   If you're forced to run windows as the principle OS run windows-based postgres.  If you wish to use the ubuntu as a dev environment can you not connect from there to the native Postgres instance.
--------------791D056E58B91258575BA641--