Hi Matheus, I try to use your partition_insert_trigger_spi.c code for testing SPI partitionning. But at execution time the trigdata->tg_trigger->tgargs pointer is null. Do you know why ? Thanks a lot Best Reagrds Ali Pouya
Hi Ali,
That is probably because you did not passed a parameter when defined the trigger. You can follow the model at [1]. When creating the trigger, you have to use a string parameter with the name of the field with the date value used for the partition.