Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/backend/access/gin/test/ginpostinglist_fakes.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ repalloc(void *pointer, Size size)
int
pg_fprintf(FILE *stream, const char *fmt,...)
{
return 0;
}
3 changes: 3 additions & 0 deletions src/backend/utils/fmgr/test/dfmgr_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ errmsg_impl(const char *fmt, ...)
{
}

static void errdetail_internal_impl(const char *fmt, ...) pg_attribute_printf(1, 2);

static void
errdetail_internal_impl(const char* fmt, ...)
{
Expand All @@ -66,6 +68,7 @@ errdetail_internal_impl(const char* fmt, ...)
va_start(args, fmt);

appendStringInfoVA(&buf, fmt, args);
va_end(args);
strncpy(lastErrorMsg, buf.data, sizeof(lastErrorMsg) / sizeof(lastErrorMsg[0]));

pfree(buf.data);
Expand Down
Loading