diff options
author | Michael Meskes <meskes@postgresql.org> | 2003-03-27 14:29:17 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2003-03-27 14:29:17 +0000 |
commit | 89508a8492cfb705e575b088103b1bfa0a56a465 (patch) | |
tree | f626eb0d39f83c1fa2fc3f401ae5d07b1a8a09ec /src/interfaces/ecpg/test/num_test.pgc | |
parent | 5e5c5cd31af02ec7e0d22951d095de6a0d35215c (diff) |
More changes to pgtypeslib and set optimization to -O1.
Diffstat (limited to 'src/interfaces/ecpg/test/num_test.pgc')
-rw-r--r-- | src/interfaces/ecpg/test/num_test.pgc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/num_test.pgc b/src/interfaces/ecpg/test/num_test.pgc index f534df5da25..42eb66d9a04 100644 --- a/src/interfaces/ecpg/test/num_test.pgc +++ b/src/interfaces/ecpg/test/num_test.pgc @@ -1,14 +1,14 @@ #include <stdio.h> #include <pgtypes_numeric.h> +#include <decimal.h> int main() { char *text="error\n"; - NumericVar *value1, *value2, *res; + Numeric *value1, *value2, *res; exec sql begin declare section; decimal(14,7) des = {0, 0, 0, 0, 0, NULL, NULL} ; - numeric num; exec sql end declare section; double d; FILE *dbgs; |