projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e2822
)
Remove some unused variables, fix compiler warnings
author
Pavan Deolasee
<
[email protected]
>
Fri, 14 Sep 2018 04:47:59 +0000
(10:17 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Fri, 14 Sep 2018 04:47:59 +0000
(10:17 +0530)
src/backend/commands/sequence.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/sequence.c
b/src/backend/commands/sequence.c
index f429be6d22313ec46ab1a80a4e27b5ad0f234efe..caa5cba2b8b5927702bc391589b3959ee31b560e 100644
(file)
--- a/
src/backend/commands/sequence.c
+++ b/
src/backend/commands/sequence.c
@@
-706,11
+706,8
@@
nextval_internal(Oid relid, bool check_permissions)
HeapTupleData seqdatatuple;
Form_pg_sequence_data seq;
int64 incby,
- maxv,
- minv,
cache,
result;
- bool cycle;
int64 range;
int64 rangemax;
char *seqname;
@@
-752,10
+749,7
@@
nextval_internal(Oid relid, bool check_permissions)
elog(ERROR, "cache lookup failed for sequence %u", relid);
pgsform = (Form_pg_sequence) GETSTRUCT(pgstuple);
incby = pgsform->seqincrement;
- maxv = pgsform->seqmax;
- minv = pgsform->seqmin;
cache = pgsform->seqcache;
- cycle = pgsform->seqcycle;
ReleaseSysCache(pgstuple);
/* lock page' buffer and read tuple */