Project

General

Profile

Actions

Bug #7605

closed

Migration 4a172cd00ef0 silently uses plpgsql extension

Added by Pavel Kácha about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
10/13/2022
Due date:
% Done:

100%

Estimated time:
To be discussed:

Description

Migration 4a172cd00ef0_clean_mail_to_and_add_not_null_.py uses plpqsql and silently expects it to exist and be active.

This is intrinsic extension, it needs no additional installation, but it has to be activated for database.

Migration (and possible others in the future) thus should use "create extension" and "drop extension", possibly with "on conflict ignore" or something like that to not drop extension if it is alreade enabled and has some other uses by administrator.

Actions

Also available in: Atom PDF