From: Peter van Dijk Date: Wed, 17 Jul 2019 20:07:00 +0000 (+0200) Subject: document gsql change_date removal and pgsql type change X-Git-Tag: dnsdist-1.4.0-rc1~23^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a84c85c1d02fab93da3aeab31059a0c7f0cc3844;p=pdns document gsql change_date removal and pgsql type change --- diff --git a/docs/upgrading.rst b/docs/upgrading.rst index 622d1087d..19d1f8aa7 100644 --- a/docs/upgrading.rst +++ b/docs/upgrading.rst @@ -13,6 +13,8 @@ upgrade notes if your version is older than 3.4.2. - Superslave operation is no longer enabled by default, use :ref:`setting-superslave` to enable. This setting was called ``supermaster`` in some 4.2.0 prereleases. - The gsqlite3 backend, and the DNSSEC database for the BIND backend, have a new journal-mode setting. This setting defaults to `WAL `_; older versions of PowerDNS did not set the journal mode, which means they used the SQLite default of DELETE. +- Autoserial support has been removed. The ``change_date`` column has been removed from the ``domains`` table in all gsql backends, but leaving it in is harmless. +- The :doc:`Generic PostgreSQL backend ` schema has changed: the ``notified_serial`` column type in the ``domains`` table has been changed from ``INT DEFAULT NULL`` to ``BIGINT DEFAULT NULL``: ``ALTER TABLE domains ALTER notified_serial TYPE bigint USING CASE WHEN notified_serial >= 0 THEN notified_serial::bigint END;`` 4.1.0 to 4.1.1 --------------