Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joPnF-0000Ik-Go for pgsql-general@arkaria.postgresql.org; Thu, 25 Jun 2020 11:11:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1joPnD-0004j7-01 for pgsql-general@arkaria.postgresql.org; Thu, 25 Jun 2020 11:11:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joPnC-0004hi-O4 for pgsql-general@lists.postgresql.org; Thu, 25 Jun 2020 11:11:42 +0000 Received: from sh4-5.1blu.de ([178.254.11.41]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joPn9-0001jD-Uh for pgsql-general@lists.postgresql.org; Thu, 25 Jun 2020 11:11:42 +0000 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.90_1) (envelope-from ) id 1joPn7-0006BX-46; Thu, 25 Jun 2020 13:11:37 +0200 Date: Thu, 25 Jun 2020 13:11:37 +0200 From: Matthias Apitz To: pgsql-general@lists.postgresql.org Subject: error messages (autovaccum canceled and syntax errors) while loading a DUMP Message-ID: <20200625111137.GA15798@sh4-5.1blu.de> Reply-To: Matthias Apitz MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello A PG dump file was produced on a 11.4. server the usual ways. When it is loaded with $ gzip -dc newanna_export.dmp | /usr/local/sisis-pap/pgsql/bin/psql -U sisis sisis it gives lots of error messages in the server log as: 2020-06-25 12:00:50.333 CEST [31295] ERROR: canceling autovacuum task 2020-06-25 12:00:50.333 CEST [31295] CONTEXT: automatic analyze of table "sisis.public.idm_targetlog" 2020-06-25 12:00:53.658 CEST [31295] ERROR: canceling autovacuum task 2020-06-25 12:00:53.658 CEST [31295] CONTEXT: automatic analyze of table "sisis.public.idm_targettab" 2020-06-25 12:00:55.375 CEST [31295] ERROR: canceling autovacuum task 2020-06-25 12:00:55.375 CEST [31295] CONTEXT: automatic analyze of table "sisis.public.idm_tasktab" and also syntax errors like: 2020-06-25 12:02:15.509 CEST [32719] ERROR: syntax error at or near "order" at character 652 2020-06-25 12:02:15.509 CEST [32719] STATEMENT: select id, brgroup, ins_time, upd_time, task_1, task_2, task_3, int_sel_1, int_sel_2, int_sel_3, int_sel_4, int_sel_5, str_sel_1, str_sel_2, str_sel_3, dat_sel_1, dat_sel_2, sel_seq_1, sel_seq_2, int_val_1, int_val_2, int_val_3, int_val_4, int_val_5, str_val_1, str_val_2, str_val_3, str_val_4, str_val_5, valtype_1, valtype_2, valtype_3, valtype_4, valtype_5, valtype_6, valtype_7, valmode_1, valmode_2, valmode_3, valmode_4, valmode_5, valmode_6, valmode_7, valname_1, valname_2, valname_3, valname_4, valname_5, valname_6, valname_7, valcont_1, valcont_2, valcont_3, valcont_4, valcont_5, valcont_6, valcont_7, sel_seq_3 from acq_vardata where id= order by sel_seq_3 2020-06-25 12:06:42.098 CEST [306] ERROR: syntax error at or near "q" at character 1 2020-06-25 12:06:42.098 CEST [306] STATEMENT: q select count(*) from ig_bigstrings ; What could be the reason for this? matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub