Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
80e3a470
Commit
80e3a470
authored
Nov 15, 2013
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor comment corrections for sequence hashtable patch.
There were enough typos in the comments to annoy me ...
parent
7cb964ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/backend/commands/sequence.c
src/backend/commands/sequence.c
+4
-3
No files found.
src/backend/commands/sequence.c
View file @
80e3a470
...
...
@@ -1022,16 +1022,17 @@ init_sequence(Oid relid, SeqTable *p_elm, Relation *p_rel)
Relation
seqrel
;
bool
found
;
/* Find or create a hash table entry for this sequence */
if
(
seqhashtab
==
NULL
)
create_seq_hashtable
();
elm
=
(
SeqTable
)
hash_search
(
seqhashtab
,
&
relid
,
HASH_ENTER
,
&
found
);
/*
* Initalize the new hash table entry if it did not exist already.
* Init
i
alize the new hash table entry if it did not exist already.
*
* NOTE: seqtable entries are stored for the life of a backend (unless
* explictly discarded with DISCARD). If the sequence itself is deleted
* explic
i
tly discarded with DISCARD). If the sequence itself is deleted
* then the entry becomes wasted memory, but it's small enough that this
* should not matter.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment