mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
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…
Reference in New Issue
Block a user