|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "common/string.h"#include "storage/fd.h"#include "tsearch/ts_locale.h"
Go to the source code of this file.
Macros | |
| #define | WC_BUF_LEN 2 |
Functions | |
| static void | tsearch_readline_callback (void *arg) |
| int | t_isalpha (const char *ptr) |
| int | t_isalnum (const char *ptr) |
| bool | tsearch_readline_begin (tsearch_readline_state *stp, const char *filename) |
| char * | tsearch_readline (tsearch_readline_state *stp) |
| void | tsearch_readline_end (tsearch_readline_state *stp) |
| #define WC_BUF_LEN 2 |
Definition at line 24 of file ts_locale.c.
Definition at line 40 of file ts_locale.c.
References Assert, fb(), pg_attribute_unused, pg_database_locale(), pg_iswalnum(), pg_mb2wchar_with_len(), pg_mblen(), and WC_BUF_LEN.
Referenced by parse_or_operator().
Definition at line 27 of file ts_locale.c.
References Assert, fb(), pg_attribute_unused, pg_database_locale(), pg_iswalpha(), pg_mb2wchar_with_len(), pg_mblen(), and WC_BUF_LEN.
Referenced by parse_affentry(), RS_compile(), and RS_isRegis().
| char * tsearch_readline | ( | tsearch_readline_state * | stp | ) |
Definition at line 100 of file ts_locale.c.
References fb(), pfree(), pg_any_to_server(), pg_get_line_buf(), PG_UTF8, and pstrdup().
Referenced by dsynonym_init(), initTrie(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), read_dictionary(), readstoplist(), and thesaurusRead().
| bool tsearch_readline_begin | ( | tsearch_readline_state * | stp, |
| const char * | filename | ||
| ) |
Definition at line 77 of file ts_locale.c.
References AllocateFile(), error_context_stack, fb(), filename, initStringInfo(), and tsearch_readline_callback().
Referenced by dsynonym_init(), initTrie(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), read_dictionary(), readstoplist(), and thesaurusRead().
Definition at line 168 of file ts_locale.c.
References arg, errcontext, and fb().
Referenced by tsearch_readline_begin().
| void tsearch_readline_end | ( | tsearch_readline_state * | stp | ) |
Definition at line 145 of file ts_locale.c.
References error_context_stack, fb(), FreeFile(), pfree(), and ErrorContextCallback::previous.
Referenced by dsynonym_init(), initTrie(), NIImportAffixes(), NIImportDictionary(), NIImportOOAffixes(), read_dictionary(), readstoplist(), and thesaurusRead().