generate-binary

command
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This connects to a postgres server and crafts postgres-protocol message to encode its arguments into postgres' binary encoding. The result is printed as JSON "test cases" on standard out. If no arguments are provided, a set of default values for the specified data type will be sent. If arguments are provided, they will be sent as the values.

The target postgres server must accept plaintext (non-ssl) connections from the postgres:postgres account. A suitable server can be started with:

`docker run -p 127.0.0.1:5432:5432 postgres`

Jump to

Keyboard shortcuts

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