From c299511237dcb53ee1932ba4a0a417e283e218df Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Sat, 13 Oct 2018 23:39:52 +0200 Subject: [PATCH] #505: pg_restore accepts a file --- src/_pgsql_utils | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_pgsql_utils b/src/_pgsql_utils index 8bd16fb..ae44844 100644 --- a/src/_pgsql_utils +++ b/src/_pgsql_utils @@ -303,7 +303,8 @@ _pg_restore () { --no-security-labels'[do not restore security labels]' \ --no-tablespaces'[do not restore tablespace assignments]' \ --section=':dump named section:_values "section" pre-data data post-data' \ - --use-set-session-authorization'[use SET SESSION AUTHORIZATION commands instead of ALTER OWNER commands to set ownership]' + --use-set-session-authorization'[use SET SESSION AUTHORIZATION commands instead of ALTER OWNER commands to set ownership]' \ + "1: :_files" } _pg_dumpall () {