Re: proposal: fix corner use case of variadic fuctions usage

From: Vik Reykja <vikreykja(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: fix corner use case of variadic fuctions usage
Date: 2012-12-10 09:23:57
Message-ID: CALDgxVucjkZGKuw2KyVN08JX8qcL9Wx_h_QMLPqL6ic2vmyKUw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Sat, Dec 1, 2012 at 1:14 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>wrote:

> Hello
>
> >
> > Hi Pavel.
> >
> > I am trying to review this patch and on my work computer everything
> compiles
> > and tests perfectly. However, on my laptop, the regression tests don't
> pass
> > with "cache lookup failed for type XYZ" where XYZ is some number that
> does
> > not appear to be any type oid.
> >
> > I don't really know where to go from here. I am asking that other people
> try
> > this patch to see if they get errors as well.
> >
>
> yes, I checked it on .x86_64 and I had a same problems
>
> probably there was more than one issue - I had to fix a creating a
> unpacked params and I had a issue with gcc optimalization when I used
> a stack variable for fcinfo.
>
> Now I fixed these issues and I hope so it will work on all platforms
>

It appears to work a lot better, yes. I played around with it a little bit
and wasn't able to break it, so I'm marking it as ready for committer.
Some wordsmithing will need to be done on the code comments.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christian Hammers 2012-12-10 13:05:17 logcheck compatible daily logfile rotation?
Previous Message Bartosz Dmytrak 2012-12-10 08:18:06 Re: logs encoding problem Windows

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-12-10 09:28:51 Re: Support for REINDEX CONCURRENTLY
Previous Message Kyotaro HORIGUCHI 2012-12-10 09:11:05 Re: Performance Improvement by reducing WAL for Update Operation