On 21/07/11 10:49, maxxedit@gmail.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