repeat-check4int.diff
text/x-patch
Filename: repeat-check4int.diff
Type: text/x-patch
Part: 0
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/backend/utils/adt/oracle_compat.c | 0 | 0 |
diff --git a/src/backend/utils/adt/oracle_compat.c b/src/backend/utils/adt/oracle_compat.c
index 0fdfee5..ecd8268 100644
*** a/src/backend/utils/adt/oracle_compat.c
--- b/src/backend/utils/adt/oracle_compat.c
***************
*** 19,25 ****
#include "utils/builtins.h"
#include "utils/formatting.h"
#include "mb/pg_wchar.h"
!
static text *dotrim(const char *string, int stringlen,
const char *set, int setlen,
--- 19,25 ----
#include "utils/builtins.h"
#include "utils/formatting.h"
#include "mb/pg_wchar.h"
! #include "miscadmin.h"
static text *dotrim(const char *string, int stringlen,
const char *set, int setlen,
*************** repeat(PG_FUNCTION_ARGS)
*** 1062,1067 ****
--- 1062,1068 ----
{
memcpy(cp, sp, slen);
cp += slen;
+ CHECK_FOR_INTERRUPTS();
}
PG_RETURN_TEXT_P(result);