Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Vadim Mikheev <vadim(at)krs(dot)ru>
Cc: Mike Mascari <mascarm(at)mascari(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Lincoln Yeoh <lylyeoh(at)mecomb(dot)com>, pgsql-general(at)postgreSQL(dot)org, PostgreSQL Developers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Date: 1999-11-29 07:11:57
Message-ID: 199911290711.CAA12955@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> Bruce Momjian wrote:
> >
> > > I have to say that I'm going to change on-disk database/table/index
> > > file names to _OID_! This is required by WAL because of inside of
> > > log records there will be just database/table/index oids, not names,
> > > and after crash recovery will not be able to read pg_class to get
> > > database/table/index name using oid ...
> >
> > Wow, that is a major pain. Anyone else think so?
>
> Why it's so painful?
> We can write utility to construct database dir with table names
> symlinked to real table files -:)
> Actually, I don't understand
> for what would you need to know what is what, (c) -:)

With Ingres, you can't just look at a file and know the table name, and
if you need to reload just one file from a tape, it is a royal pain to
know which file to bring back. I have said Ingres make things 100 times
harder for adminstrators by doing this.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 1999-11-29 07:33:13 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Previous Message Vadim Mikheev 1999-11-29 06:52:25 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-11-29 07:33:13 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Previous Message Vadim Mikheev 1999-11-29 06:52:25 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions