Skip to content

Commit fe9e3e3

Browse files
authored
Merge pull request #52 from ankane/pg_query_go
Upgrade pg_query_go to v6
2 parents 02575cd + 743283c commit fe9e3e3

16 files changed

Lines changed: 17 additions & 17 deletions

src/server/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/google/uuid v1.6.0
1111
github.com/jackc/pgx/v5 v5.7.2
1212
github.com/marcboeker/go-duckdb/v2 v2.3.2
13-
github.com/pganalyze/pg_query_go/v5 v5.1.0
13+
github.com/pganalyze/pg_query_go/v6 v6.1.0
1414
)
1515

1616
require golang.org/x/crypto v0.35.0

src/server/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpsp
9393
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY=
9494
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI=
9595
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE=
96-
github.com/pganalyze/pg_query_go/v5 v5.1.0 h1:MlxQqHZnvA3cbRQYyIrjxEjzo560P6MyTgtlaf3pmXg=
97-
github.com/pganalyze/pg_query_go/v5 v5.1.0/go.mod h1:FsglvxidZsVN+Ltw3Ai6nTgPVcK2BPukH3jCDEqc1Ug=
96+
github.com/pganalyze/pg_query_go/v6 v6.1.0 h1:jG5ZLhcVgL1FAw4C/0VNQaVmX1SUJx71wBGdtTtBvls=
97+
github.com/pganalyze/pg_query_go/v6 v6.1.0/go.mod h1:nvTHIuoud6e1SfrUaFwHqT0i4b5Nr+1rPWVds3B5+50=
9898
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=
9999
github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
100100
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=

src/server/parser_a_expr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"strings"
55

6-
pgQuery "github.com/pganalyze/pg_query_go/v5"
6+
pgQuery "github.com/pganalyze/pg_query_go/v6"
77
)
88

99
type ParserAExpr struct {

src/server/parser_column_ref.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
pgQuery "github.com/pganalyze/pg_query_go/v5"
4+
pgQuery "github.com/pganalyze/pg_query_go/v6"
55
)
66

77
type ParserColumnRef struct {

src/server/parser_function.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"strings"
55

6-
pgQuery "github.com/pganalyze/pg_query_go/v5"
6+
pgQuery "github.com/pganalyze/pg_query_go/v6"
77
)
88

99
type ParserFunction struct {

src/server/parser_select.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
pgQuery "github.com/pganalyze/pg_query_go/v5"
4+
pgQuery "github.com/pganalyze/pg_query_go/v6"
55
)
66

77
type ParserSelect struct {

src/server/parser_show.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
pgQuery "github.com/pganalyze/pg_query_go/v5"
4+
pgQuery "github.com/pganalyze/pg_query_go/v6"
55
)
66

77
type ParserShow struct {

src/server/parser_table.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
pgQuery "github.com/pganalyze/pg_query_go/v5"
4+
pgQuery "github.com/pganalyze/pg_query_go/v6"
55
)
66

77
type QueryToIcebergTable struct {

src/server/parser_type_cast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"strings"
55

6-
pgQuery "github.com/pganalyze/pg_query_go/v5"
6+
pgQuery "github.com/pganalyze/pg_query_go/v6"
77
)
88

99
type ParserTypeCast struct {

src/server/parser_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
pgQuery "github.com/pganalyze/pg_query_go/v5"
4+
pgQuery "github.com/pganalyze/pg_query_go/v6"
55
)
66

77
type ParserUtils struct {

0 commit comments

Comments
 (0)