Skip to content

markokr/pqtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rowcopy

SImple program that runs SELECT query, converts result rows into TAB-separated (COPY format) line and prints to stdout.

It suppords different ways of loading data from libpq, thus it is useful for testing libpq protocol parsing speed.

Usage:

rowdump [-z|-s|-f|-x] [-d CONNSTR] [-c SQLCOMMAND]

switches:

-f  Load full resultset into one PGresult, then process that
-s  Single-row mode - each row in separate PGresult
-z  Single-row with direct access - PQgetRowData()
-x  Single-row with simulated fast PGresult copy

About

libpq speed test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published