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

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
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 06:52:25
Message-ID: 384222A9.5DE64B@krs.ru
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) -:)

> Using oid's instead of names may give us some ability to fix some other
> bugs, though.

Yes.

Vadim

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-11-29 07:11:57 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Previous Message Ken Gunderson 1999-11-29 06:32:55 Re: [GENERAL] memory

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-11-29 07:11:57 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Previous Message Ed Loehr 1999-11-29 06:45:17 Re: [HACKERS] How to get OID from INSERT in PL/PGSQL?