1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Add some const decorations to prototypes

Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
This commit is contained in:
Peter Eisentraut
2017-10-31 10:34:31 -04:00
parent 7e60e67861
commit 0e1539ba0d
95 changed files with 236 additions and 236 deletions

View File

@ -3478,7 +3478,7 @@ BeginTransactionBlock(void)
* resource owner, etc while executing inside a Portal.
*/
bool
PrepareTransactionBlock(char *gid)
PrepareTransactionBlock(const char *gid)
{
TransactionState s;
bool result;
@ -3823,7 +3823,7 @@ EndImplicitTransactionBlock(void)
* This executes a SAVEPOINT command.
*/
void
DefineSavepoint(char *name)
DefineSavepoint(const char *name)
{
TransactionState s = CurrentTransactionState;
@ -4168,7 +4168,7 @@ RollbackToSavepoint(List *options)
* the caller to do it.
*/
void
BeginInternalSubTransaction(char *name)
BeginInternalSubTransaction(const char *name)
{
TransactionState s = CurrentTransactionState;