diff options
Diffstat (limited to 'pgsql/custom')
-rw-r--r-- | pgsql/custom/test.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgsql/custom/test.hxx b/pgsql/custom/test.hxx index 1f83031..68b6dd6 100644 --- a/pgsql/custom/test.hxx +++ b/pgsql/custom/test.hxx @@ -42,7 +42,7 @@ operator== (const point& a, const point& b) // Map INTEGER[] PostgreSQL type to std::vector<int>. The other half of // this mapping is in traits.hxx (value_traits<std::vector<int>, id_string>). // -#pragma db map type("INTEGER *\\[(\\d+)\\]") \ +#pragma db map type("INTEGER *\\[(\\d*)\\]") \ as("TEXT") \ to("(?)::INTEGER[$1]") \ from("(?)::TEXT") |