Dear Dev-List,
inside execProcnode.c's ExecProcNode method we want to extract the value of
a tuple for a specific attribute. This works great for integers and
strings, but we are not able to figure out how to do this for floating
point numbers. Below is some example code snippet to show our
Hi,
during the initialization of the nodes in the plan tree (in ExecInitNode in
the file execProcnode.c) I want to find out for a node with the type T_Agg
which table will be aggregated. I tried the following:
resultAsAggState = ExecInitAgg((Agg *) node, estate, eflags);
if (resultAsAggState)
{
2014/1/15 Masterprojekt Naumann1 mpws201...@gmail.com
Hi,
during the initialization of the nodes in the plan tree (in ExecInitNode
in the file execProcnode.c) I want to find out for a node with the type
T_Agg which table will be aggregated. I tried the following:
resultAsAggState
to attach and aggregate with a table.
If you can explain what you intend to do with that information, there
might be other ways to solve your problem.
On Wed, Jan 15, 2014 at 3:29 PM, Masterprojekt Naumann1
mpws201...@gmail.com wrote:
2014/1/15 Masterprojekt Naumann1 mpws201...@gmail.com
Hi
Hi,
I want to read an attribute value from a TupleTableSlot. When I try to
convert an attribute of SQL type varchar from Datum* to char* with the help
of the method TextDatumGetCString(...), sometimes there is a segmentation
fault. The segmentation fault comes from the method
hlinnakan...@vmware.com
On 01/06/2014 03:09 PM, Masterprojekt Naumann1 wrote:
I want to read an attribute value from a TupleTableSlot. When I try to
convert an attribute of SQL type varchar from Datum* to char* with the
help
of the method TextDatumGetCString(...), sometimes
2014/1/6 Craig Ringer cr...@2ndquadrant.com
On 01/06/2014 09:09 PM, Masterprojekt Naumann1 wrote:
Why is the memory of the variable uninitialized?
Are there any other patches you've made to the running PostgreSQL instance?
I'd want to run under Valgrind and see what turned up. This might
2014/1/6 Thomas Fanghaenel tfanghae...@salesforce.com
On Mon, Jan 6, 2014 at 8:09 AM, Masterprojekt Naumann1
mpws201...@gmail.com wrote:
Why is the memory of the variable uninitialized?
Are you checking that i = slot-tts_nvalid before accessing the
tts_values and tts_isnull arrays