pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: arslanaliev@yahoo.com
Subject: BUG #18823: pg_restore not work
Date: Sat, 22 Feb 2025 15:28:16 +0000
Message-ID: <18823-e1faa13b1da74705@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      18823
Logged by:          Arslan Aliev
Email address:      arslanaliev@yahoo.com
PostgreSQL version: 17.0
Operating system:   windows 11
Description:        

Hi,

I have done this:

pg_dump --verbose -F c -Z 0 -U *heroku_user* -h *heroku_host* -p 5432
d9jdaocgko2g41 > heroku.dump
Result :
File heroku.dump was created in my local directory with size 1644 KB 

Then I create db in my local server
psql -h 'localhost' -p 5434 -U postgres -c "CREATE DATABASE
d9jdaocgko2g41"
Recieved :
Db was created in local server (without tables)
Result : I checked with pgadmin – OK, empty DB was created.

pg_restore --verbose --no-acl --no-owner -h 'localhost' -p 5434 -d
d9jdaocgko2g41 heroku.dump
Recieved :
pg_restore: warning: invalid creation date in header
pg_restore: connecting to database for restore
pg_restore: implied data-only restore

I checked local DB with pgadmin – NO tables was created.

Help me, please!!

Regards
Arslan Aliev



view thread (2+ messages)  latest in thread

Message-ID: <18823-e1faa13b1da74705@postgresql.org>
Permalink:  ../18823-e1faa13b1da74705@postgresql.org/
Also on:    postgresql.org/message-id/18823-e1faa13b1da74705@postgresql.org

 · 

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-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, arslanaliev@yahoo.com
  Subject: Re: BUG #18823: pg_restore not work
  In-Reply-To: <18823-e1faa13b1da74705@postgresql.org>

* 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