Content-Length: 289543 | pFad | http://github.com/postgrespro/postgres_cluster/commit/3591844a5d610f9ad0af76f15aa321486d147e1b

8E const specifier in PrepareTransactionBlock() · postgrespro/postgres_cluster@3591844 · GitHub
Skip to content

Commit 3591844

Browse files
committed
const specifier in PrepareTransactionBlock()
1 parent 3183e4d commit 3591844

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/access/transam/xact.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3445,7 +3445,7 @@ BeginTransactionBlock(void)
34453445
* resource owner, etc while executing inside a Portal.
34463446
*/
34473447
bool
3448-
PrepareTransactionBlock(char *gid)
3448+
PrepareTransactionBlock(const char *gid)
34493449
{
34503450
TransactionState s;
34513451
bool result;

src/include/access/xact.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ extern void CommitTransactionCommand(void);
335335
extern void AbortCurrentTransaction(void);
336336
extern void BeginTransactionBlock(void);
337337
extern bool EndTransactionBlock(void);
338-
extern bool PrepareTransactionBlock(char *gid);
338+
extern bool PrepareTransactionBlock(const char *gid);
339339
extern void UserAbortTransactionBlock(void);
340340
extern void ReleaseSavepoint(List *options);
341341
extern void DefineSavepoint(char *name);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/3591844a5d610f9ad0af76f15aa321486d147e1b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy