Skip to content

Examples of using the asynchronous features of libpqxx

License

Notifications You must be signed in to change notification settings

KayEss/pqxx-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asynchronous pqxx

This is just a little example project for how to use the asynchronous networking features of libpqxx with my C++ coroutine libraries. A recent clang or gcc compiler is required.

Trying it out

git clone git@github.com:KayEss/pqxx-async.git --recursive
cd pqxx-async
cmake -B build.tmp .
make -C build.tmp

Further examples can be found in config-builds.

The example can be run straight from the build directory:

./build.tmp/examples/simple

Connection options can be provided through the environment as described in the libpq documentation.

PGUSER=postgres ./build.tmp/examples/simple

About

Examples of using the asynchronous features of libpqxx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published