From: Marius Vaièiulis <marius@vaiciulis.com>
To: marius@vaiciulis.com
To: pgsql-bugs@postgresql.org
Subject: 9.6.7 -> 9.6.8 analyze worker behaviour changed?
Date: Thu, 8 Mar 2018 13:45:42 +0200
Message-ID: <005401d3b6d2$fd471d80$f7d55880$@com> (raw)
Hi,
Updated our server from 9.6.7 to 9.6.8 (PostgreSQL 9.6.8 on
x86_64-pc-linux-gnu (Debian 9.6.8-1.pgdg80+1), compiled by gcc (Debian
4.9.2-10+deb8u1) 4.9.2, 64-bit), and not really funny messages started to
appear in the logs:
2018-03-08 12:59:06 EET ERROR: relation "spatial_ref_sys" does not
exist at character 23
2018-03-08 12:59:06 EET QUERY: SELECT proj4text FROM spatial_ref_sys
WHERE srid = 4326 LIMIT 1
2018-03-08 12:59:06 EET CONTEXT: automatic analyze of table
"gpt_v2.customer101.t_customer"
That table (not the only one) uses the functional indexes, one of which uses
postgis functions, so the failing call comes from within postgis function
written in C. No changes were noticed in selects, updates, no errors except
that. I did some kind of workaround to make that problem go away by doing
ALTER FUNCTION SET SEARCH_PATH TO public; for every postgis function used
in the indexes. public is where postgis extension is located (from long time
ago).
Not sure what to do next, is this a bug, is my realization considered to be
a bug, or workaround is a bug? Maybe some configuration parameter was (were)
introduced, that I have missed?
Thanks for any input.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: marius@vaiciulis.com
Subject: Re: 9.6.7 -> 9.6.8 analyze worker behaviour changed?
In-Reply-To: <005401d3b6d2$fd471d80$f7d55880$@com>
References: <005401d3b6d2$fd471d80$f7d55880$@com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox