Re: Redundant database objects. - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Redundant database objects.
Date
Msg-id AANLkTimxgESkJAzYPCInJEkhtY3X6z1TaGFTLPblqc3W@mail.gmail.com
Whole thread Raw
In response to Re: Redundant database objects.  (Andrew Bartley <ambartley@gmail.com>)
List pgsql-general
Hello

2010/7/13 Andrew Bartley <ambartley@gmail.com>:
> Thanks Alexander,
> Wish i had thought of that.
> I still need some way of finding redundant functions
> Thanks again
> Andrew
>

I used a function source code injection for this task

see
http://www.postgres.cz/index.php/Injekt%C3%A1%C5%BE_zdrojov%C3%A9ho_k%C3%B3du_PL/pgSQL_funkc%C3%AD_za_%C3%BA%C4%8Delem_z%C3%ADsk%C3%A1n%C3%AD_seznamu_pou%C5%BE%C3%ADvan%C3%BDch_funkc%C3%AD

article is czech, but comments in code are in english (I used it in 8.3)

you can use a PL profiler too

http://www.depesz.com/index.php/2008/05/15/waiting-for-84-function-stats/

Regards

Pavel Stehule

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Testing 9.0beta3 and pg_upgrade
Next
From: "tamanna madaan"
Date:
Subject: Re: "attempted to lock invisible tuple" error while update