Thread: ERROR: heap_delete: (am)invalid tid

ERROR: heap_delete: (am)invalid tid

From
Marc Tardif
Date:
I've been trying to see the limit for entering data in a text field using
the following commands:
copy test_table from '/my/file';
delete from test_table;

Suddenly, after a successful delte, I got:
ERROR: heap_delete: (am)invalid tid

What does this mean? Is it a bug or have I done something wrong?
Marc Tardif


ecpg observation

From
"Sirish Kumar"
Date:
Is following observation regarding "ecpg" correct ?

It is not possible to give different port number from embedded SQLs.
Following gives error on ecpg preprocessor :
exec sql connect to tcp:postgresql://localhost:1234/:dName ;
Where dName is a host variable for database name and 1234 is a port number.
The pre-processor cannot parse statement as the dName is a host variable.

Regards
S. Kumar