Page 1 of 1

Access violation on nested table

Posted: Wed 06 Jul 2016 08:37
by upscene
Hi,

Performing a query on nested table fails with:
Access violation at address 00000000. Read of address 00000000

Use this:

Code: Select all

CREATE TABLE IF NOT EXISTS public.nested_tablename2 (
  colname2 Serial NOT NULL ,
  vc30 VarChar(30)
);

CREATE TABLE IF NOT EXISTS public.nested_tablename (
  colname Serial NOT NULL,
  field01 Integer,
  field02 public.nested_tablename2
);

commit;

insert into nested_tablename(field01)
values (1)

commit;

and simply a select * from nested_tablename will do the trick.

I'm using the PgDAC 4.7.23, RAD Studio 2009, on PostgreSQL 9.4

Hope this helps.

With regards,

Martijn Tonies

Re: Access violation on nested table

Posted: Wed 06 Jul 2016 09:59
by AlexP
Hello,

We have reproduced AV on PostgreSQL 9.4. We will investigate the reasons for such behavior and inform you as soon as we get any results.

Re: Access violation on nested table

Posted: Thu 07 Jul 2016 08:15
by AlexP
We have already fixed the problem. The fix will be included in the next version.

Re: Access violation on nested table

Posted: Thu 07 Jul 2016 08:26
by upscene
Excellent.

Re: Access violation on nested table

Posted: Thu 07 Jul 2016 12:44
by AlexP
If you have any other questions, feel free to contact us