Re: create subscription - improved warning message
От | Alvaro Herrera |
---|---|
Тема | Re: create subscription - improved warning message |
Дата | |
Msg-id | 20221011105706.twlv75xgcwgvgoe2@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: create subscription - improved warning message (Peter Smith <smithpb2250@gmail.com>) |
Ответы |
Re: create subscription - improved warning message
|
Список | pgsql-hackers |
On 2022-Oct-10, Peter Smith wrote: > On Mon, Oct 10, 2022 at 4:04 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > I think the below gives accurate information: > > WARNING: subscription was created, but is not connected > > HINT: You should create the slot manually, enable the subscription, > > and run %s to initiate replication. I guess this is reasonable, but how do I know what slot name do I have to create? Maybe it'd be better to be explicit about that: HINT: You should create slot \"%s\" manually, enable the subscription, and run %s to initiate replication. though this still leaves a lot unexplained about that slot creation (which options do they have to use). If this sounds like too much for a HINT, perhaps we need a documentation subsection that explains exactly what to do, and have this HINT reference the documentation? I don't think we do that anywhere else, though. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Industry suffers from the managerial dogma that for the sake of stability and continuity, the company should be independent of the competence of individual employees." (E. Dijkstra)
В списке pgsql-hackers по дате отправления: