<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 21: Add bool data type to CppDB</title><link href="https://sourceforge.net/p/cppcms/patches/21/" rel="alternate"/><link href="https://sourceforge.net/p/cppcms/patches/21/feed.atom" rel="self"/><id>https://sourceforge.net/p/cppcms/patches/21/</id><updated>2017-03-04T17:55:11.432000Z</updated><subtitle>Recent changes to 21: Add bool data type to CppDB</subtitle><entry><title>#21 Add bool data type to CppDB</title><link href="https://sourceforge.net/p/cppcms/patches/21/?limit=25#11f5" rel="alternate"/><published>2017-03-04T17:55:11.432000Z</published><updated>2017-03-04T17:55:11.432000Z</updated><author><name>CN Liou</name><uri>https://sourceforge.net/u/cnliou/</uri></author><id>https://sourceforge.netced0153ec09db094da77af71f0bf8978862e430b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry! This is is missing attachment of the patch file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add bool data type to CppDB</title><link href="https://sourceforge.net/p/cppcms/patches/21/" rel="alternate"/><published>2017-03-04T17:52:22.689000Z</published><updated>2017-03-04T17:52:22.689000Z</updated><author><name>CN Liou</name><uri>https://sourceforge.net/u/cnliou/</uri></author><id>https://sourceforge.netd4f0385d95e45244dd9a858862dd7c0847fa98a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Important! This patch works only for PostgreSQL. Applying this patch will cause all other back end drivers unable to compile.&lt;/p&gt;
&lt;p&gt;Please check comments &lt;code&gt;TODO&lt;/code&gt; in this diff file before applying this patch.  All except PostgreSQL drivers are commented out in &lt;code&gt;CMakefile&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;changes made:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;adding bool data type&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;moving PGconn* from private to public so that applications can do lower level works like this:&lt;/p&gt;
&lt;p&gt;cppdb::postgresql::connection cppdb_pg_conn(cppdb::connection_info("CONN-STRING"));&lt;br/&gt;
  PGconn *pg_conn=cppdb_pg_conn.pg_conn();&lt;br/&gt;
  PQexec(pg_conn,"LISTEN notify_me_of_changes");&lt;br/&gt;
  int sock=PQsocket(pg_conn);&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This diff file comes from &lt;code&gt;svn diff&lt;/code&gt; applied to cppdb/trunk.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>