postgres icon indicating copy to clipboard operation
postgres copied to clipboard

GORM PostgreSQL driver

Results 53 postgres issues
Sort by recently updated
recently updated
newest added

Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.16.1 to 4.17.0. Changelog Sourced from github.com/jackc/pgx/v4's changelog. 4.17.0 (August 6, 2022) Upgrade pgconn to v1.13.0 Upgrade pgproto3 to v2.3.1 Upgrade pgtype to v1.12.0 Allow background pool...

dependencies
go

## GORM Playground Link https://github.com/go-gorm/playground/pull/500 ## Description The problem is rather simple: every run of AutoMigrate will execute a redundant ALTER COLUMN for int types (int64). The reason?: The GORM...

- [x] Do only one thing - [x] Non breaking API changes - [x] Tested ### What did this pull request do? Previous version of `golang.org/x/crypto` has some important security...

- [X] Do only one thing - [X] Non breaking API changes - [X] Tested (cockroachdb only) ### What did this pull request do? Solves issue #120 ### User Case...

## Description When you create a unique index in CockroachDB you can find the columns in the query `SELECT c.column_name, constraint_type FROM information_schema.table_constraints tc JOIN information_schema.constraint_column_usage AS ccu USING (constraint_schema,...

- [x] Do only one thing - [x] Non breaking API changes - [x] Tested(use original test code) ### What did this pull request do? ### User Case Description 1....

### What did this pull request do? Add USING ?::? to AlterColumn Without this, it will report error as I described in the issue #104 ### User Case Description We...

## GORM Playground Link https://github.com/go-gorm/playground/pull/475 ## Description If we want to change column from varchar to int, it will report error like below: [2022-05-09 11:57:51] INFO [db] /opt/homebrew/Cellar/[email protected]/1.17.9/pkg/mod/gorm.io/driver/[email protected]/migrator.go:270 ERROR: column...

## GORM Playground Link https://github.com/go-gorm/playground/pull/461 ## Description Tested with postgres driver `v1.3.1` to `v1.3.3` Panic occurs only on `v1.3.3`

Sorry for skipping the playground PR, but I think the below snippet should explain the issue well enough. ## Example ```go package main import ( "gorm.io/driver/postgres" "gorm.io/gorm" "gorm.io/gorm/logger" ) type...