Re: [sqlsmith] Crash in pg_get_viewdef_name_ext() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [sqlsmith] Crash in pg_get_viewdef_name_ext()
Date
Msg-id CAB7nPqTsWU_Djx60875ZgV8+TAChqKqRV5yiH9GPg8epmzGV3Q@mail.gmail.com
Whole thread Raw
In response to Re: [sqlsmith] Crash in pg_get_viewdef_name_ext()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Aug 8, 2016 at 6:57 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.)

Oops. Thanks for the fix!
-- 
Michael



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: No longer possible to query catalogs for index capabilities?
Next
From: Shay Rojansky
Date:
Subject: Re: Slowness of extended protocol