Open davewood opened 1 month ago
this seems to work.
# Pg/CLI/pg_restore.pm
sub _run_options {
my $self = shift;
my $database = shift;
return defined $database
? ( '-d', $database )
: ();
}
i can do this and it prints the postgres dump (-Fc) to STDOUT
using Pg::CLI::pg_restore behaves differently.
probably because of this line -> https://github.com/houseabsolute/Pg-CLI/blob/6dc0f7b733cd48eaae1d7f071c3b60fdb13d6b21/lib/Pg/CLI/pg_restore.pm#L23