mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
878ce16056
Reviewed by Tom Lane Discussion: https://postgr.es/m/a8dc5700-c341-3ba8-0507-cc09881e6200@dunslane.net
26 lines
516 B
C
26 lines
516 B
C
/*
|
|
* contrib/seg/segdata.h
|
|
*/
|
|
typedef struct SEG
|
|
{
|
|
float4 lower;
|
|
float4 upper;
|
|
char l_sigd;
|
|
char u_sigd;
|
|
char l_ext;
|
|
char u_ext;
|
|
} SEG;
|
|
|
|
/* in seg.c */
|
|
extern int significant_digits(const char *s);
|
|
|
|
/* in segscan.l */
|
|
extern int seg_yylex(void);
|
|
extern void seg_yyerror(SEG *result, struct Node *escontext,
|
|
const char *message);
|
|
extern void seg_scanner_init(const char *str);
|
|
extern void seg_scanner_finish(void);
|
|
|
|
/* in segparse.y */
|
|
extern int seg_yyparse(SEG *result, struct Node *escontext);
|