Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aHFH6-0007lw-LM for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Jan 2016 18:27:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aHFH6-0006WV-7x for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Jan 2016 18:27:04 +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.84) (envelope-from ) id 1aHDDP-0001G0-LF for pgsql-bugs@postgresql.org; Thu, 07 Jan 2016 16:15:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aHDDL-0007ux-GS for pgsql-bugs@postgresql.org; Thu, 07 Jan 2016 16:15:06 +0000 MIME-Version: 1.0 Subject: BUG #13853: initdb to UNC path To: pgsql-bugs@postgresql.org From: NBoardman@idtus.com Date: Thu, 07 Jan 2016 16:14:34 +0000 Message-ID: <20160107161434.8698.95754@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13853 Logged by: Nuri Boardman Email address: NBoardman@idtus.com PostgreSQL version: 9.4.2 Operating system: Windows 7 Description: when i run this command (initdb with UNC path) pg_ctl initdb -D \\localhost\Users\nboardman\test i get the following (error) output The files belonging to this database system will be owned by user "NBoardman". This user must also own the server process. The database cluster will be initialized with locale "English_United States.1252 ". The default database encoding has accordingly been set to "WIN1252". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory //localhost/Users/nboardman/test ... ok creating subdirectories ... initdb: could not create directory "//localhost/User s": File exists initdb: removing contents of data directory "//localhost/Users/nboardman/test" pg_ctl: database system initialization failed finally, if this is illegal, the documentation does not indicate the path has to be a windows path from http://www.postgresql.org/docs/9.4/static/app-initdb.html -D directory --pgdata=directory This option specifies the directory where the database cluster should be stored. This is the only information required by initdb, but you can avoid writing it by setting the PGDATA environment variable, which can be convenient since the database server (postgres) can find the database directory later by the same variable. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs