mirror of
https://github.com/wader/fq.git
synced 2024-11-29 23:27:12 +03:00
postgres: refactoring
This commit is contained in:
parent
721c1ab3bf
commit
a4d904e1c2
@ -1,4 +1,4 @@
|
||||
package pg_btree
|
||||
package postgres
|
||||
|
||||
import (
|
||||
"github.com/wader/fq/format/postgres/common"
|
@ -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)
|
||||
}
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user