aboutsummaryrefslogtreecommitdiff
path: root/contrib/intarray/_int_gist.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2023-06-14 05:31:54 -0700
committerNoah Misch <noah@leadboat.com>2023-06-14 05:31:54 -0700
commitf9f31aa91f82df863a35354893978e1937863d7c (patch)
treebd9df41f2490bb74f63c54158dc91feea7cdfaf7 /contrib/intarray/_int_gist.c
parent4327f6c7480fea9348ea6825a9d38a71b2ef8785 (diff)
downloadpostgresql-f9f31aa91f82df863a35354893978e1937863d7c.tar.gz
postgresql-f9f31aa91f82df863a35354893978e1937863d7c.zip
Make parseNodeString() C idiom compatible with Visual Studio 2015.
Between v15 and now, this function's "else if" chain grew from 252 lines to 592 lines, exceeding a compiler limit that manifests as "fatal error C1026: parser stack overflow, program too complex (compiling source file src/backend/nodes/readfuncs.c)". Use "if (...) return ...;" instead. Reviewed by Tom Lane, Peter Eisentraut and Michael Paquier. Not all reviewers endorse this. Discussion: https://postgr.es/m/20230607185458.GA1334487@rfd.leadboat.com
Diffstat (limited to 'contrib/intarray/_int_gist.c')
0 files changed, 0 insertions, 0 deletions