PostgreSQL Source Code git master
|
#include <ecpglib.h>
#include <ecpgerrno.h>
#include <sqlca.h>
#include <ecpg_informix.h>
#include <stdio.h>
#include <stdlib.h>
#include <pgtypes_numeric.h>
#include <pgtypes_error.h>
#include <decimal.h>
#include <sqltypes.h>
Go to the source code of this file.
Macros | |
#define | ECPGdebug(X, Y) ECPGdebug((X)+100,(Y)) |
#define | BUFSIZE 200 |
Functions | |
static void | print_double (double x) |
static void | check_errno (void) |
int | main (void) |
Variables | |
char * | decs [] |
#define BUFSIZE 200 |
Definition at line 87 of file compat_informix-dec_test.c.
#define ECPGdebug | ( | X, | |
Y | |||
) | ECPGdebug((X)+100,(Y)) |
Definition at line 9 of file compat_informix-dec_test.c.
|
static |
Definition at line 261 of file compat_informix-dec_test.c.
References ECPG_INFORMIX_NUM_OVERFLOW, ECPG_INFORMIX_NUM_UNDERFLOW, PGTYPES_NUM_BAD_NUMERIC, PGTYPES_NUM_DIVIDE_ZERO, PGTYPES_NUM_OVERFLOW, PGTYPES_NUM_UNDERFLOW, printf, and strerror.
Referenced by main().
int main | ( | void | ) |
Definition at line 90 of file compat_informix-dec_test.c.
References a, buf, BUFSIZE, calloc, CDECIMALTYPE, check_errno(), decadd(), deccmp(), deccvasc(), deccvint(), deccvlong(), decdiv(), decmul(), decs, decsub(), dectoasc(), dectodbl(), dectoint(), dectolong(), ECPGdebug, free, i, j, PGTYPESdecimal_free(), PGTYPESdecimal_new(), print_double(), printf, realloc, risnull(), and rsetnull().
|
static |
Definition at line 37 of file compat_informix-dec_test.c.
References convert(), printf, sprintf, and x.
Referenced by main().
char* decs[] |
Definition at line 73 of file compat_informix-dec_test.c.
Referenced by main().