[Patch] remove duplicated smgrclose
Steven Niu <niushiji@gmail.com>
From: Steven Niu <niushiji@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2024-07-31T03:15:47Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Give SMgrRelation pointers a well-defined lifetime.
- 21d9c3ee4ef7 17.0 cited
Attachments
- 0001-remove-duplicated-smgrclose.patch (application/octet-stream) patch 0001
Hello, hackers, I think there may be some duplicated codes. Function smgrDoPendingDeletes() calls both smgrdounlinkall() and smgrclose(). But both functions would close SMgrRelation object, it's dupliacted behavior? So I make this patch. Could someone take a look at it? Thanks for your help, Steven >From Highgo.com