mirror of https://github.com/citusdata/citus.git
Fix variable declaration style in GetNextvalReturnTypeCatalog function
parent
36af02649e
commit
bb4f2dec3d
|
@ -1760,7 +1760,6 @@ GetNextvalReturnTypeCatalog(void)
|
||||||
{
|
{
|
||||||
Oid argTypes[1] = { REGCLASSOID };
|
Oid argTypes[1] = { REGCLASSOID };
|
||||||
List *nameList = list_make1(makeString("nextval"));
|
List *nameList = list_make1(makeString("nextval"));
|
||||||
Oid nextvalReturnType;
|
|
||||||
|
|
||||||
/* Look up the nextval(regclass) function */
|
/* Look up the nextval(regclass) function */
|
||||||
Oid nextvalFuncOid = LookupFuncName(nameList, 1, argTypes, false);
|
Oid nextvalFuncOid = LookupFuncName(nameList, 1, argTypes, false);
|
||||||
|
@ -1772,7 +1771,7 @@ GetNextvalReturnTypeCatalog(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Retrieve and validate the return type of the nextval function */
|
/* Retrieve and validate the return type of the nextval function */
|
||||||
nextvalReturnType = get_func_rettype(nextvalFuncOid);
|
Oid nextvalReturnType = get_func_rettype(nextvalFuncOid);
|
||||||
if (!OidIsValid(nextvalReturnType))
|
if (!OidIsValid(nextvalReturnType))
|
||||||
{
|
{
|
||||||
elog(ERROR, "could not determine return type of nextval(regclass)");
|
elog(ERROR, "could not determine return type of nextval(regclass)");
|
||||||
|
|
Loading…
Reference in New Issue