mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
Simplify parse representation of savepoint commands
Instead of embedding the savepoint name in a list and then requiring complex code to unpack it, just add another struct field to store it directly. Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
This commit is contained in:
@ -354,9 +354,9 @@ extern bool PrepareTransactionBlock(const char *gid);
|
||||
extern void UserAbortTransactionBlock(void);
|
||||
extern void BeginImplicitTransactionBlock(void);
|
||||
extern void EndImplicitTransactionBlock(void);
|
||||
extern void ReleaseSavepoint(List *options);
|
||||
extern void ReleaseSavepoint(const char *name);
|
||||
extern void DefineSavepoint(const char *name);
|
||||
extern void RollbackToSavepoint(List *options);
|
||||
extern void RollbackToSavepoint(const char *name);
|
||||
extern void BeginInternalSubTransaction(const char *name);
|
||||
extern void ReleaseCurrentSubTransaction(void);
|
||||
extern void RollbackAndReleaseCurrentSubTransaction(void);
|
||||
|
Reference in New Issue
Block a user