View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Postgres - COLUMN_COMMENT Missing in INFORMATION_SCHEMA.COLUMNS - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

[SOLVED] Postgres - COLUMN_COMMENT Missing in INFORMATION_SCHEMA.COLUMNS

More
20 Sep 2021 21:07 #1 by sensemila
Hi,

I have many error in my log file, i have multpile entry with this message :2021-09-20 17:30:22.138 ***** ERROR ***** /color][color=#569cd6]V9.2.2[/color][color=#d4d4d4    For query : SELECT COLUMN_COMMENT as comment FROM INFORMATION_SCHEMA.COLUMNS  WHERE TABLE_SCHEMA='securite' AND TABLE_NAME='projeqtorproject' AND COLUMN_NAME='idprojeqtortask' 
This query in sqlelement.php not working on postgres SQL$sqlColumn="SELECT COLUMN_COMMENT as comment FROM INFORMATION_SCHEMA.COLUMNS "           ." WHERE TABLE_SCHEMA='$dbName' AND TABLE_NAME='$tableName' AND COLUMN_NAME='$dbFieldName'";
How i can fix the issue ?

Thanks a lot

Please Connexion or Create an account to join the conversation.

More
21 Sep 2021 12:19 - 21 Sep 2021 13:59 #2 by babynus
Replace line 4004 in model/persistence/SqlElement.php
from

      } else if ($type=='int' or $type=='int(10)' or $type=='int(11)') {

to

      } else if (($type=='int' or $type=='int(10)' or $type=='int(11)') and !Sql::isPgsql()) {


Babynus
Administrator of ProjeQtOr web site
Last edit: 21 Sep 2021 13:59 by babynus.
The following user(s) said Thank You: sensemila

Please Connexion or Create an account to join the conversation.

More
22 Sep 2021 11:15 - 22 Sep 2021 11:16 #3 by sensemila
Hi,
is Perfect :)

Thank for your help
Last edit: 22 Sep 2021 11:16 by sensemila.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.049 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.