PostgreSQL for windows create tablespace on network location (nfs shared) failed because directory not exist
It seems that on Windows, PostgreSQL can only use local storage as its data location, right?

On any operating system, PostgreSQL should only use &quot;local&quot; file systems.
On Linux, those file systems can be mounted from other machines in a way that PostgreSQL is not aware of so things &quot;just work&quot;.
On Windows, a network drive is another thing entirely.
Under which account are you running PostgreSQL?  (Probably as a Windows Service under &quot;Local System&quot;).
Does that account have the ability to &quot;see&quot; anything not on the local machine (&quot;No&quot;).
Even if you were to change this, putting your data &quot;further&quot; from the process that needs to manipulate it is just asking for [major] Trouble.