Project

General

Profile

Actions

Bug #7215

closed

Wrong usage of DB array in mentat_main/settings_reporting/emails

Added by Radko Krkoš over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Development - Database
Target version:
Start date:
04/15/2021
Due date:
% Done:

100%

Estimated time:
To be discussed:

Description

As was discussed in VC, the emails column of table settings_reporting in the database mentat_main is declared as a character varying array, however the upper layer implementation based on Python/SQLAlchemy stores a single string value inside the array, containing comma separated emails. This was identified as a result of an oversight and should be fixed.
In addition, there are both NULL values and empty arrays present in this column, while logically equivalent, they are still distinct values; and although this might be abstracted in the upper layer, it could be improved for consistency in the DB.


Related issues

Related to Mentat - Feature #7221: Referential integrity for database arraysNewRadko Krkoš04/16/2021

Actions
Related to Mentat - Task #7538: Streamline documentation concerning VACUUM/CLUSTER/ANALYZENewRadko Krkoš11/18/2021

Actions
Blocks Mentat - Bug #7220: Erroneous values in mentat_main/reports_events/mail_toClosedRajmund Hruška04/16/2021

Actions
Actions

Also available in: Atom PDF