Re: Postgres-R: primary key patches
От | Markus Wanner |
---|---|
Тема | Re: Postgres-R: primary key patches |
Дата | |
Msg-id | 48844B62.7050003@bluegap.ch обсуждение исходный текст |
Ответ на | Re: Postgres-R: primary key patches (Alvaro Herrera <alvherre@commandprompt.com>) |
Список | pgsql-hackers |
Hi, Alvaro Herrera wrote: > Markus Wanner wrote: >> (Although, I'm still less than thrilled about the internal storage >> format of these tuple collections. That can certainly be improved and >> simplified.) > > Care to expand more on what it is? Well, what I really dislike is the overhead in code to first transform tuples into a string based internal change set representation, which then gets serialized again. That looks like two conversion steps, which are both prone to error. I'm about to merge those into a simpler tuple serializer, which shares code with the initializer (or recovery provider/subscriber) part. This is where I'd like to know what requirements Jan or others have. I will try to outline the current implementation and requirements of Postgres-R in a new thread soon. > On Replicator we're using the binary > send/recv routines to transmit tuples. (Obviously this fails when the > master and slave have differing binary output, but currently we just > punt on this point). Yeah, that's another point. I'm currently using the textual input/output functions, but would like to switch to the binary one as well. However, that's an optimization, where the above is simplification of code, which is more important to me at the moment. Regards Markus
В списке pgsql-hackers по дате отправления: