From dc0c1e2f08257ee64386a33582f066180d4fc39a Mon Sep 17 00:00:00 2001 From: qgarnier Date: Tue, 20 Oct 2020 17:30:05 +0200 Subject: [PATCH] fix #2265 (#2270) --- database/postgres/psqlcmd.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/postgres/psqlcmd.pm b/database/postgres/psqlcmd.pm index 721cc8ec3..654aae2b8 100644 --- a/database/postgres/psqlcmd.pm +++ b/database/postgres/psqlcmd.pm @@ -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.");