Re: RE: [PATCHES] relation filename patch
От | Bruce Momjian |
---|---|
Тема | Re: RE: [PATCHES] relation filename patch |
Дата | |
Msg-id | 200005010436.AAA01959@candle.pha.pa.us обсуждение исходный текст |
Ответ на | RE: RE: [PATCHES] relation filename patch ("Hiroshi Inoue" <Inoue@tpf.co.jp>) |
Список | pgsql-hackers |
> It's diffrent from what I meant. > My question is why the macro RelationGetRelationName() > needs the following implementation. > Is it bad to add another entry such as rd_username to relation > descriptor ? > > #define RelationGetRelationName(relation) \ > (\ > (strncmp(RelationGetPhysicalRelationName(relation), \ > "pg_temp.", strlen("pg_temp.")) != 0) \ > ? \ > RelationGetPhysicalRelationName(relation) \ > : \ > get_temp_rel_by_physicalname( \ > RelationGetPhysicalRelationName(relation)) \ > ) Yes, that would work too. -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: