Re: Andres Freund 2017-09-11 <20170911090306.s7sj4uyr4t72wbam@alap3.anarazel.de>
> Could you pprint() the expression that's being initialized?
(gdb) f 4
#4 0x00005604ecedd124 in ExecInitNode (node=node@entry=0x5604ee884f80, estate=estate@entry=0x5604ee8c78a0,
eflags=eflags@entry=16)at ./build/../src/backend/executor/execProcnode.c:164
164 ./build/../src/backend/executor/execProcnode.c: Datei oder Verzeichnis nicht gefunden.
(gdb) p pprint(node)
$1 = void
2017-09-11 11:27:53.268 CEST [31066] postgres@postgres ANWEISUNG: SELECT test_param_where(); {RESULT :startup_cost
0.00 :total_cost 0.26 :plan_rows 1 :plan_width 4 :parallel_aware false :parallel_safe false :plan_node_id 0
:targetlist ( {TARGETENTRY :expr {FUNCEXPR :funcid 16402 :funcresulttype 2278
:funcretsetfalse :funcvariadic false :funcformat 0 :funccollid 0 :inputcollid 0
:args<> :location 7 } :resno 1 :resname test_param_where :ressortgroupref 0
:resorigtbl0 :resorigcol 0 :resjunk false } ) :qual <> :lefttree <> :righttree <> :initPlan <>
:extParam(b) :allParam (b) :resconstantqual <> }
Christoph
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers