Re: custom system catalog table names

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: "maxxedit(at)gmail(dot)com" <maxxedit(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: custom system catalog table names
Date: 2011-07-21 03:32:15
Message-ID: 4E279DBF.1050701@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 21/07/11 10:49, maxxedit(at)gmail(dot)com wrote:
> Hi,
>
> How can one create a postgres build with custom system table names?
> For example, instead of "pg_class", I'd like to name the table as
> "foobar_class". Or instead of "pg_catalog", "foobar_catalog".
>
> I don't care about compatiblity with pgadmin, jdbc drivers, etc. I'd
> be happy just as long as I have a functional psql client.

There is no "branding" feature in Pg's code, so you'd need to go through
and change all the references to those names everywhere you care about them.

I imagine you'd have to use a psql client compiled from the same altered
codebase to have anything work.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2011-07-21 03:36:07 Re: How to implement autostart of postgres?
Previous Message Craig Ringer 2011-07-21 03:30:25 Re: Book