blob: e9f6bc1ae60a70cccda4826650ef7d20cbc1ddd5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "pg_compat.h"
#include <yql/essentials/parser/pg_catalog/catalog.h>
extern "C" {
#include "catalog/namespace.h"
#include "mb/pg_wchar.h"
}
Oid FindDefaultConversionProc(int32 for_encoding, int32 to_encoding) {
return NYql::NPg::LookupConversion(pg_encoding_to_char(for_encoding), pg_encoding_to_char(to_encoding)).ProcId;
}
|