Re: Better sanity checking for message length words

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Matthias Apitz <guru(at)unixarea(dot)de>
Subject: Re: Better sanity checking for message length words
Date: 2021-04-27 10:29:02
Message-ID: CAJ7c6TMZW4rCG1QJm5cF4ALv4595oV+OfytybgP5w7jmM1aKZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,

> ...
> Given the small number of complaints to date, I'm hesitant to
> back-patch this: if there's anybody out there with valid use for
> long messages that I didn't think should be long, this might break
> things for them. But I think it'd be reasonable to sneak it into
> v14, since we've not started beta yet.
>
> Thoughts?

I'm having slight issues applying your patch to the `master` branch.
Is it the right target?

Regarding the idea, I think extra checks are a good thing and
definitely something that can be introduced in the next major version.
If we receive a complaint during beta-testing we can revert the patch
or maybe increase the limit for small messages.

--
Best regards,
Aleksander Alekseev

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-04-27 11:23:16 Re: Attach to shared memory after fork()
Previous Message Aleksander Alekseev 2021-04-27 09:58:52 Re: Bug fix for tab completion of ALTER TABLE ... VALIDATE CONSTRAINT ...