1
1
mirror of https://github.com/wader/fq.git synced 2024-11-29 23:27:12 +03:00

postgres: refactoring

This commit is contained in:
Pavel Safonov 2022-10-31 14:02:08 +03:00
parent 721c1ab3bf
commit a4d904e1c2
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
package pg_btree
package postgres
import (
"github.com/wader/fq/format/postgres/common"

View File

@ -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)
}

View File

@ -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"