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.max...@gmail.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(-)


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to