On 07.06.23 23:16, Tom Lane wrote:
> Noah Misch <noah(at)leadboat(dot)com> writes:
>> Visual Studio 2015 version "14.0.25431.01 Update 3" has an apparent compiler
>> bug that causes the build to fail with "readfuncs.switch.c(522): fatal error
>> C1026: parser stack overflow, program too complex (compiling source file
>> src/backend/nodes/readfuncs.c)". While I wouldn't mind revoking support for
>> Visual Studio 2015, changing the code to cope is easy. See attached.
>
> +1, I think this reads better anyway.
I kind of like the style where there is only one return at the end,
because it makes it easier to inject debugging code that inspects the
return value.