aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/query-const-expr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/query-const-expr.cxx')
-rw-r--r--odb/pgsql/query-const-expr.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/odb/pgsql/query-const-expr.cxx b/odb/pgsql/query-const-expr.cxx
new file mode 100644
index 0000000..94f1417
--- /dev/null
+++ b/odb/pgsql/query-const-expr.cxx
@@ -0,0 +1,16 @@
+// file : odb/pgsql/query-const-expr.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/pgsql/query.hxx>
+
+namespace odb
+{
+ namespace pgsql
+ {
+ // Sun CC cannot handle this in query.cxx.
+ //
+ const query query::true_expr (true);
+ }
+}