How to rename the same column name in dozens of tables in Postgres? - Mailing list pgsql-general

From Stefan Schwarzer
Subject How to rename the same column name in dozens of tables in Postgres?
Date
Msg-id 3650E852-12F1-42D2-9AC9-E200E1453E8D@unep.org
Whole thread Raw
Responses Re: How to rename the same column name in dozens of tables in Postgres?  (Raghavendra <raghavendra.rao@enterprisedb.com>)
List pgsql-general
Hi there,

I have dozens of tables where I need to rename one column in each of these. Is there any generic way to do that?

I am not really familiar with the scripting possibilities of Postgres.

Thanks a lot for your help!

Stefan

pgsql-general by date:

Previous
From: "imagenesis@gmail.com"
Date:
Subject: Re: Scripts to build the various debian packages from postgresql source
Next
From: Rahila Syed
Date:
Subject: Re: Replication: GZIP compression in WAL sender/receiver processes communication?