mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 08:32:25 -06:00 
			
		
		
		
	[chore]: Bump github.com/jackc/pgx/v4 from 4.17.2 to 4.18.1 (#1595)
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.17.2 to 4.18.1. - [Release notes](https://github.com/jackc/pgx/releases) - [Changelog](https://github.com/jackc/pgx/blob/v4.18.1/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v4.17.2...v4.18.1) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v4 dependency-type: direct:production update-type: version-update:semver-minor ... 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
					
						
							
								9f36507c45
							
						
					
				
			
			
				commit
				
					
						24f6a447f3
					
				
			
		
					 25 changed files with 314 additions and 78 deletions
				
			
		
							
								
								
									
										10
									
								
								vendor/github.com/jackc/pgx/v4/conn.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/jackc/pgx/v4/conn.go
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -535,9 +535,13 @@ type QueryResultFormats []int16
 | 
			
		|||
// QueryResultFormatsByOID controls the result format (text=0, binary=1) of a query by the result column OID.
 | 
			
		||||
type QueryResultFormatsByOID map[uint32]int16
 | 
			
		||||
 | 
			
		||||
// Query executes sql with args. It is safe to attempt to read from the returned Rows even if an error is returned. The
 | 
			
		||||
// error will be the available in rows.Err() after rows are closed. So it is allowed to ignore the error returned from
 | 
			
		||||
// Query and handle it in Rows.
 | 
			
		||||
// Query sends a query to the server and returns a Rows to read the results. Only errors encountered sending the query
 | 
			
		||||
// and initializing Rows will be returned. Err() on the returned Rows must be checked after the Rows is closed to
 | 
			
		||||
// determine if the query executed successfully.
 | 
			
		||||
//
 | 
			
		||||
// The returned Rows must be closed before the connection can be used again. It is safe to attempt to read from the
 | 
			
		||||
// returned Rows even if an error is returned. The error will be the available in rows.Err() after rows are closed. It
 | 
			
		||||
// is allowed to ignore the error returned from Query and handle it in Rows.
 | 
			
		||||
//
 | 
			
		||||
// Err() on the returned Rows must be checked after the Rows is closed to determine if the query executed successfully
 | 
			
		||||
// as some errors can only be detected by reading the entire response. e.g. A divide by zero error on the last row.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue