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@googlemail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date: Wed, 15 Aug 2018 09:41:30 -0400
Message-ID: <4031.1534340490@sss.pgh.pa.us> (raw)
In-Reply-To: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org>
References: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org>

=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> pg-user=# CREATE SCHEMA test_schema;
> CREATE SCHEMA
> pg-user=# CREATE FUNCTION custom_eq(int, int)
> RETURNS BOOL
> LANGUAGE SQL IMMUTABLE AS
> $$
> SELECT $1 = $2;
> $$;
> CREATE FUNCTION
> pg-user=# ALTER FUNCTION custom_eq(int, int) SET SCHEMA test_schema;
> server closed the connection unexpectedly

Huh.  Works fine for me.  Is the server you're using custom-built?
If so, what build options did you use?  If not, where did you get
it from?  In either case, the output of pg_config might be useful.

			regards, tom lane




view thread (7+ messages)  latest in thread

Message-ID: <4031.1534340490@sss.pgh.pa.us>
Permalink:  ../4031.1534340490@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4031.1534340490@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
  Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
  In-Reply-To: <4031.1534340490@sss.pgh.pa.us>
  References: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org> <4031.1534340490@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