Skip to content

Instantly share code, notes, and snippets.

@sgreene570
Last active February 24, 2022 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgreene570/b744d8284dad4ee84d90b48a7d23280f to your computer and use it in GitHub Desktop.
Save sgreene570/b744d8284dad4ee84d90b48a7d23280f to your computer and use it in GitHub Desktop.
[sgreene@Steves-MBP:libpg_query]$ make
compiling src/postgres/src_backend_utils_error_elog.c
src/postgres/src_backend_utils_error_elog.c:648:23: error: use of undeclared identifier 'errordata'
ErrorData *edata = &errordata[errordata_stack_depth];
^
src/postgres/src_backend_utils_error_elog.c:648:33: error: use of undeclared identifier 'errordata_stack_depth'
ErrorData *edata = &errordata[errordata_stack_depth];
^
src/postgres/src_backend_utils_error_elog.c:655:2: error: use of undeclared identifier 'errordata_stack_depth'
CHECK_STACK_DEPTH();
^
src/postgres/src_backend_utils_error_elog.c:173:7: note: expanded from macro 'CHECK_STACK_DEPTH'
if (errordata_stack_depth < 0) \
^
src/postgres/src_backend_utils_error_elog.c:655:2: error: use of undeclared identifier 'errordata_stack_depth'
src/postgres/src_backend_utils_error_elog.c:175:4: note: expanded from macro 'CHECK_STACK_DEPTH'
errordata_stack_depth = -1; \
^
src/postgres/src_backend_utils_error_elog.c:720:2: error: use of undeclared identifier 'errordata_stack_depth'
errordata_stack_depth = -1;
^
src/postgres/src_backend_utils_error_elog.c:721:2: error: use of undeclared identifier 'recursion_depth'
recursion_depth = 0;
^
6 errors generated.
make: *** [src/postgres/src_backend_utils_error_elog.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment