#include <ecpglib.h>
#include <ecpgerrno.h>
#include <sqlca.h>
Go to the source code of this file.
Defines | |
#define | ECPGdebug(X, Y) ECPGdebug((X)+100,(Y)) |
Functions | |
int | main (void) |
Variables | |
char * | s1 |
char * | s2 |
char * | s3 |
char * | s4 |
char * | s5 |
char * | s6 |
#define ECPGdebug | ( | X, | ||
Y | ||||
) | ECPGdebug((X)+100,(Y)) |
Definition at line 7 of file preproc-strings.c.
int main | ( | void | ) |
Definition at line 36 of file preproc-strings.c.
References ECPGconnect(), ECPGdebug, ECPGdisconnect(), ECPGdo(), ECPGst_normal, ECPGt_char, ECPGt_EOIT, ECPGt_EORT, ECPGt_NO_INDICATOR, NULL, s1, s2, s3, s4, s5, and s6.
{ ECPGdebug(1, stderr); { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , NULL, 0); } #line 11 "strings.pgc" { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "set standard_conforming_strings to on", ECPGt_EOIT, ECPGt_EORT);} #line 13 "strings.pgc" { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "select 'abcdef' , N'abcdef' as foo , E'abc\\bdef' as \"foo\" , U&'d\\0061t\\0061' as U&\"foo\" , U&'d!+000061t!+000061' uescape '!' , $foo$abc$def$foo$", ECPGt_EOIT, ECPGt_char,&(s1),(long)0,(long)1,(1)*sizeof(char), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_char,&(s2),(long)0,(long)1,(1)*sizeof(char), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_char,&(s3),(long)0,(long)1,(1)*sizeof(char), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_char,&(s4),(long)0,(long)1,(1)*sizeof(char), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_char,&(s5),(long)0,(long)1,(1)*sizeof(char), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_char,&(s6),(long)0,(long)1,(1)*sizeof(char), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EORT);} #line 21 "strings.pgc" printf("%s %s %s %s %s %s\n", s1, s2, s3, s4, s5, s6); { ECPGdisconnect(__LINE__, "CURRENT");} #line 25 "strings.pgc" return (0); }
char* s1 |
Definition at line 31 of file preproc-strings.c.
Referenced by bit_overlay(), bitsubstring(), bytea_overlay(), clause_selectivity(), clauselist_selectivity(), compare3(), datumIsEqual(), heap_compare_slots(), hstore_concat(), main(), rowcomparesel(), scalararraysel(), text_overlay(), and tsquery_opr_selec().
char * s2 |
Definition at line 31 of file preproc-strings.c.
Referenced by bit_overlay(), bytea_overlay(), clause_selectivity(), clauselist_selectivity(), compare3(), datumIsEqual(), fixempties(), heap_compare_slots(), hstore_concat(), main(), makesearch(), parseqatom(), repeat(), scalararraysel(), text_overlay(), and tsquery_opr_selec().
char * s3 |
Definition at line 31 of file preproc-strings.c.
Referenced by main().
char * s4 |
Definition at line 31 of file preproc-strings.c.
Referenced by main().
char * s5 |
Definition at line 31 of file preproc-strings.c.
Referenced by main().
char * s6 |
Definition at line 31 of file preproc-strings.c.
Referenced by main().