diff --git a/format/postgres/common/pg_btree/pg_btree.go b/format/postgres/common/pg_btree/postgres/pg_btree.go similarity index 99% rename from format/postgres/common/pg_btree/pg_btree.go rename to format/postgres/common/pg_btree/postgres/pg_btree.go index e1eb26a5..8ec52e8d 100644 --- a/format/postgres/common/pg_btree/pg_btree.go +++ b/format/postgres/common/pg_btree/postgres/pg_btree.go @@ -1,4 +1,4 @@ -package pg_btree +package postgres import ( "github.com/wader/fq/format/postgres/common" diff --git a/format/postgres/pg_btree.go b/format/postgres/pg_btree.go index 01b5aa75..5e510c65 100644 --- a/format/postgres/pg_btree.go +++ b/format/postgres/pg_btree.go @@ -2,7 +2,8 @@ package postgres import ( "embed" - "github.com/wader/fq/format/postgres/common/pg_btree" + + "github.com/wader/fq/format/postgres/common/pg_btree/postgres" "github.com/wader/fq/format" "github.com/wader/fq/pkg/decode" @@ -25,5 +26,5 @@ func init() { func decodePgBTree(d *decode.D, in any) any { d.Endian = decode.LittleEndian - return pg_btree.DecodePgBTree(d) + return postgres.DecodePgBTree(d) } diff --git a/format/postgres/pg_wal.go b/format/postgres/pg_wal.go index 54f354f2..6e793223 100644 --- a/format/postgres/pg_wal.go +++ b/format/postgres/pg_wal.go @@ -2,6 +2,7 @@ package postgres import ( "fmt" + "github.com/wader/fq/format/postgres/common/pg_wal/pgproee" "github.com/wader/fq/format/postgres/common/pg_wal/postgres"