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: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Mike Mascari <mascarm(at)mascari(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, 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 19:13:36
Message-ID: 199911291913.OAA29927@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> As it was proposed - utility to create dir with database name
> (in addition to dir with database oid where data really live)
> and symlinks there: table_name --> ../db_oid/table_oid

In fact, let me change what I suggested. Instead of 3434_mytable, I
suggest mytable_3434 so that the tables even appear in alphabetical
order in the directory. The _ may be the wrong character to separate
tablename from oid. Not sure, but we may need to use something that
can't be used in sql like mytable+234.

--
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

Browse pgsql-general by date

  From Date Subject
Next Message Miguel Montes 1999-11-29 19:18:59 Table corruption and other questions
Previous Message Bruce Momjian 1999-11-29 19:12:04 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions

Browse pgsql-hackers by date

  From Date Subject
Next Message Keith Parks 1999-11-29 19:30:51 Re: [HACKERS] VACUUM as a denial-of-service attack
Previous Message Bruce Momjian 1999-11-29 19:12:04 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions