Re: gist DatumGetPointer returns pointer to corrupted data

From: Marios Vodas <mvodas(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: gist DatumGetPointer returns pointer to corrupted data
Date: 2010-10-19 21:35:59
Message-ID: AANLkTimrJgHyi6McS-Xx8Cwh29_81gxej-HQQbNCZdDu@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 19, 2010 at 10:23 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> Is pg_type.typlen set correctly?
>

Are you refering to table pg_type?
If yes, those type structures exist only in c I didn't write any in-out
functions, so they don't exist in sql level.
I pass a different data type (which exists in sql) to compress method which
changes it to typ_s_flagged.
The problem occurs in C code. I hope my explanation is clear.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-10-19 21:38:37 pgsql: Restructure the pg_upgrade code to use several global structures
Previous Message Greg Stark 2010-10-19 21:29:15 Re: Creation of temporary tables on read-only standby servers