Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x8FPj-000000013VD-1chp for pgsql-bugs@arkaria.postgresql.org; Sun, 20 Sep 2026 11:08:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1x8FPi-00000006Owj-2pHv for pgsql-bugs@arkaria.postgresql.org; Sun, 20 Sep 2026 11:08:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x85Ir-00000005coW-3X7t for pgsql-bugs@lists.postgresql.org; Sun, 20 Sep 2026 00:21:09 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x85In-00000000Frf-37T0 for pgsql-bugs@lists.postgresql.org; Sun, 20 Sep 2026 00:21:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:Date:Reply-To:Cc:From:To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Content-ID: Content-Description:In-Reply-To:References; bh=ApkWBr2XiJ/5CKwtlQmlT1F+IkTmr0Z1ZNj6uy4JlY4=; b=VNAo3dFlOXHREBOubWoh4hiFe1 JPs5WWp9eFV4zgb1U8JgmJpLOmSgxyMQ+lCCPiBDUwKI3oX4I5ZUHe/6Y2Onfv9nrFEMD1/5dMN98 8sqKIhZSwkmHafrcbCYh4E7e2PyA7NRCiEc3V26sXGb1fdMsuz+ZToG62dZfxJsR/7uCax+7OXV/b DaidDU5FDcksY61OkxHd2X5zwDO7NI8STp9MkHH0QgwWCgll2wVqorayrhbt7lMQIi148L/IY9zg+ 9IF3tcU5qQhxcAoWWlHUWW4eE3dOSHgx6A3E0eAU6Xc3pjX6mM7qzb8x3C9cu++o1hS+Eupulhdjr wzyTnPRg==; Received: from wrigleys.postgresql.org ([2a02:16a8:dc51::60]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x85Im-000l0f-2A for pgsql-bugs@lists.postgresql.org; Sun, 20 Sep 2026 00:21:05 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1x85Il-00000002CgG-0x7N for pgsql-bugs@lists.postgresql.org; Sun, 20 Sep 2026 00:21:03 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #19706: Documentation: Missing step in the instructions for restoring sample dvdrental DB from dvdrental.zip To: pgsql-bugs@lists.postgresql.org From: PG Bug reporting form Cc: RobS.postgresql9@MailScreen.com Reply-To: RobS.postgresql9@MailScreen.com, pgsql-bugs@lists.postgresql.org Date: Sun, 20 Sep 2026 00:21:01 +0000 Message-ID: <19706-434738bedb25cd02@postgresql.org> X-Auto-Response-Suppress: All Auto-Submitted: auto-generated List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk The following bug has been logged on the website: Bug reference: 19706 Logged by: Robert Simpson Email address: RobS.postgresql9@MailScreen.com PostgreSQL version: 18.6 Operating system: macOS Description: =20 The instructions at https://neon.com/postgresql/getting-started/install-postgresql-macos has a link to this page: "https://neon.com/postgresql/getting-started/postgresql-sample-database" which redirects to "https://neon.com/postgresql/getting-started/sample-database" and also points to the file containing the sample database at "https://neon.com/postgresqltutorial/dvdrental.zip". The "sample-database" page says "The database file is in zipformat ( dvdrental.zip) so you need to extract it to dvdrental.tar ..." which is correct - after downloading and extracting the .zip file, there is only one file, the dvdrental.tar file, in that dvdrental.zip archive file. However, the instructions on the "getting-started" page mentioned above says "Fifth, download the sample database and unzip it. You=E2=80=99ll get a dir= ectory with many files." where there is only that one dvdrental.tar file there. You _can_ extract the .tar file (tar -xf) and get a directory with "many" files. After that, if you continue with the instructions, "Eighth, select the directory as the Format (1), the directory that contains sample database as the Filename (2), and postgres as the Role name (3), and click the Restore button." and restore the dvdrental database using the directory containing the individual files, or even if you restore the database from the .tar file and Refresh the database in the navigation tree, there are no tables in the database. I _was_ able to restore the schema with "psql -U postgres -d dvdrental -f restore.sql" but then the tables are not populated with any data. The instructions skip from the "Fifth" step to the "Seventh" step. Is there a "Sixth" step missing there? I thought that would be the step to extract the "many" files from the .tar file (so the part mentioning "many" files should have been part of that step rather than the "Fifth" step), but that didn't work for me - as mentioned, there were no tables after restoring the database using either method.