I have installed Postgresql in my local pc and i am getting the following error in ThingworxPostgresqlDBsetup.bat file and thingworxPostgresSchemaSetup.bat file
1. Delete any tablespace created in the location ThingworxBackupStorage; check also in Postgres database to NOT have any datbase called "thingworx" or tabespace called "thingworx"; if any just delete them from database.
2. Run ThingworxPostgresqlDBsetup.bat with tablespace location C:/<path_to_location> or C://<path_to_location>
3. After successful ThingworxPostgresqlDBsetup.bat, run also thingworxPostgresSchemaSetup.bat