diff --git a/CHANGELOG.md b/CHANGELOG.md index 8137ce115..99d973789 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -104,7 +104,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed - Fix VTs hash check and add --dump-vt-verification [#1611](https://github.com/greenbone/gvmd/pull/1611) [#1629](https://github.com/greenbone/gvmd/pull/1629) - Solved a performance problem when filtering results by tags [#1579](https://github.com/greenbone/gvmd/pull/1579) -- Fix VTs hash check and add --dump-vt-verification [#1611](https://github.com/greenbone/gvmd/pull/1611) [#1629](https://github.com/greenbone/gvmd/pull/1629) [#1643](https://github.com/greenbone/gvmd/pull/1643) [1541](https://github.com/greenbone/gvmd/pull/1651) +- Fix VTs hash check and add --dump-vt-verification + [#1611](https://github.com/greenbone/gvmd/pull/1611) + [#1629](https://github.com/greenbone/gvmd/pull/1629) + [#1641](https://github.com/greenbone/gvmd/pull/1651) + [#1643](https://github.com/greenbone/gvmd/pull/1643) + [#1655](https://github.com/greenbone/gvmd/pull/1655) - Fix memory errors in modify_permission [#1613](https://github.com/greenbone/gvmd/pull/1613) - Fix sensor connection for performance reports on failure [#1633](https://github.com/greenbone/gvmd/pull/1633) - Sort the "host" column by IPv4 address if possible [#1637](https://github.com/greenbone/gvmd/pull/1637) diff --git a/src/manage_pg.c b/src/manage_pg.c index d0c8c7af9..6a306ed99 100644 --- a/src/manage_pg.c +++ b/src/manage_pg.c @@ -904,7 +904,10 @@ manage_create_sql_functions () || g_str_match_string ("UTF8", encoding, 0)) quoted_collation = strdup ("ucs_basic"); else - quoted_collation = strdup ("C"); + // quote C collation because this seems to be required + // without quoting it an error is raised + // other collations don't need quoting + quoted_collation = strdup ("\"C\""); free (encoding); }