Re: splitting *_desc routines

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: splitting *_desc routines
Дата
Msg-id 23468.1354034078@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: splitting *_desc routines  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: splitting *_desc routines  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane escribi�:
>> FWIW, I'd vote for dumping all of these into *one* rmgrdesc directory
>> (which may as well be under access/ since that's where the xlog code is),
>> regardless of where the corresponding replay code is in the source tree.
>> I don't think splitting them up into half a dozen directories adds
>> anything except confusion.  If you want, the header comment for each
>> file could mention where the corresponding replay code lives.

> Done that way.

Looks pretty sane to me.  The only thing that seems worth discussing is
whether to put the smgr-related XLOG record declarations in storage.h
as you have here, or to invent a new, more private header for them.

There are XLOG record declarations cluttering a lot of other fairly
public headers; but given that we've invented files like heapam_xlog.h
of late, maybe we should start trying to push those declarations to
less-visible spots.  Or maybe it's not worth the trouble.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: splitting *_desc routines
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: MySQL search query is not executing in Postgres DB