2
0

Hard code standard PostgreSQL types

Instead of needing to instrospect the database on connection preload the
standard OID / type map. Types from extensions (like hstore) and custom
types can be registered by the application developer. Otherwise, they
will be treated as strings.
This commit is contained in:
Jack Christensen
2019-04-13 16:45:52 -05:00
parent 95058dc476
commit a6bdd8fd49
6 changed files with 118 additions and 287 deletions
+2
View File
@@ -41,6 +41,8 @@ func getConfirmedFlushLsnFor(t *testing.T, conn *pgx.Conn, slot string) string {
// - Checks the wal position of the slot on the server to make sure
// the update succeeded
func TestSimpleReplicationConnection(t *testing.T) {
t.Skipf("TODO - replication needs to be revisited when v4 churn settles down. For now just skip")
var err error
connString := os.Getenv("PGX_TEST_REPLICATION_CONN_STRING")