Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etv0w-00008y-UL for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Mar 2018 12:51:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1etv0v-0007ly-Ar for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Mar 2018 12:51:17 +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 1ettzZ-00036T-Of for pgsql-bugs@lists.postgresql.org; Thu, 08 Mar 2018 11:45:49 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ettzV-0003vB-MR for pgsql-bugs@postgresql.org; Thu, 08 Mar 2018 11:45:48 +0000 Received: by mail-wm0-x22a.google.com with SMTP id w128so10803157wmw.0 for ; Thu, 08 Mar 2018 03:45:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version:thread-index :content-language; bh=sB2D2/+Rq84L3fq3v0oqVPpHvQKWacmkHYHncCK7CZk=; b=cRmaKOEZQSJcLgEt8488Yq7UaCO6meq/L2OZxGAbx0yfcs4epD9cy+SXooZT5KNeSJ mcckcC/1EMC+HUGEbP87XR7N7RTG4nLjU+kKfZ6zGoR9pikSyEiz+Mx9o6wbMjz3pVK/ DWy8AavNX64Poih+93Ir0FPHFe3kFSMbfeAlh2T6jb0swsLNv8nqUJBLBpHpWwG3fN+e J05nLFgSPjBsu16hLrFeY+Vyo8J4UMwE/bEwGQeKTB+pZbiJ/zzRjc5Vsv3wvlRfnmAQ tYvgHpyW9ZxYIBG09Vmgg1m+MYaWCo44FHcuh6kqBL/JGhETbvjkmIBPl2X5cGgxVRVX 1T2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:thread-index:content-language; bh=sB2D2/+Rq84L3fq3v0oqVPpHvQKWacmkHYHncCK7CZk=; b=eQsCLzeelNo0iU3yWJDnuhB4Hx2qq95phHG62XqFZNXEx/0qw3XeIt84HbhH+JfrRv Nz8UZf7unCsdQHsuM19K6ffwlrInfejftujIzy5TwGsihgaw/wipl0ODP++UABdTxrBu RF1aqybnbYukHey9z5aFF5q2c3eIz3HMIp8674EY2khY5faVDDE+9mvjEgKqTk6KkDRt 0LRaJEpZlTz6AB1ZuIaFCeZYlNZ3p8mClPfCGgqCFHYS6o8aswwS6RsiXT8w1X6+QNBo AUoUoN/Ec2ZsskYYS79UDV9y/VyOjwDM8I5VjPcYnTlv6twmu1RR/8GY1zREV7eCQYNl nVTw== X-Gm-Message-State: AElRT7HNmQeBh2l62PCheRd/TsQJ9u4vRuSgWewat5esJM7bbBK9RGe/ TFvbQ8kmjEoJaYXf9Ot16s1/OQ== X-Google-Smtp-Source: AG47ELtQ/HxZ+B1T5BjQPMwMva+PLT2GvnJMI98wB++mMA/1BsJIN+dKpAQJYaA2iA862kpb17SkWw== X-Received: by 10.28.22.208 with SMTP id 199mr18501502wmw.79.1520509543842; Thu, 08 Mar 2018 03:45:43 -0800 (PST) Received: from Mariaus7 (th-164-84.splius.lt. [46.249.164.84]) by smtp.gmail.com with ESMTPSA id b66sm12869089wmg.28.2018.03.08.03.45.42 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Mar 2018 03:45:42 -0800 (PST) Sender: Marius Vaiciulis From: =?windows-1257?Q?Marius_Vai=E8iulis?= To: , 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> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0055_01D3B6E3.C0CFED80" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdO20vyDyv+VKv7SQa6yDLn8rhk58g== Content-Language: lt List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0055_01D3B6E3.C0CFED80 Content-Type: text/plain; charset="windows-1257" Content-Transfer-Encoding: quoted-printable Hi, =20 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: =20 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 =3D 4326 LIMIT 1 2018-03-08 12:59:06 EET CONTEXT: automatic analyze of table "gpt_v2.customer101.t_customer" =20 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 =85 SET SEARCH_PATH TO public; for every postgis function = used in the indexes. public is where postgis extension is located (from long = time ago).=20 =20 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? =20 Thanks for any input. ------=_NextPart_000_0055_01D3B6E3.C0CFED80 Content-Type: text/html; charset="windows-1257" Content-Transfer-Encoding: quoted-printable

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=A0=A0=A0=A0 ERROR:=A0 relation = "spatial_ref_sys" does not exist at character = 23

2018-03-08 12:59:06 EET=A0=A0=A0=A0 QUERY:=A0 SELECT = proj4text FROM spatial_ref_sys WHERE srid =3D 4326 LIMIT = 1

2018-03-08 12:59:06 EET=A0=A0=A0=A0 CONTEXT:=A0 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 =85 = 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.

------=_NextPart_000_0055_01D3B6E3.C0CFED80--