pgAdmin 4 commit: Fixes #2304, #2145 - Resolve the issue for restoring

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Fixes #2304, #2145 - Resolve the issue for restoring
Date: 2017-03-31 07:46:29
Message-ID: E1ctrGP-0004iv-Gs@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fixes #2304, #2145 - Resolve the issue for restoring the table from the backup.

Earlier - implementation was generating the backup code like as below:
XXX/pg_restore.exe --host "x.x.x.x" --port "xxxx" --username "osboxes" --no-password --dbname "test" --data-only --verbose --table "tt.test2" "XXX-FILE.bak"

It should have been:
XXX/pg_restore.exe --host "x.x.x.x" --port "xxxx" --username "osboxes" --no-password --dbname "test" --data-only --verbose --schema "tt" --table "test2" "XXX-FILE.bak"

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8005b0529227ca8fbbb1252475c5a4ec9fcc5330
Author: Maxim Zakharov <dp(dot)maxime(at)gmail(dot)com>

Modified Files
--------------
web/pgadmin/tools/restore/__init__.py | 10 +++++-----
.../tools/restore/templates/restore/js/restore.js | 17 +++++++++++------
2 files changed, 16 insertions(+), 11 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2017-03-31 09:53:57 [pgAdmin4][Patch]: Fixed RM 2291 - Error highlighting broken
Previous Message Ashesh Vashi 2017-03-31 07:40:36 Re: [patch] Move to Alembic migration system