Re: [sqlsmith] Crash in pg_get_viewdef_name_ext()

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andreas Seltenreich <seltenreich(at)gmx(dot)de>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <rhaas(at)postgresql(dot)org>
Subject: Re: [sqlsmith] Crash in pg_get_viewdef_name_ext()
Date: 2016-08-07 23:43:27
Message-ID: CAB7nPqTsWU_Djx60875ZgV8+TAChqKqRV5yiH9GPg8epmzGV3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 8, 2016 at 6:57 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Andreas Seltenreich <seltenreich(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shay Rojansky 2016-08-07 23:46:05 Re: Slowness of extended protocol
Previous Message Tom Lane 2016-08-07 23:19:39 Re: No longer possible to query catalogs for index capabilities?