Postgresql tableoid column problem
Posted: 09.01.2015, 17:18
Hello,
Recently i upgrade from Delphi2010 to XE7. I used Zeos 6 before but now i had to switch to 7.1 stable release.
After upgrade i have problem with tableoid postgresql tables hidden column.
Simple example:
CREATE DATABASE test_zeos;
CREATE TABLE table_a ("int" integer, text text);
When i execute SQL in TZQuery:
SELECT tableoid, * FROM table_a;
There we have:
First chance exception at $00405C03. Exception class $C0000005 with message 'access violation at 0x00405c03: read of address 0x00000000'. Process Project1.exe (1984)
Of course: SELECT * FROM table_a; works OK.
It is possible to workaround something like this: SELECT my_new_procedure(tableoid), * FROM table_a;
but this is my last unhappy solution.
Tableoid is hidden column in every postgresql table, it is very important to me.
I checked the same bug under 2010 with 7.1 and the same bug with 7.2 from SVN on both my Delphi.
Any chance for help ?
Regards Jaromir
Recently i upgrade from Delphi2010 to XE7. I used Zeos 6 before but now i had to switch to 7.1 stable release.
After upgrade i have problem with tableoid postgresql tables hidden column.
Simple example:
CREATE DATABASE test_zeos;
CREATE TABLE table_a ("int" integer, text text);
When i execute SQL in TZQuery:
SELECT tableoid, * FROM table_a;
There we have:
First chance exception at $00405C03. Exception class $C0000005 with message 'access violation at 0x00405c03: read of address 0x00000000'. Process Project1.exe (1984)
Of course: SELECT * FROM table_a; works OK.
It is possible to workaround something like this: SELECT my_new_procedure(tableoid), * FROM table_a;
but this is my last unhappy solution.
Tableoid is hidden column in every postgresql table, it is very important to me.
I checked the same bug under 2010 with 7.1 and the same bug with 7.2 from SVN on both my Delphi.
Any chance for help ?
Regards Jaromir