Re: [HACKERS] BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0

2003-03-27 Thread Tom
> Neil Conway <[EMAIL PROTECTED]> writes: >> On Wed, 2003-03-26 at 20:42, Thomas T. Thai wrote: >>> ERROR: datumGetSize: Invalid typLen 0 > >> Works for me: > > Me too. Could be a 64-bit issue? Or a bug in the compiler Thomas is > using? > > Please get a stack trace from the point of the error a

Re: [HACKERS] BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0

2003-03-26 Thread Thomas T. Thai
>> On Wed, 2003-03-26 at 20:42, Thomas T. Thai wrote: > [...] >>> ERROR: datumGetSize: Invalid typLen 0 >> >> Works for me: >> >> [nconway:/home/nconway]% psql -f bug.sql >> CREATE TABLE >> INSERT 287424 1 >> INSERT 287425 1 >> CREATE TABLE >> INSERT 287431 1 >> ts_name | ts_name >> -+---

Re: [HACKERS] BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0

2003-03-26 Thread Tom
> On Wed, 2003-03-26 at 20:42, Thomas T. Thai wrote: [...] >> ERROR: datumGetSize: Invalid typLen 0 > > Works for me: > > [nconway:/home/nconway]% psql -f bug.sql > CREATE TABLE > INSERT 287424 1 > INSERT 287425 1 > CREATE TABLE > INSERT 287431 1 > ts_name | ts_name > -+- > defau

Re: [HACKERS] BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0

2003-03-26 Thread Thomas T. Thai
Please also note that if you change the data type from text to int, then the test succeeds: CREATE TABLE wow_cfgmap ( ts_id int ); insert into wow_cfgmap values (1); insert into wow_cfgmap values (2); CREATE TABLE wow_cfg ( ts_id int ); insert into wow_cfg values (1); select

Re: [HACKERS] BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0

2003-03-26 Thread Thomas T. Thai
I just tested this on 7.4-snapshot-2003-03-24 and the same error occurred. The one regression test (opr_sanity) in 7.4-snapshot that failed also had this error. ERROR: datumGetSize: Invalid typLen 0 > System: NetBSD / Alpha 1.6 (64 bit) > Postgresql 7.3.2 > > Bug: after vacuum analyze, I'm una