Commit Graph

11 Commits

Author SHA1 Message Date
Heiko Rabe 0914287ce2 Update backend docs, add successful tested platform 2018-06-10 21:19:13 +02:00
Mateusz Loskot 95e4633a5f Drop support for PostgreSQL 7.x
Remove uses of CMake opions and related #define-s
  SOCI_POSTGRESQL_NOPREPARE
  SOCI_POSTGRESQL_NOPARAMS
  SOCI_POSTGRESQL_NOBINDBYNAME.

Closes #122
2018-02-26 18:09:33 +01:00
Mateusz Loskot 6bfa674aec Fix typo in SOCI_POSTGRESQL_NOSINLGEROWMODE option/macro name
How this has slipped through a few pair of reviewing eyes ;-)
Corrects changes added in #571 and #594
2018-02-22 23:06:39 +01:00
Astrinus 187ae38526 Fixed broken links and typos 2017-12-20 15:37:20 +01:00
Mateusz Loskot a7f5240a19 [CMake] Add SOCI_POSTGRESQL_NOSINLGEROWMODE option (default OFF)
By default, retrieving query results row-by-row is enabled.

CMake tries to detect version of PostgreSQL (libpq) used to build SOCI
and if detected version is less than 9.x.x, then the option is
flipped to ON for backward compatibility.

Complements #571
2017-09-24 18:15:15 +02:00
Mateusz Loskot 2c45f2bc57 [docs] Fix issues reported by markdownlint 2017-09-23 20:49:45 +02:00
Mateusz Loskot 46071f5f64 [docs] Replace HTML tables with Markdown tables
Use fenced code blocks with language specification.
Update database/os/compiler tables for some backends.
2017-09-23 18:14:47 +02:00
Vadim Zeitlin 09c26314dc Allow defining SOCI_POSTGRESQL_NOSINLGEROWMODE for PostgreSQL < 9
Since the changes of b70a4e8b2f, PostgreSQL
backend is not compatible with PostgreSQL < 9, contrary to the documented
supported platforms in the documentation.

Ideal would be to continue supporting the old versions by default and use
PQsetSingleRowMode() only if it's detected as being available by CMake, but
for now at least allow disabling single mode support manually.

Closes #571.
2017-09-03 21:54:00 +02:00
Mateusz Loskot 80941a9d97 Update structure of SOCI 4.0.0 documentation
Add MkDocs configuration to build documentation pages.

[ci skip]
2017-08-07 00:45:23 +02:00
Maciej Sobczak b70a4e8b2f Added singlerows mode for PostgreSQL. 2016-06-13 21:51:44 +02:00
Mateusz Loskot c4255c9e3b Delete old /docs folder.
Rename Markdown conversion /doc to /docs
Related to #344
2015-06-30 21:56:21 +02:00