generate-binary

command
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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