pgutils

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2019 License: MIT Imports: 6 Imported by: 15

Documentation

Index

Constants

View Source
const (
	// OutputPlugin contains logical decoder plugin name
	OutputPlugin = "pgoutput"
)

Variables

This section is empty.

Functions

func IstoreToArrays

func IstoreToArrays(w utils.Writer, str []byte) error

IstoreToArrays writes 2 tab-delimited ClickHouse arrays from the postgres istore

func PgStatLiveTuples

func PgStatLiveTuples(pgTx *pgx.Tx, name config.PgTableName) (uint64, error)

PgStatLiveTuples returns approximate number of rows for the table

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL