From: | Neha Khatri <nehakhatri5(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: wal_level > WAL_LEVEL_LOGICAL |
Date: | 2017-05-25 08:57:03 |
Message-ID: | CAFO0U+-rKLYn9ofTRFX-2uNQ4e34LWg_AQ3DZ8r+s5u02_F77A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 24 May 2017 at 10:29 pm, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Mon, May 22, 2017 at 9:08 AM, Neha Khatri <nehakhatri5(at)gmail(dot)com>
> wrote:
> > As per my understabding, current postgres server supports only three
> > values for wal_level i.e. 'minimal' , 'replica' or 'logical'. But
> > following error message brought to notice that there are various code
> > spots that try to look for wal_level >= WAL_LEVEL_LOGICAL:
>
> I suspect that this was intended as future-proofing. I think it's
> actually very reasonable to write the internal tests that way,
Agreed. Share the same thought and also started another thread just for the
user visible error message improvement [1]. In that thread the error
message is perceived to be correct.
but it
> does seem strange that it's crept into the user-visible error
> messages.
Yep, this seems useful for developer but not the end user.
Regards,
Neha
--
Cheers,
Neha
From | Date | Subject | |
---|---|---|---|
Next Message | Jeevan Ladhe | 2017-05-25 09:32:32 | Re: Adding support for Default partition in partitioning |
Previous Message | tushar | 2017-05-25 08:29:51 | Re: Get stuck when dropping a subscription during synchronizing table |