sub get_datestyle {
my ($self, $dateformat) = @_;
- return $dateformat_to_datestyle{ $dateformat || $::myconfig{dateformat} };
+ return $dateformat_to_datestyle{ $dateformat || $::myconfig{dateformat} // '' };
}
sub get_initial_sql {
sub get_options {
my $self = shift;
my $options = {
- pg_enable_utf8 => $::locale->is_utf8,
+ pg_enable_utf8 => 1,
@_
};