mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Changes to the parser to accept new datatypes.
This commit is contained in:
@@ -2,14 +2,20 @@
|
||||
|
||||
#ifndef dec_t
|
||||
#define dec_t NumericVar
|
||||
|
||||
#define CSHORTTYPE 0
|
||||
#define CMONEYTYPE 0
|
||||
#define CCHARTYPE 0
|
||||
#define CDECIMALTYPE 0
|
||||
#define CINTTYPE 0
|
||||
#define CDATETYPE 0
|
||||
#define CDOUBLETYPE 0
|
||||
#define CLONGTYPE 0
|
||||
|
||||
#endif /* dec_t */
|
||||
|
||||
int decadd(dec_t *, NumericVar *, NumericVar *);
|
||||
int deccmp(dec_t *, NumericVar *);
|
||||
void deccopy(dec_t *, NumericVar *);
|
||||
int deccvasc(char *, int, dec_t *);
|
||||
int deccvdbl(double, dec_t *);
|
||||
int deccvint(int, dec_t *);
|
||||
int deccvlong(long, dec_t *);
|
||||
int decdiv(dec_t *, NumericVar *, NumericVar *);
|
||||
int decmul(dec_t *, NumericVar *, NumericVar *);
|
||||
int decsub(dec_t *, NumericVar *, NumericVar *);
|
||||
int dectoasc(dec_t *, char *, int, int);
|
||||
int dectodbl(dec_t *, double *);
|
||||
int dectoint(dec_t *, int *);
|
||||
int dectolong(dec_t *, long *);
|
||||
|
||||
|
Reference in New Issue
Block a user