Re: BUG #16912: pg_dump 11 does not respect --quote-all-identifiers within function bodies

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Brandon Simmons <brandon(dot)m(dot)simmons(at)gmail(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16912: pg_dump 11 does not respect --quote-all-identifiers within function bodies
Date: 2021-03-05 20:17:48
Message-ID: 20210305201748.GA12026@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2021-Mar-04, Brandon Simmons wrote:

> So I guess this is really a feature request:
> - add a mode that dumps function bodies from their AST
> - --quote-all-identifiers should apply to the function body AST
>
> I can see why this might never happen. Thanks all!

Yeah, I doubt this (producing source code from a plpgsql function's AST)
would ever happen. And what would you think should happen with
functions in other languages?

--
Álvaro Herrera 39°49'30"S 73°17'W

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Владимир Владимир 2021-03-06 07:32:33 Re[2]: BUG #16894: PANIC: WAL contains references to invalid pages
Previous Message Pavel Biryukov 2021-03-05 16:55:18 Re: posgres 12 bug (partitioned table)