From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: ben@mlabs.city
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: ALTER SCHEMA: renaming does not update string-literal function bodies
Date: Fri, 09 Oct 2026 17:36:06 -0400
Message-ID: <2985478.1791581766@sss.pgh.pa.us> (raw)
In-Reply-To: <12030d192d4a881dff7363d035631c349a0d2514.camel@cybertec.at>
References: <179157432663.2048046.109109804107041431@wrigleys.postgresql.org>
<12030d192d4a881dff7363d035631c349a0d2514.camel@cybertec.at>
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> However, it feels odd to document that for schemas, but not for tables, columns,
> functions and all other kinds of objects. It would be even worse to document
> that over and over for all the ALTER commands.
Yeah, that way madness lies.
> How about describing that in a generic location, so that it is clear that it
> applies to all objects? I am not sure where, but perhaps some introductory
> note in the "Data Definition" chapter?
I'm pretty sure there is already some text about this somewhere,
but maybe it's not in the most optimal place.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at, ben@mlabs.city, pgsql-docs@lists.postgresql.org
Subject: Re: ALTER SCHEMA: renaming does not update string-literal function bodies
In-Reply-To: <2985478.1791581766@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox