Table symbolic link

From: "Campbell, Lance" <lance(at)illinois(dot)edu>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Table symbolic link
Date: 2016-05-18 14:31:21
Message-ID: B75CD08C73BD3543B97E4EF3964B7D7020395771@CITESMBX1.ad.uillinois.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

PostgreSQL 9.5.x

I have 16 web applications using a single database. Some of the tables in the database are used by many of the applications. I wanted to rename a particular table. The issue is that I would have to change every application then stop all the applications and then redeploy them after renaming the table to the new name.

The better strategy would be to rename the table to the new name and add a symbolic table that link to the new table name. Then as I make changes to each application I can point them to the new name. Maybe in a year I could delete the symbolic table name.

Is this possible? I have not seen a symbolic table name feature but I thought I would ask.

If this is not currently possible it might be something to consider adding.

Thanks,

Lance
Web Services @ University of Illinois

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2016-05-18 14:36:41 Re: Table symbolic link
Previous Message Lucas Possamai 2016-05-18 01:38:53 Re: wal segment failed