psql(PostgreSQL)9.5.10で動作しているデータベースをインポートしています。私のローカルデータベースv.9.6.5用。エラー:パラメータ "TimeZone"の値が無効です: "カナダ/東サスカチュワン"
COPY timezone (id, name, windowsname, tzindex) FROM stdin;
...
315 Canada/East-Saskatchewan \N \N
...
これは私が得ているエラーは次のとおりです:有効なタイムゾーンの識別子にするために使用
pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 9024; 0 48454 TABLE DATA timezone skysms pg_restore: [archiver (db)] COPY failed for table "timezone": ERROR: invalid value for parameter "TimeZone": "Canada/East-Saskatchewan" CONTEXT: SQL statement "SET local timezone to 'Canada/East-Saskatchewan'" PL/pgSQL function display_in_other_tz(timestamp with time zone,text,text) line 7 at EXECUTE statement COPY timezone, line 315: "315 Canada/East-Saskatchewan \N \N"
あなたは 'select * from pg_timezone_namesの間にそれを見ますか? 'Canada%';'? 'のような名前です.. –
いいえ、 '' ''カナダ/サスカチュワン '' 'のみです。 –
as far s '関数pg_catalog.pg_timezone_names(OUT名テキスト、OUT略語、OUT utc_offset interval、OUT is_dst boolean)'あなたはpostgresソースの近くにsmbdの助けが必要です。私は 'EastSaskatchewan'の不在がバグだと思います... –