From d9f372d7b1bc1abbff5fdf9735118290cd024d5e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 25 Jan 2024 17:28:38 +0300 Subject: Turn libodb-pgsql repository into package for muti-package repository --- libodb-pgsql/odb/pgsql/details/options.cli | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 libodb-pgsql/odb/pgsql/details/options.cli (limited to 'libodb-pgsql/odb/pgsql/details/options.cli') diff --git a/libodb-pgsql/odb/pgsql/details/options.cli b/libodb-pgsql/odb/pgsql/details/options.cli new file mode 100644 index 0000000..f568236 --- /dev/null +++ b/libodb-pgsql/odb/pgsql/details/options.cli @@ -0,0 +1,56 @@ +// file : odb/pgsql/details/options.cli +// license : GNU GPL v2; see accompanying LICENSE file + +include ; + +namespace odb +{ + namespace pgsql + { + namespace details + { + class options + { + std::string --user | --username + { + "", + "PostgreSQL database user." + }; + + std::string --password + { + "", + "PostgreSQL database password." + }; + + std::string --database | --dbname + { + "", + "PostgreSQL database name." + }; + + std::string --host + { + "", + "PostgreSQL database host name or address (localhost by default)." + }; + + std::string --port + { + "", + "PostgreSQL database port number or socket file name extension for + Unix-domain connections." + }; + + std::string --options-file + { + "", + "Read additional options from . Each option should appear on a + separate line optionally followed by space or equal sign (\cb{=}) + and an option value. Empty lines and lines starting with \cb{#} are + ignored." + }; + }; + } + } +} -- cgit v1.1