Merge pull request #8001 from DDDHuang/up_pgsql_v43

Update pgsql SDK for otp23 & otp24
This commit is contained in:
Xinyu Liu 2022-05-20 15:19:09 +08:00 committed by GitHub
commit e68c100cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 15 deletions

View File

@ -1,5 +1,5 @@
{deps,
[{epgsql, {git, "https://github.com/epgsql/epgsql.git", {tag, "4.4.0"}}}
[{epgsql, {git, "https://github.com/epgsql/epgsql.git", {tag, "4.6.0"}}}
]}.
{erl_opts, [warn_unused_vars,

View File

@ -1,6 +1,6 @@
{application, emqx_auth_pgsql,
[{description, "EMQ X Authentication/ACL with PostgreSQL"},
{vsn, "4.3.2"}, % strict semver, bump manually!
{vsn, "4.3.3"}, % strict semver, bump manually!
{modules, []},
{registered, [emqx_auth_pgsql_sup]},
{applications, [kernel,stdlib,epgsql,ecpool]},

View File

@ -1,16 +1,31 @@
%% -*- mode: erlang -*-
{VSN,
[{"4.3.1", [
%% There are only changes to the schema file, so we don't need
%% any commands here.
]},
{"4.3.0",
[{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_acl_pgsql,brutal_purge,soft_purge,[]}]},
{<<".*">>,[]}],
[{"4.3.1", []},
{"4.3.0",
[{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_acl_pgsql,brutal_purge,soft_purge,[]}]},
{<<".*">>,[]}]
[
{"4.3.2", [
%% epgsql 4.4.0 -> 4.6.0.
%% epgsql has no appup ,so we can only restart it.
{restart_application, epgsql}
]},
{"4.3.1", [
{restart_application, epgsql}
]},
{"4.3.0", [
{restart_application, epgsql},
{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_acl_pgsql,brutal_purge,soft_purge,[]}
]},
{<<".*">>,[]}],
[
{"4.3.2", [
{restart_application, epgsql}
]},
{"4.3.1", [
{restart_application, epgsql}
]},
{"4.3.0", [
{restart_application, epgsql},
{load_module,emqx_auth_pgsql_app,brutal_purge,soft_purge,[]},
{load_module,emqx_acl_pgsql,brutal_purge,soft_purge,[]}
]},
{<<".*">>,[]}]
}.