Problem reported by "Mindaugas Baranauskas" <embar@super.lt>.
if we find this value.
*/
encoding = enc ? pg_encoding_to_char (enc) : get_default_encoding ();
if we find this value.
*/
encoding = enc ? pg_encoding_to_char (enc) : get_default_encoding ();
- /* Create the dictionary and populate it */
- *dict = r->dict = dict_create ();
+ /* Create the dictionary and populate it */
+ *dict = r->dict = dict_create (encoding);
+ }
/*
select count (*) from (select * from medium) stupid_sql_standard;
/*
select count (*) from (select * from medium) stupid_sql_standard;