I wrote a simple function to insert a row in a table in postgres XL - 9.5.

I get the below error:

Internal subtransactions not supported in Postgres-XL

Am trying to search for solutions but couldn't get any, The same function works fine in vanilla postgres 9.5.

I was able to test ora2pg and migrate tons of data into the postgres-xl. But, simple insert is failing through a function.

Can I get any lead/help?