pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andreas Seltenreich <seltenreich@gmx.de>
Cc: pgsql-hackers@postgresql.org
Cc: Robert Haas <rhaas@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>
Subject: Re: [sqlsmith] Crash in pg_get_viewdef_name_ext()
Date: Sun, 07 Aug 2016 17:57:50 -0400
Message-ID: <32338.1470607070@sss.pgh.pa.us> (raw)
In-Reply-To: <87y448l3ag.fsf@credativ.de>
References: <87y448l3ag.fsf@credativ.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andreas Seltenreich <seltenreich@gmx.de> writes:
> sqlsmith just triggered a crash in pg_get_viewdef_name_ext().  Looks
> like commit 976b24fb4 failed to update this caller of
> pg_get_viewdef_worker().  Backtrace below.  Patch attached.

Pushed, thanks.

(For the record, you can trigger this by passing a name that is
a valid relation, but not a view.)

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (3+ messages)  latest in thread

Message-ID: <32338.1470607070@sss.pgh.pa.us>
Permalink:  ../32338.1470607070@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32338.1470607070@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, seltenreich@gmx.de, rhaas@postgresql.org, michael.paquier@gmail.com
  Subject: Re: [sqlsmith] Crash in pg_get_viewdef_name_ext()
  In-Reply-To: <32338.1470607070@sss.pgh.pa.us>
  References: <87y448l3ag.fsf@credativ.de> <32338.1470607070@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