mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Fix compiler warning
on MSVC 2010 Author: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
parent
0cb2e51992
commit
28afad5c85
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue