New feature: selectivity - new attribute in function

From: pasman pasmański <pasman(dot)p(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: New feature: selectivity - new attribute in function
Date: 2011-04-16 19:45:51
Message-ID: BANLkTin+JHdirZG-D0BYJGy=Ty-Zajq6_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi.
It is sometimes hard to tune complicated queries. Maybe add new
attribute to functions returning boolean - selectivity, defining how
big is percent of rows for which the function returns true.

2011/4/15, Edison So <edison(dot)so2(at)gmail(dot)com>:
> I have a DELL server running Windows server 2003 and Postgres 8.1.
>
> I used pg_dump to back up a database test:
>
> pg_dump -v -h localhost -p 5432 -U postgres -F c -b -f
> "D:/db_dump/backup.bak" test
>
> The backup was showing the following error.
> .
> pg_dump: dumping contents of table history
> pg_dump: [custom archiver] WARNING: ftell mismatch with expected position --
> ftell used
>
> pg_dump: dumping contents of table history_archive
>
> pg_dump: [custom archiver] WARNING: ftell mismatch with expected position --
> ftell used
>
> pg_dump: dumping contents of table historymetadata
>
> pg_dump: [custom archiver] WARNING: ftell mismatch with expected position --
> ftell used
>
> I was trying to do a Posgres 8.1.4 backup and restored it to Postgres 9.0 on
> a new Dell server running Windows server 2008.
>
> Any clue how to resolve it?
>
> Edison
>
> --
> Edison
>

--
------------
pasman

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edison So 2011-04-16 20:10:39 Re: New feature: selectivity - new attribute in function
Previous Message Sébastien Beaulieu 2011-04-16 17:46:25 poker tracker 3