nextp = qualname_str;
/* skip leading whitespace */
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++;
for (;;)
text_to_cstring(qualname))));
}
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++;
if (*nextp == '.')
{
after_dot = true;
nextp++;
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++;
}
else if (*nextp == '\0')
#include "lib/stringinfo.h"
#include "miscadmin.h"
#include "parser/parse_type.h"
+#include "parser/scansup.h"
#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/syscache.h"
ptr2 = ptr + strlen(ptr);
while (--ptr2 > ptr)
{
- if (!isspace((unsigned char) *ptr2))
+ if (!scanner_isspace(*ptr2))
break;
}
if (*ptr2 != ')')
for (;;)
{
/* allow leading whitespace */
- while (isspace((unsigned char) *ptr))
+ while (scanner_isspace(*ptr))
ptr++;
if (*ptr == '\0')
{
/* Lop off trailing whitespace */
while (--ptr2 >= typename)
{
- if (!isspace((unsigned char) *ptr2))
+ if (!scanner_isspace(*ptr2))
break;
*ptr2 = '\0';
}
*namelist = NIL;
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++; /* skip leading whitespace */
if (*nextp == '\0')
curname = nextp;
while (*nextp && *nextp != separator &&
- !isspace((unsigned char) *nextp))
+ !scanner_isspace(*nextp))
nextp++;
endp = nextp;
if (curname == nextp)
pfree(downname);
}
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++; /* skip trailing whitespace */
if (*nextp == separator)
{
nextp++;
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++; /* skip leading whitespace for next */
/* we expect another name, so done remains false */
}
*namelist = NIL;
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++; /* skip leading whitespace */
if (*nextp == '\0')
while (*nextp && *nextp != separator)
{
/* trailing whitespace should not be included in name */
- if (!isspace((unsigned char) *nextp))
+ if (!scanner_isspace(*nextp))
endp = nextp + 1;
nextp++;
}
return false; /* empty unquoted name not allowed */
}
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++; /* skip trailing whitespace */
if (*nextp == separator)
{
nextp++;
- while (isspace((unsigned char) *nextp))
+ while (scanner_isspace(*nextp))
nextp++; /* skip leading whitespace for next */
/* we expect another name, so done remains false */
}