| From: | Neil Conway <neilc(at)samurai(dot)com> | 
|---|---|
| To: | tom(at)minnesota(dot)com | 
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, teodor(at)sigaev(dot)ru, oleg(at)sai(dot)msu(dot)su | 
| Subject: | Re: BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0 | 
| Date: | 2003-03-27 05:05:51 | 
| Message-ID: | 1048741551.363.4.camel@tokyo | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
On Wed, 2003-03-26 at 20:42, Thomas T. Thai wrote:
> initdb and start postmaster
> %createdb foo
> %psql foo < bug.sql
> CREATE TABLE
> INSERT 16996 1
> INSERT 16997 1
> CREATE TABLE
> INSERT 17003 1
>   ts_name | ts_name
> ---------+---------
>   default | default
>   default | default
> (2 rows)
> 
> VACUUM
> 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 
---------+---------
 default | default
 default | default
(2 rows)
VACUUM
 ts_name | ts_name 
---------+---------
 default | default
 default | default
(2 rows)
That's on CVS from a couple days ago, loading bug.sql into an
already-existing database. The machine is running Linux on x86 and
PostgreSQL is compiled with gcc 3.2.3.
Not to suggest that the bug doesn't exist -- merely that it appears to
be platform or hardware-dependant.
Cheers,
Neil
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom | 2003-03-27 05:11:07 | Re: BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0 | 
| Previous Message | Bruce Momjian | 2003-03-27 04:57:51 | Re: updateable cursors & visibility |