Eliminare tip abstime deprecated din PostgreSQL - Inlocuire now()::abstime::int4 cu EXTRACT(EPOCH FROM now())::int4 in toate fisierele - Compatibilitate PostgreSQL 12+ - Reparat Manager1K.sh, appjudge, cservice-1.5.0.sql, sqlFakeClient.cc, manual.html, index.php si toate scripturile SQL de update

This commit is contained in:
Underchat committed 2026-03-03 00:03:54 +02:00
1 parent a479baf68a
commit 28496ecbf8
11 files changed
+85 -85

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
#include <string>
#include <string>
#include <sstream>
#include <iostream>
@@ -74,8 +74,8 @@ fakeInsert << "INSERT INTO fakeclients VALUES ("
<< "'" << hostname << "', "
<< "'" << realname << "', "
<< createdBy_i << ", "
<< "now()::abstime::int4, "
<< "now()::abstime::int4, 0"
<< "EXTRACT(EPOCH FROM now())::int4, "
<< "EXTRACT(EPOCH FROM now())::int4, 0"
<< ")"
;