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 @@
<html>
<html>
<!-- CMaster Channel Services Website. -->
<!-- $Id: manual.html,v 1.3 2001/12/22 22:46:17 gte Exp $ -->
@@ -295,10 +295,10 @@ You can get info about other values in the conf file itself.<br>
<br>
<br>
INSERT into users (user_name,password,language_id,last_updated)<br>
VALUES ('the_user_name','07d976a29bdb3ff42e10c102852151b28097bbad',1,now()::abstime::int4);<br>
VALUES ('the_user_name','07d976a29bdb3ff42e10c102852151b28097bbad',1,EXTRACT(EPOCH FROM now())::int4);<br>
<br>
INSERT into levels (channel_id,user_id,access,last_updated)<br>
VALUES (1,the_user_id,1000,now()::abstime::int4);<br>
VALUES (1,the_user_id,1000,EXTRACT(EPOCH FROM now())::int4);<br>
<br>
* the_user_name should be the username will be added with level 1000<br>
<br>