Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWW51-0006lL-4F for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Aug 2016 21:57:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bWW50-0008Qm-N9 for pgsql-hackers@arkaria.postgresql.org; Sun, 07 Aug 2016 21:57:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bWW4z-0008Nd-BQ for pgsql-hackers@postgresql.org; Sun, 07 Aug 2016 21:57:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bWW4w-0007XU-Tz; Sun, 07 Aug 2016 21:57:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u77LvoBE032339; Sun, 7 Aug 2016 17:57:50 -0400 From: Tom Lane To: Andreas Seltenreich cc: pgsql-hackers@postgresql.org, Robert Haas , Michael Paquier Subject: Re: [sqlsmith] Crash in pg_get_viewdef_name_ext() In-reply-to: <87y448l3ag.fsf@credativ.de> References: <87y448l3ag.fsf@credativ.de> Comments: In-reply-to Andreas Seltenreich message dated "Sun, 07 Aug 2016 22:41:59 +0200" Date: Sun, 07 Aug 2016 17:57:50 -0400 Message-ID: <32338.1470607070@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andreas Seltenreich 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