mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 19:42:26 -05:00 
			
		
		
		
	[chore]: Bump github.com/jackc/pgx/v5 from 5.7.2 to 5.7.3 (#3935)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.7.2 to 5.7.3. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.7.2...v5.7.3) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								a2caa5fdbb
							
						
					
				
			
			
				commit
				
					
						18c8f85a30
					
				
			
		
					 22 changed files with 608 additions and 209 deletions
				
			
		
							
								
								
									
										5
									
								
								vendor/github.com/jackc/pgx/v5/tx.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/jackc/pgx/v5/tx.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -3,7 +3,6 @@ package pgx | |||
| import ( | ||||
| 	"context" | ||||
| 	"errors" | ||||
| 	"fmt" | ||||
| 	"strconv" | ||||
| 	"strings" | ||||
| 
 | ||||
|  | @ -103,7 +102,7 @@ func (c *Conn) BeginTx(ctx context.Context, txOptions TxOptions) (Tx, error) { | |||
| 	if err != nil { | ||||
| 		// begin should never fail unless there is an underlying connection issue or | ||||
| 		// a context timeout. In either case, the connection is possibly broken. | ||||
| 		c.die(errors.New("failed to begin transaction")) | ||||
| 		c.die() | ||||
| 		return nil, err | ||||
| 	} | ||||
| 
 | ||||
|  | @ -216,7 +215,7 @@ func (tx *dbTx) Rollback(ctx context.Context) error { | |||
| 	tx.closed = true | ||||
| 	if err != nil { | ||||
| 		// A rollback failure leaves the connection in an undefined state | ||||
| 		tx.conn.die(fmt.Errorf("rollback failed: %w", err)) | ||||
| 		tx.conn.die() | ||||
| 		return err | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue