From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Michael Paquier <michael(at)paquier(dot)xyz>, Brar Piening <brar(at)gmx(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Minor documentation error regarding streaming replication protocol |
Date: | 2020-12-17 23:13:25 |
Message-ID: | 29f9b47fe0308da624791a247dee85ed86247275.camel@j-davis.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 2020-12-15 at 12:54 -0800, Andres Freund wrote:
> Hi,
>
> On 2020-12-15 01:22:44 -0800, Jeff Davis wrote:
> > Attached a simple patch that enforces an all-ASCII restore point
> > name
> > rather than documenting the possibility of non-ASCII text.
>
> +1
On second thought, I'm going to retract this patch. The docs[1] say:
"You can, if you like, add comments to a history file to record your
own notes about how and why this particular timeline was created. Such
comments will be especially valuable when you have a thicket of
different timelines as a result of experimentation."
It doesn't say how the comments should be written, but they are
apparently "#"-style comments, and presumably can contain text in
whatever encoding you want, and will be sent along to the client.
I don't see a lot of value in taking an already minor hole and closing
it halfway.
Changing the descriptor to be bytea-binary would be a principled
solution, but others objected and I don't have strong enough feelings
about it. I can live with the documentation note mentioning that it's
really binary data, and just ignore the descriptor.
Regards,
Jeff Davis
[1]
https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-TIMELINES
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-12-17 23:26:48 | Re: [BUG] orphaned function |
Previous Message | Bossart, Nathan | 2020-12-17 22:20:35 | Re: archive status ".ready" files may be created too early |