pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: mr.kovalchuk.andrey@gmail.com
Subject: BUG #15382: Error create dictionary in pg_dump
Date: Thu, 13 Sep 2018 03:42:40 +0000
Message-ID: <153681016068.22333.14472119446449542505@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15382
Logged by:          Андрей Ковальчук
Email address:      mr.kovalchuk.andrey@gmail.com
PostgreSQL version: 10.5
Operating system:   Ubuntu 16.04
Description:        

Hello!

I need for dump my database and i used command:
/usr/lib/postgresql/10/bin/pg_dump" --host /tmp --port 50432 --username
postgres --schema-only --quote-all-identifiers --binary-upgrade
--format=custom  --file="pg_upgrade_dump_2678369.custom" 'dbname=apteka25'
>> "pg_upgrade_dump_2678369.log" 2>&1

Dump is creates, but have one trouble. Result of using pg_resote command:

pg_restore: создаётся TEXT SEARCH DICTIONARY "public.ispell_apteka25"
pg_restore: создаётся TEXT SEARCH DICTIONARY "public.ispell_russian"
pg_restore: создаётся TEXT SEARCH DICTIONARY "public.simple_apteka25"
pg_restore: создаётся TEXT SEARCH DICTIONARY "public.synonym_apteka25"
pg_restore: создаётся TEXT SEARCH DICTIONARY "public.thesaurus_apteka25"
pg_restore: [архиватор (БД)] Ошибка при обработке оглавления:
pg_restore: [архиватор (БД)] Ошибка из записи оглавления 2125; 3600 2618599
TEXT SEARCH DICTIONARY thesaurus_apteka25 postgres
pg_restore: [архиватор (БД)] could not execute query: ОШИБКА (Error): 
словарь текстового поиска (text search dictionary) "ispell_apteka25" не
существует (not exists)
    Выполнялась команда (running command): CREATE TEXT SEARCH DICTIONARY
"public"."thesaurus_apteka25" (
    TEMPLATE = "pg_catalog"."thesaurus",
    dictfile = 'apteka25', dictionary = 'ispell_apteka25' );

If i change argument dictionary for this note to:  dictionary =
'public.ispell_apteka25' - it's now ok!
Chage dump file - not my way. How i can fix it? Or it's really bug? 

I find this problen also in 9.5v.

Thanks.



view thread (5+ messages)  latest in thread

Message-ID: <153681016068.22333.14472119446449542505@wrigleys.postgresql.org>
Permalink:  ../153681016068.22333.14472119446449542505@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/153681016068.22333.14472119446449542505@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, mr.kovalchuk.andrey@gmail.com
  Subject: Re: BUG #15382: Error create dictionary in pg_dump
  In-Reply-To: <153681016068.22333.14472119446449542505@wrigleys.postgresql.org>
  References: <153681016068.22333.14472119446449542505@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox