Re: [HACKERS] CURRENT: crash in select_view regression test...
От | jwieck@debis.com (Jan Wieck) |
---|---|
Тема | Re: [HACKERS] CURRENT: crash in select_view regression test... |
Дата | |
Msg-id | m0zqvH6-000EBPC@orion.SAPserv.Hamburg.dsh.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] CURRENT: crash in select_view regression test... (Keith Parks <emkxp01@mtcc.demon.co.uk>) |
Список | pgsql-hackers |
> If I select from the view I get a BE crash. That was a typo in nodes/read.c that is fixed. > If I start looking around in ruleutils.c why can't I see "spirc"?? > > Breakpoint 2, pg_get_viewdef (rname=0xe01d56a0) at ruleutils.c:277 > 277 if (spirc != SPI_OK_SELECT) > (gdb) print spirc > No symbol "spirc" in current context. > (gdb) list > 272 args[1] = PointerGetDatum(name2); > 273 nulls[0] = ' '; > 274 nulls[1] = ' '; > 275 nulls[2] = '\0'; > 276 spirc = SPI_execp(plan_getview, args, nulls, 1); > 277 if (spirc != SPI_OK_SELECT) > 278 elog(ERROR, "failed to get pg_rewrite tuple for view %s", rulename); > 279 if (SPI_processed != 1) > 280 tmp = "Not a view"; > 281 else > > Jan in particular, any idea what's happening here? Must take a look at it anyway. Thomas added new node types which must be handled there too (CASE). Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #======================================== jwieck@debis.com (Jan Wieck) #
В списке pgsql-hackers по дате отправления: