Re: pg_dump new feature: exporting functions only. Bad or good idea ?

From: Laetitia Avrot <laetitia(dot)avrot(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Greg Stark <stark(at)mit(dot)edu>, Michael Paquier <michael(at)paquier(dot)xyz>, Ryan Lambert <ryan(at)rustprooflabs(dot)com>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, ahsan hadi <ahsan(dot)hadi(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_dump new feature: exporting functions only. Bad or good idea ?
Date: 2022-03-25 16:25:01
Message-ID: CAB_COdivDdsmVg3j9_bWqhg6M7qfA1RpD8zPPv8rP01+iaQM8Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Tom,

Le ven. 25 mars 2022 à 00:18, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> a écrit :

> Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
> >> On 24 Mar 2022, at 23:38, Greg Stark <stark(at)mit(dot)edu> wrote:
> >> It looks like this discussion has reached a bit of an impasse with Tom
> >> being against this approach and Michael and Daniel being for it. It
> >> doesn't look like it's going to get committed this commitfest, shall
> >> we move it forward or mark it returned with feedback?
>
> > Lætitia mentioned the other day off-list that she was going to try and
> update
> > this patch with the pattern support proposed, so hopefully we will hear
> from
> > her shortly on that.
>
> To clarify: I'm not against having an easy way to dump all-and-only
> functions. What concerns me is having such a feature that's designed
> in isolation, without a plan for anything else. I'd like to create
> some sort of road map for future selective-dumping options, and then
> we can make sure that this feature fits into the bigger picture.
> Otherwise we're going to end up with an accumulation of warts, with
> inconsistent naming and syntax, and who knows what other sources of
> confusion.
>

This totally makes sense.

Have a nice day,

Lætitia

>
> regards, tom lane
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dagfinn Ilmari Mannsåker 2022-03-25 16:26:52 Re: Corruption during WAL replay
Previous Message Laetitia Avrot 2022-03-25 16:23:36 Re: pg_dump new feature: exporting functions only. Bad or good idea ?