diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-03-29 08:25:12 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-03-29 08:25:12 +0200 |
commit | 0d15afc875f44bcb0adc244c4d9034023f99b609 (patch) | |
tree | 14cfc606b326bd81d6855cb35fa52d3ed69f7849 /src/backend/utils | |
parent | 062a8444242404242f7c2b814fed37b329639408 (diff) |
Simplify useless 0L constants
In ancient times, these belonged to arguments or fields that were
actually of type long, but now they are not anymore, so this "L"
decoration is just confusing. (Some other 0L and other "L" constants
remain, where they are actually associated with a long type.)
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/sort/tuplestore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/sort/tuplestore.c b/src/backend/utils/sort/tuplestore.c index bc36662198a..f60633df241 100644 --- a/src/backend/utils/sort/tuplestore.c +++ b/src/backend/utils/sort/tuplestore.c @@ -1246,11 +1246,11 @@ tuplestore_rescan(Tuplestorestate *state) case TSS_WRITEFILE: readptr->eof_reached = false; readptr->file = 0; - readptr->offset = 0L; + readptr->offset = 0; break; case TSS_READFILE: readptr->eof_reached = false; - if (BufFileSeek(state->myfile, 0, 0L, SEEK_SET) != 0) + if (BufFileSeek(state->myfile, 0, 0, SEEK_SET) != 0) ereport(ERROR, (errcode_for_file_access(), errmsg("could not seek in tuplestore temporary file"))); |