Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIKLs-0003pL-5U for pgsql-general@arkaria.postgresql.org; Mon, 14 May 2018 20:45:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fIKLq-0001Z2-UV for pgsql-general@arkaria.postgresql.org; Mon, 14 May 2018 20:45:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fIKLq-0001Yq-J5 for pgsql-general@lists.postgresql.org; Mon, 14 May 2018 20:45:46 +0000 Received: from out02.mta.xmission.com ([166.70.13.232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fIKLj-0005YD-5a for pgsql-general@postgresql.org; Mon, 14 May 2018 20:45:44 +0000 Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fIKLg-00042n-Kn for pgsql-general@postgresql.org; Mon, 14 May 2018 14:45:36 -0600 Received: from 174-23-177-12.slkc.qwest.net ([174.23.177.12] helo=localhost) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1fIKLg-0004cu-5Z for pgsql-general@postgresql.org; Mon, 14 May 2018 14:45:36 -0600 Date: Mon, 14 May 2018 14:42:44 -0600 From: Dominic Jones To: pgsql-general@postgresql.org Message-Id: <20180514144244.fe352659f5085e209594f3ff@xmission.com> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.31; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-XM-SPF: eid=1fIKLg-0004cu-5Z;;;mid=<20180514144244.fe352659f5085e209594f3ff@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=174.23.177.12;;;frm=jonesd@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+9pvVEumq0UohlpsIG7HwN X-SA-Exim-Connect-IP: 174.23.177.12 X-SA-Exim-Mail-From: jonesd@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa06.xmission.com X-Spam-Level: X-Spam-Status: No, score=-0.2 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TVD_RCVD_IP autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4987] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa06 1397; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: XMission; sa06 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;pgsql-general@postgresql.org X-Spam-Relay-Country: X-Spam-Timing: total 117 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 3.2 (2.7%), b_tie_ro: 2.2 (1.9%), parse: 0.86 (0.7%), extract_message_metadata: 11 (9.7%), get_uri_detail_list: 0.77 (0.7%), tests_pri_-1000: 6 (4.8%), tests_pri_-950: 1.19 (1.0%), tests_pri_-900: 0.96 (0.8%), tests_pri_-400: 13 (11.6%), check_bayes: 12 (10.7%), b_tokenize: 3.4 (2.9%), b_tok_get_all: 3.7 (3.2%), b_comp_prob: 1.59 (1.4%), b_tok_touch_all: 2.1 (1.8%), b_finish: 0.62 (0.5%), tests_pri_0: 72 (61.4%), check_dkim_signature: 0.62 (0.5%), check_dkim_adsp: 2.6 (2.3%), tests_pri_500: 6 (4.8%), rewrite_mail: 0.00 (0.0%) Subject: 10.4 upgrade, function markings, and template0 X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Good afternoon, The PostgreSQL 10.4 upgrade involves changes to some function markings (see release notes, E.1.2, second and third bullet points for specifics). One way to make these changes is to use `ALTER FUNCTION` to change the functions in your existing databases. While this was mainly straightforward, I'm unclear on whether the `template0` database must be changed in this manner or if it is automatically updated when the upgrade is applied. The documentation indicates that in general you shouldn't manually change the `template0` database. -- Dominic Jones