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

+2 -2
View File
@@ -1,4 +1,4 @@
<?
<?
/*
*
* Undernet GNUworld Interactive Installation Guide (aka UGIIG)
@@ -1996,7 +1996,7 @@ First you have to edit the <i>cservice.addme.sql</i> script, you will find it in
the <i>doc/</i> directory of the 'gnuworld' cvs repository.
What you have to do is edit the username who will be added:
e.g.:
<i>INSERT into users (user_name,password,language_id,last_updated) VALUES ('Admin','07d976a29bdb3ff42e19c102852151b28097bbad',1,now()::abstime::int4);</i>
<i>INSERT into users (user_name,password,language_id,last_updated) VALUES ('Admin','07d976a29bdb3ff42e19c102852151b28097bbad',1,EXTRACT(EPOCH FROM now())::int4);</i>
Change the "Admin" to your preferred username.
After that you run it with this command:
<i>psql cservice < cservice.addme.sql</i>