aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAOPGSQL.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-09-14 22:36:01 +0200
committerGravatar GitHub <noreply@github.com> 2025-09-14 22:36:01 +0200
commit29446a29f58b484817e6c9798c736e5f531c21ee (patch)
tree0648fd296f4e12641d2d7e2ff1be56696dbea1f6 /app/Models/EntryDAOPGSQL.php
parentb8af8382f0978d19763a75032128fb623e4f9eb0 (diff)
Recovery: skip broken entries during CLI export/import (#7949)
* Recovery: skip broken entries during CLI export/import fix https://github.com/FreshRSS/FreshRSS/discussions/7927 ``` 25605/25605 (48 broken) ``` Help with *database malformed* or other corruption. * Compatibility multiple databases
Diffstat (limited to 'app/Models/EntryDAOPGSQL.php')
-rw-r--r--app/Models/EntryDAOPGSQL.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Models/EntryDAOPGSQL.php b/app/Models/EntryDAOPGSQL.php
index e7999f601..68b52d071 100644
--- a/app/Models/EntryDAOPGSQL.php
+++ b/app/Models/EntryDAOPGSQL.php
@@ -24,6 +24,12 @@ class FreshRSS_EntryDAOPGSQL extends FreshRSS_EntryDAOSQLite {
}
#[\Override]
+ protected static function sqlLimitAll(): string {
+ // https://www.postgresql.org/docs/current/queries-limit.html
+ return 'ALL';
+ }
+
+ #[\Override]
public static function sqlRandom(): string {
return 'RANDOM()';
}