Skip to content

Commit 12f26d0

Browse files
author
Alexander Korotkov
committed
Fix reloptions memory problem.
1 parent 0e3cbc1 commit 12f26d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/backend/access/common/reloptions.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,12 @@ initialize_reloptions(void)
429429
intRelOpts[i].gen.lockmode));
430430
j++;
431431
}
432+
for (i = 0; int64RelOpts[i].gen.name; i++)
433+
{
434+
Assert(DoLockModesConflict(int64RelOpts[i].gen.lockmode,
435+
int64RelOpts[i].gen.lockmode));
436+
j++;
437+
}
432438
for (i = 0; realRelOpts[i].gen.name; i++)
433439
{
434440
Assert(DoLockModesConflict(realRelOpts[i].gen.lockmode,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy