Re: pg_execute_from_file review
От | Alvaro Herrera |
---|---|
Тема | Re: pg_execute_from_file review |
Дата | |
Msg-id | 1291074868-sup-5404@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: pg_execute_from_file review (Dimitri Fontaine <dimitri@2ndQuadrant.fr>) |
Ответы |
Re: pg_execute_from_file review
|
Список | pgsql-hackers |
Excerpts from Dimitri Fontaine's message of lun nov 29 17:03:06 -0300 2010: > Itagaki Takahiro <itagaki.takahiro@gmail.com> writes: > > * I hope pg_execute_from_file (and pg_read_file) had an option > > to specify an character encoding of the file. Especially, SJIS > > is still used widely, but it is not a valid server encoding. > > So, what about client_encoding here, again? I tried this in an earlier iteration of this patch, and it works fine (albeit with a Latin1 file in an UTF8 encoded database, but presumably this is no different from any other pair of client/server encodings; recoding took place correctly during execution). -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: