mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 18:39:00 +00:00
93_DbRep: contrib 8.52.10
git-svn-id: https://svn.fhem.de/fhem/trunk@27735 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
410c1f82d6
commit
63b28e21f9
@ -11007,7 +11007,7 @@ sub DbRep_createSelectSql {
|
||||
}
|
||||
}
|
||||
|
||||
if ($dbmodel eq 'POSTGRESQL') { # eingeügt mit V 8.52.10
|
||||
if ($dbmodel eq 'POSTGRESQL') { # eingefügt mit V 8.52.10
|
||||
if ($rsn =~ /\d{4}-\d{2}-\d{2}\s\d{2}$/xs) {
|
||||
$rsn .= ':00:00';
|
||||
}
|
||||
@ -11156,6 +11156,16 @@ sub DbRep_createDeleteSql {
|
||||
}
|
||||
}
|
||||
|
||||
if ($dbmodel eq 'POSTGRESQL') { # eingefügt mit V 8.52.10
|
||||
if ($rsn =~ /\d{4}-\d{2}-\d{2}\s\d{2}$/xs) {
|
||||
$rsn .= ':00:00';
|
||||
}
|
||||
|
||||
if ($rsf =~ /\d{4}-\d{2}-\d{2}\s\d{2}$/xs) {
|
||||
$rsf .= ':00:00';
|
||||
}
|
||||
}
|
||||
|
||||
$sql = "delete FROM $table where ";
|
||||
|
||||
# included devices
|
||||
|
Loading…
x
Reference in New Issue
Block a user