Fix compiler warning
on MSVC 2010 Author: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
parent
0cb2e51992
commit
28afad5c85
@ -610,8 +610,8 @@ getOwnedSequence(Oid relid, AttrNumber attnum)
|
||||
elog(ERROR, "more than one owned sequence found");
|
||||
else if (list_length(seqlist) < 1)
|
||||
elog(ERROR, "no owned sequence found");
|
||||
else
|
||||
return linitial_oid(seqlist);
|
||||
|
||||
return linitial_oid(seqlist);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user