reading WAL files in python

Поиск
Список
Период
Сортировка
От Gerardo Herzig
Тема reading WAL files in python
Дата
Msg-id 478226FB.6030306@fmed.uba.ar
обсуждение исходный текст
Ответы Re: reading WAL files in python  ("C." Bergström <cbergstrom@netsyncro.com>)
Re: reading WAL files in python  (Erik Jones <erik@myemma.com>)
Список pgsql-sql
Hi all. Im having some fun trying to write my own replication system 
using python. I will use the postgres own WAL archiving to write the 
files,  then my app will read them and do some stuff. As im not a C 
programmer, im stuck in the mission of reading the binary files.

I guess im needing to know the internals of how wals archives are, how 
big the buffer has to be, in order to have a complete sql command.

Can someone point some advice?
I was trying to understad src/backend/access/transam/xlog.c, but seems 
too difficult to me :(

Thanks!
Gerardo


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch2: ts_headline performance problem
Следующее
От: "C." Bergström
Дата:
Сообщение: Re: reading WAL files in python