Itagaki Takahiro <itagaki.takahiro@gmail.com> writes:
>> http://github.com/dimitri/pg_basebackup
>>
>>> There's been some talk of being able to stream a base backup over the
>>> replication connection too, which would be extremely handy.
>>
>> Yes please ! :)
>
> One issue of the base backup function is that the operation will
> be a long transaction. So, non-transactional special commands,
> as like as VACUUM, would be better in terms of performance.
> For example, CREATE or ALTER REPLICATION.
Well, you still need to stream the data to the client in a format it
will understand. Would that be the plan of your command proposal?
> Of course, function-based approach is more flexible and
> less invasive to the SQL parser. There are trade-offs.
Well that was easier for a proof-of-concept at least.
--
Dimitri Fontaine
PostgreSQL DBA, Architecte