Re: [HACKERS] Open 6.3 issues - Mailing list pgsql-hackers

From Vadim B. Mikheev
Subject Re: [HACKERS] Open 6.3 issues
Date
Msg-id 34F4A299.7E97E2D9@sable.krasnoyarsk.su
Whole thread Raw
In response to Re: [HACKERS] Open 6.3 issues  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
Jan Wieck wrote:
>
> >
> > Jan Wieck wrote:
> > >
> > > > ScanKeyData missing initializations
> > >
> > >     More details on missing initializations of ScanKeyData pleas.
> > >     Might have some time now since the other permission and setuid
> > >     things are delayed for 6.4.
> >
> > There was one place in selfuncs.c where scan key was initialized
> > directly by assignment values to structure' fields
> > (without ScanKeyEntryInitialize) and so new 6.3 fields were
> > not initialized at all. One should check all code...
>
>     Haven't found any more places where sk_attno is assigned a
>     value and where no previous ScanKeyEntryInitialize() is
>     done. Think it's already fixed then.

Ok, but the problem was in un-initialized sk_func->fn_oid (sorry)...

Vadim

pgsql-hackers by date:

Previous
From: "Vadim B. Mikheev"
Date:
Subject: 6.X vacuum bug found & fixed
Next
From: "Danny White"
Date:
Subject: unsubscribe