pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cao, Xiaowei <xicao@seattleschools.org>
To: pgsql-sql@lists.postgresql.org <pgsql-sql@lists.postgresql.org>
Subject: install sample database error
Date: Tue, 30 Jul 2019 23:27:36 +0000
Message-ID: <MWHPR0401MB351540C74EB0D1DB8367B15ECBDC0@MWHPR0401MB3515.namprd04.prod.outlook.com> (raw)

I tried to download the postgresql sample database dvdrental to install on ubuntu.  This is a test environment.
I got some errors while running the restore.sql in the downloaded file.
Psql : restore.sql 1015: Error: could not open file $$PATH$$/3077.dat for reading: NO such file or directory.
And the same error for all other dat files...

I guessed  first the permission issue, I tried to give the file directory the widest privilege like 777, but still has this error.
Database and tables are created, but there are no rows in table.

What could be wrong, what does $$PATH$$ mean?

Thanks,

Anne Cao

view thread (4+ messages)  latest in thread

Message-ID: <MWHPR0401MB351540C74EB0D1DB8367B15ECBDC0@MWHPR0401MB3515.namprd04.prod.outlook.com>
Permalink:  ../MWHPR0401MB351540C74EB0D1DB8367B15ECBDC0@MWHPR0401MB3515.namprd04.prod.outlook.com/
Also on:    postgresql.org/message-id/MWHPR0401MB351540C74EB0D1DB8367B15ECBDC0@MWHPR0401MB3515.namprd04.prod.outlook.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: xicao@seattleschools.org, pgsql-sql@lists.postgresql.org
  Subject: Re: install sample database error
  In-Reply-To: <MWHPR0401MB351540C74EB0D1DB8367B15ECBDC0@MWHPR0401MB3515.namprd04.prod.outlook.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox