This commit is contained in:
qgarnier 2020-10-20 17:30:05 +02:00 committed by GitHub
parent 3af2d6554a
commit dc0c1e2f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -68,8 +68,8 @@ sub new {
$self->{password} = undef;
$self->{dbname} = undef;
$self->{record_separator} = '-====-';
$self->{field_separator} = '#====#';
$self->{record_separator} = '----====----';
$self->{field_separator} = '-====-';
return $self;
}
@ -108,7 +108,7 @@ sub check_options {
$self->{psql_cmd} = $self->{option_results}->{psql_cmd};
# If we want a command line: password with variable "PGPASSWORD".
# psql -d template1 -A -R "-====-" -F "#====#" -c "select code from films"
# psql -d template1 -A -R "----====-----" -F "-====-" -c "select code from films"
if (!defined($self->{host}) || $self->{host} eq '') {
$self->{output}->add_option_msg(short_msg => "Need to specify host argument.");