Skip site navigation (1) Skip section navigation (2)

Re: extend VacAttrStats to allow stavalues of different types

From: Jan Urbański <j(dot)urbanski(at)students(dot)mimuw(dot)edu(dot)pl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, Postgres - Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: extend VacAttrStats to allow stavalues of different types
Date: 2008-06-02 15:58:48
Message-ID: 484418B8.6060004@students.mimuw.edu.pl (view raw or flat)
Thread:
Lists: pgsql-patches
Tom Lane wrote:
> I think the correct solution is to initialize the fields to match the
> column type before calling the typanalyze function.  Then you don't
> break compatibility for existing typanalyze functions.  It's also less
> code, since the standard typanalyze functions can rely on those preset
> values.

Right. Updated patch attached.

-- 
Jan Urbanski
GPG key ID: E583D7D2

ouden estin

Attachment: extend-vacattrstats-2.diff
Description: text/plain (3.5 KB)

In response to

Responses

pgsql-patches by date

Next:From: Pavel StehuleDate: 2008-06-03 11:03:06
Subject: SQL: table function support
Previous:From: Tom LaneDate: 2008-06-02 14:37:29
Subject: Re: extend VacAttrStats to allow stavalues of different types

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group