Re: PITR Phase 2 - Design Planning
От | Alvaro Herrera |
---|---|
Тема | Re: PITR Phase 2 - Design Planning |
Дата | |
Msg-id | 20040429181006.GA3254@dcc.uchile.cl обсуждение исходный текст |
Ответ на | Re: PITR Phase 2 - Design Planning (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: PITR Phase 2 - Design Planning
|
Список | pgsql-hackers |
On Thu, Apr 29, 2004 at 05:09:19PM +0200, Peter Eisentraut wrote: > Simon Riggs wrote: > > I'd suggest extending the CHECKPOINT command so you can say: > > CHECKPOINT <text message> > > e.g. CHECKPOINT 'starting payroll Feb04'; > > (I'm sure some other DBMS does this...head spinning can;t recall...) > > the text could just appear in the xlog record data packet... > > I believe you are thinking of a savepoint rather than a checkpoint. But a "savepoint" has a very precise meaning in the SQL standard, which relates to points in a transaction you can roll back to. I don't think you want to overload with this other meaning, which I see as putting a special mark in the XLog -- completely unrelated. ISTM Checkpoint 'something' would flush all xlogs, insert some kind of special xlog record with 'something' on it, and then archive everything (up to that point?). -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "XML!" Exclaimed C++. "What are you doing here? You're not a programming language." "Tell that to the people who use me," said XML.
В списке pgsql-hackers по дате отправления: