pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Sergei Kornilov <sk@zsrv.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15530: unable restore index on function from earthdistance contrib
Date: Mon, 03 Dec 2018 14:57:25 +0000
Message-ID: <877egq4q16.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <a1ef1a29-8e56-2183-1ba1-ba3f1319ba65@zsrv.org>
References: <15530-3dc5f66205393dc0@postgresql.org>
	<a1ef1a29-8e56-2183-1ba1-ba3f1319ba65@zsrv.org>

>>>>> "Sergei" == Sergei Kornilov <sk@zsrv.org> writes:

 Sergei> Hello
 Sergei> I think we can fix this issue by marking SQL language functions
 Sergei> "set search_path from current".

Unfortunately using SET on sql-language functions prevents inlining.

-- 
Andrew (irc:RhodiumToad)




view thread (4+ messages)  latest in thread

Message-ID: <877egq4q16.fsf@news-spur.riddles.org.uk>
Permalink:  ../877egq4q16.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/877egq4q16.fsf@news-spur.riddles.org.uk

 · 

reply

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: andrew@tao11.riddles.org.uk, sk@zsrv.org
  Subject: Re: BUG #15530: unable restore index on function from earthdistance contrib
  In-Reply-To: <877egq4q16.fsf@news-spur.riddles.org.uk>
  References: <15530-3dc5f66205393dc0@postgresql.org> <a1ef1a29-8e56-2183-1ba1-ba3f1319ba65@zsrv.org> <877egq4q16.fsf@news-spur.riddles.org.uk>

* 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