Hey,
I've been playing around with dblink a bit, created an empty PT4 db and wanted to view/copy some data from PT3 with it.
Works very well, except when there is a euro character in one of the fields. Then the field is blank. Would anyone have any idea as to why this is? I've been using something like this:
select limit_name from dblink('dbname=''PT3 DB'' password=xxxx', 'select limit_name from omaha_limit where limit_currency = ''EUR''') as t1( limit_name text );
I figured it could very likely be related to different character sets used. If I make limit name be a bytea field I get:
\2000.10 PL Hi
whereas I would expect:
€0.10 PL Hi
Is there an explicit character conversion I should use, or is this more complicated than that?