pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kai Kratz <kai.kratz@googlemail.com>
Cc: andres@anarazel.de
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date: Mon, 20 Aug 2018 09:19:57 -0400
Message-ID: <19301.1534771197@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMJyv-6rkNtVLNi6QaAN26cC7uxeFVQfHBFBd6aBH74eGQeM_g@mail.gmail.com>
References: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org>
	<4031.1534340490@sss.pgh.pa.us>
	<CAMJyv-4aMLee-YyzyEAzF9vCCnATrWd3zjWj3toznOE=B2MomA@mail.gmail.com>
	<20180815151940.5cocuyqgt45iuqpo@alap3.anarazel.de>
	<CAMJyv-6rkNtVLNi6QaAN26cC7uxeFVQfHBFBd6aBH74eGQeM_g@mail.gmail.com>

Kai Kratz <kai.kratz@googlemail.com> writes:
> It is an in-house developed FDW. Part of the surprise was that we
> execute the postgres integration tests (as described here:
> https://www.postgresql.org/docs/current/static/regress-run.html)
> against a postgres instance with our custom FDW loaded and no errors
> show up.

Well, actually, it *is* pretty surprising that an FDW would affect
the behavior of ALTER FUNCTION.  Are you perhaps also hooking into
some parser hooks, or something else that's outside the FDW API?
Could you show us a backtrace from the segfault?

			regards, tom lane




view thread (7+ messages)

Message-ID: <19301.1534771197@sss.pgh.pa.us>
Permalink:  ../19301.1534771197@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19301.1534771197@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, kai.kratz@googlemail.com, andres@anarazel.de
  Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
  In-Reply-To: <19301.1534771197@sss.pgh.pa.us>
  References: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org> <4031.1534340490@sss.pgh.pa.us> <CAMJyv-4aMLee-YyzyEAzF9vCCnATrWd3zjWj3toznOE=B2MomA@mail.gmail.com> <20180815151940.5cocuyqgt45iuqpo@alap3.anarazel.de> <CAMJyv-6rkNtVLNi6QaAN26cC7uxeFVQfHBFBd6aBH74eGQeM_g@mail.gmail.com> <19301.1534771197@sss.pgh.pa.us>

* 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