Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pg_restore: connecting to database for restore
- pg_restore: creating SCHEMA "public"
- pg_restore: creating COMMENT "SCHEMA public"
- pg_restore: creating FUNCTION "public.apaga_arvore(bigint, character varying, character varying)"
- pg_restore: creating FUNCTION "public.cobranca_adiciona_taxa(integer)"
- pg_restore: creating FUNCTION "public.cobranca_adiciona_taxa(integer, integer)"
- pg_restore: creating FUNCTION "public.competencia_atual()"
- pg_restore: creating FUNCTION "public.concate(text, text)"
- pg_restore: creating FUNCTION "public.concatefinal(text)"
- pg_restore: creating FUNCTION "public.depois_inserir_sessao()"
- pg_restore: creating FUNCTION "public.em_dia(integer, character varying)"
- pg_restore: creating FUNCTION "public.estorna_movimento()"
- pg_restore: creating FUNCTION "public.fatura_retorno()"
- pg_restore: creating FUNCTION "public.fnc_abertura_jogo(date)"
- pg_restore: creating FUNCTION "public.fnc_carrega_even_ref()"
- pg_restore: creating FUNCTION "public.fnc_cobranca_titulo()"
- pg_restore: creating FUNCTION "public.fnc_gera_boleto_carne(integer, integer)"
- pg_restore: creating FUNCTION "public.fnc_insere_socios_tmp()"
- pg_restore: creating FUNCTION "public.fnc_numero_ingresso(integer)"
- pg_restore: creating FUNCTION "public.fnc_numero_valido(bigint)"
- pg_restore: creating FUNCTION "public.gera_ingressos_do_pagamento()"
- pg_restore: [archiver (db)] Error while PROCESSING TOC:
- pg_restore: [archiver (db)] Error from TOC entry 1221; 1255 47395454 FUNCTION gera_ingressos_do_pagamento() postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
- Command was: CREATE FUNCTION public.gera_ingressos_do_pagamento() RETURNS trigger
- LANGUAGE plpgsql
- AS $$
- declare
- rEventoProduto record;
- rIngressoNumero record;
- vseq_ingresso int4;
- ieven_ref Integer;
- vcaixa integer;
- begin
- select caixa into vcaixa from movimento where seq_movimento=new.seq_movimento;
- if vcaixa is null then
- -- verifica se existe na tabela de ingresso, se n�o existe gera o insert. --
- if new.seq_movimento_item not in (select seq_movimento_item from ingresso) then
- -- pega o event_ref do evendo --
- ieven_ref := (select evento.even_ref
- from sessao_evento_produto
- join sessao on (sessao.seq_sessao = sessao_evento_produto.seq_sessao)
- join evento on (evento.seq_evento = sessao.seq_evento)
- where seq_sessao_evento_produto = new.seq_sessao_evento_produto);
- -- loop na quantidade do movimento item --
- for licont in 1..(new.qtde::integer) loop
- vseq_ingresso := nextval('ingresso_seq_ingresso_seq');
- -- pega 1 numero da tabela ingresso_numero --
- select * into rIngressoNumero from ingresso_numero where even_ref = ieven_ref and not usado limit 1;
- -- gera o insert na tabela de ingresso --
- INSERT INTO ingresso(seq_ingresso,seq_sessao_evento_produto, seq_pessoa, seq_assento, nro_codigo_barras, nro_ingresso, nro_2d, nro_protocolo,
- seq_cartao, usuario_alteracao, data_alteracao, dt_cancelamento, seq_movimento_item)
- VALUES (vseq_ingresso,
- new.seq_sessao_evento_produto, -- seq_sessao_evento_produto
- (select seq_pessoa from movimento where seq_movimento = new.seq_movimento), -- seq_pessoa
- /* (select seq_assento from produto_assento where seq_produto = rEventoProduto.seq_produto), -- seq_assento */
- null, -- seq_assento
- rIngressoNumero.ingresso_numero, -- nro_codigo_barras
- rIngressoNumero.ingresso_numero, -- nro_ingresso
- null, -- nro_2d
- null, -- nro_protocolo
- null, -- seq_cartao
- new.usuario_alteracao, -- usuario_alteracao
- now(), -- data_alteracao
- null, -- dt_cancelamento
- new.seq_movimento_item); -- seq_movimento_item
- -- marca o numero selecionado como usado --
- update ingresso_numero set usado = true where ingresso_numero = rIngressoNumero.ingresso_numero;
- end loop;
- end if;
- end if;
- return new;
- end; $$;
- pg_restore: [archiver (db)] could not execute query: ERROR: function public.gera_ingressos_do_pagamento() does not exist
- Command was: ALTER FUNCTION public.gera_ingressos_do_pagamento() OWNER TO postgres;
- pg_restore: creating FUNCTION "public.gera_script_importacao(text)"
- pg_restore: creating FUNCTION "public.insere_arvore(bigint, character varying, character varying, character varying)"
- pg_restore: creating FUNCTION "public.insere_pagamentos_carga_inicial()"
- pg_restore: creating FUNCTION "public.popula_ingresso_numero(integer, integer)"
- pg_restore: creating FUNCTION "public.proxima_matricula()"
- pg_restore: creating FUNCTION "public.proxima_matricula(integer)"
- pg_restore: creating FUNCTION "public.remessa_boleto_arquivo(integer)"
- pg_restore: [archiver (db)] Error from TOC entry 1228; 1255 47395461 FUNCTION remessa_boleto_arquivo(integer) postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: invalid byte sequence for encoding "UTF8": 0xe7 0xe3 0x6f
- Command was: CREATE FUNCTION public.remessa_boleto_arquivo(vseq_remessa integer) RETURNS text
- LANGUAGE plpgsql
- AS $_$
- declare
- R text;
- rRemessa record;
- rI record;
- i integer;
- begin
- i:=0;
- select * into rRemessa from remessa where seq_remessa=vseq_remessa;
- -- HEADER
- R:='01REMESSA01COBRANCA 00000000000004251900ESPORTE CLUBE NOVO HAMBURGO 237BRADESCO ';
- R:=R||to_char(now(),'DDMMYY')||' MX'||trim(to_char(rRemessa.sequencia,'0000000'));
- R:=R||' 000001';
- R:=R||chr(10);
- -- DADOS
- /*
- alter table remessa_item add seq_movimento_cobranca integer;
- ALTER TABLE pessoa
- ADD COLUMN cnpj character varying(50);
- ALTER TABLE pessoa
- ADD COLUMN juridica boolean DEFAULT false;
- */
- for rI in select ria.*, p.*
- from remessa_item as ria
- join movimento_cobranca as mc on ria.seq_movimento_cobranca=mc.seq_movimento_cobranca
- join pessoa as p on mc.seq_pessoa=p.seq_pessoa
- where ria.seq_remessa=vseq_remessa
- and mc.data_pagamento is null
- --ri.data_vencimento <= rRemessa.data_vencimento
- loop
- i:=i+1;
- -- R:=R||'1 00000 0 00000 0000000 0 00090315201236660';
- --
- R:=R||'1';-- 001 a 001 Identifica��o do Registro 001
- R:=R||'00000';-- 002 a 006 Ag�ncia de D�bito 005
- R:=R||'0';-- 007 a 007 D�gito da Ag�ncia de D�bito 001
- R:=R||'00000';-- 008 a 012 Raz�o da Conta Corrente 005
- R:=R||'0000000';-- 013 a 019 Conta Corrente 007
- R:=R||'0';-- 020 a 020 D�gito da Conta Corrente 001
- R:=R||'00090315201236660';-- 021 a 037 Identifica��o da Empresa Cedente no Banco 017
- R:=R||trim(to_char(rI.seq_movimento_cobranca,'0000000000000000000000000'));-- 038 a 062 N� Controle do Participante 025
- R:=R||'00';-- 063 a 065 C�digo do Banco a ser debitado na C�mara de Compensa��o 003
- R:=R||'0';-- 066 a 066 Campo de Multa 001
- R:=R||'0000';-- 067 a 070 Percentual de multa 004
- R:=R||'00000000000';-- 071 a 081 Identifica��o do T�tulo no Banco 11
- R:=R||'0';-- 082 a 082 Digito de Auto Conferencia do Nosso N�mero 001
- R:=R||'0000000000';-- 083 a 092 Desconto Bonifica��o por dia 010
- R:=R||'1';-- 093 a 093 Condi��o para Emiss�o da Papeleta de Cobran�a 001
- R:=R||'N';-- 094 a 094 Ident. se emite papeleta para D�bito Autom�tico 001
- R:=R||' ';-- 095 a 104 Identifica��o da Opera��o do Banco 010
- R:=R||' ';-- 105 a 105 Indicador Rateio Cr�dito 001
- R:=R||'2';-- 106 a 106 Endere�amento para Aviso do D�bito Autom�tico em Conta Corrente 001
- R:=R||' ';-- 107 a 108 Branco 002
- R:=R||'01';-- 109 a 110 Identifica��o ocorr�ncia 002
- R:=R||trim(to_char(rI.seq_remessa_item,'0000000000'));-- 111 a 120 N� do Documento 010
- R:=R||to_char(rI.data_vencimento,'DDMMYY') ;-- 121 a 126 Data do Vencimento do T�tulo 006
- R:=R||replace(trim(to_char(rI.valor_vencimento,'00000000000.00')),'.','');-- 127 a 139 Valor do T�tulo 013
- R:=R||'000';-- 140 a 142 Banco Encarregado da Cobran�a 003
- R:=R||'00000';-- 143 a 147 Ag�ncia Deposit�ria 005
- R:=R||'01';-- 148 a 149 Esp�cie de T�tulo 002
- R:=R||'N';-- 150 a 150 Identifica��o 001
- R:=R||to_char(now(),'DDMMYY');-- 151 a 156 Data da emiss�o do T�tulo 006
- R:=R||'00';-- 157 a 158 1� instru��o 002
- R:=R||'00';-- 159 a 160 2� instru��o 002
- R:=R||'0000000000000';-- 161 a 173 Valor a ser cobrado por Dia de Atraso 013
- R:=R||'000000';-- 174 a 179 Data Limite P/Concess�o de Desconto 006
- R:=R||'0000000000000';-- 180 a 192 Valor do Desconto 013
- R:=R||'0000000000000';-- 193 a 205 Valor do IOF 013
- R:=R||' ';-- 206 a 218 Valor do Abatimento a ser concedido ou cancelado 013
- if rI.juridica then
- R:=R||'02';-- 219 a 220 Identifica��o do Tipo de Inscri��o do Sacado 002
- R:=R||lpad(rI.cnpj,14,'0');-- 221 a 234 N� Inscri��o do Sacado 014
- else
- R:=R||'01';-- 219 a 220 Identifica��o do Tipo de Inscri��o do Sacado 002
- R:=R||lpad(rI.cpf,14,'0');-- 221 a 234 N� Inscri��o do Sacado 014
- end if;
- R:=R||rpad(rI.nome,40,' ');-- 235 a 274 Nome do Sacado 040
- R:=R||rpad(replace(upper(trim(rI.endereco)||' '||trim(rI.numero)||coalesce(' '||trim(rI.complemento),'')),'RUA','R'),40,' ');-- 275 a 314 Endere�o Completo 040
- R:=R||' ';-- 315 a 326 1� Mensagem 012
- R:=R||lpad(rI.cep,5,'0');-- 327 a 331 CEP 005
- R:=R||lpad(substr(rI.cep,6,3),3,'0');-- 332 a 334 Sufixo do CEP 003
- R:=R||rpad('',60,' ');-- 335 a 394 Sacador/Avalista ou 2� Mensagem 060
- R:=R||lpad(i::text,6,'0');-- 395 a 400 N� Seq�encial do Registro 006
- R:=R||chr(10);
- ---- SEGUNDA LINHA INFORMACOES
- i:=i+1;
- R:=R||'2';-- 001 a 001 Tipo Registro 001
- R:=R||rpad('Despesas: R$ '||replace(trim(to_char(35.50,'90.00')),'.',','),80,' ');-- 002 a 081 Mensagem 1 080
- R:=R||rpad('APOS VENC. PGTO SOMENTE NA SECRETARIA DO CLUBE',80,' ');-- 082 a 161 Mensagem 2 080
- R:=R||rpad('',80,' ');-- 162 a 241 Mensagem 3 080
- R:=R||rpad('',80,' ');-- 242 a 321 Mensagem 4 080
- R:=R||rpad('',45,' ');-- 322 a 366 Reserva 045 filler
- R:=R||'009';-- 367 a 369 Carteira 003
- R:=R||'03152';-- 370 a 374 Ag�ncia 005
- R:=R||'0123666';-- 375 a 381 Conta Corrente 007
- R:=R||'0';-- 382 a 382 D�gito C/C 001
- R:=R||'00000000000';-- 383 a 393 Nosso N�mero 011
- R:=R||'0';-- 394 a 394 DAC Nosso N�mero 001
- R:=R||lpad(i::text,6,'0');-- 395 a 400 N� Seq�encial de Registro 006
- end loop;
- return R;
- end;$_$;
- pg_restore: [archiver (db)] could not execute query: ERROR: function public.remessa_boleto_arquivo(integer) does not exist
- Command was: ALTER FUNCTION public.remessa_boleto_arquivo(vseq_remessa integer) OWNER TO postgres;
- pg_restore: creating FUNCTION "public.remessa_criacao(integer)"
- pg_restore: creating AGGREGATE "public.concatenex(text)"
- pg_restore: creating TABLE "public.acesso"
- pg_restore: creating TABLE "public.acesso_historico"
- pg_restore: creating SEQUENCE "public.acesso_historico_seq_acesso_historico_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.acesso_historico_seq_acesso_historico_seq"
- pg_restore: creating SEQUENCE "public.acesso_seq_acesso_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.acesso_seq_acesso_seq"
- pg_restore: creating TABLE "public.assento"
- pg_restore: creating SEQUENCE "public.assento_seq_assento_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.assento_seq_assento_seq"
- pg_restore: creating TABLE "public.baixa"
- pg_restore: creating SEQUENCE "public.baixa_seq_baixa_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.baixa_seq_baixa_seq"
- pg_restore: creating TABLE "public.bilheteria"
- pg_restore: creating SEQUENCE "public.bilheteria_seq_bilheteria_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.bilheteria_seq_bilheteria_seq"
- pg_restore: creating TABLE "public.boleto_macro"
- pg_restore: creating SEQUENCE "public.boleto_macro_seq_boleto_macro_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.boleto_macro_seq_boleto_macro_seq"
- pg_restore: creating TABLE "public.cadeira"
- pg_restore: creating SEQUENCE "public.cadeira_seq_cadeira_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.cadeira_seq_cadeira_seq_1"
- pg_restore: creating TABLE "public.camarote"
- pg_restore: creating SEQUENCE "public.camarote_seq_camarote_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.camarote_seq_camarote_seq_1"
- pg_restore: creating SEQUENCE "public.seq_cartao2"
- pg_restore: creating TABLE "public.cartao"
- pg_restore: creating TABLE "public.catraca"
- pg_restore: creating SEQUENCE "public.catraca_seq_catraca_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.catraca_seq_catraca_seq"
- pg_restore: creating TABLE "public.ci_sessions"
- pg_restore: creating TABLE "public.clube"
- pg_restore: creating SEQUENCE "public.clube_seq_clube_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.clube_seq_clube_seq"
- pg_restore: creating TABLE "public.cobranca"
- pg_restore: creating TABLE "public.cobranca_retorno"
- pg_restore: creating SEQUENCE "public.cobranca_retorno_seq_cobranca_retorno_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.cobranca_retorno_seq_cobranca_retorno_seq_1"
- pg_restore: creating SEQUENCE "public.cobranca_seq_cobranca_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.cobranca_seq_cobranca_seq"
- pg_restore: creating TABLE "public.cobranca_titulo"
- pg_restore: creating TABLE "public.cobranca_titulo_item"
- pg_restore: creating SEQUENCE "public.cobranca_titulo_item_seq_cobranca_titulo_item_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.cobranca_titulo_item_seq_cobranca_titulo_item_seq_1"
- pg_restore: creating SEQUENCE "public.cobranca_titulo_seq_cobranca_titulo_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.cobranca_titulo_seq_cobranca_titulo_seq"
- pg_restore: creating TABLE "public.competencia"
- pg_restore: creating TABLE "public.competicao"
- pg_restore: creating TABLE "public.competicao_edicao"
- pg_restore: creating SEQUENCE "public.competicao_edicao_seq_competicao_edicao_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.competicao_edicao_seq_competicao_edicao_seq"
- pg_restore: creating SEQUENCE "public.competicao_seq_competicao_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.competicao_seq_competicao_seq"
- pg_restore: creating TABLE "public.conta"
- pg_restore: creating TABLE "public.dbf_cartoes_ecnh"
- pg_restore: creating TABLE "public.dbf_pessoas_ecnh"
- pg_restore: creating TABLE "public.dne"
- pg_restore: creating SEQUENCE "public.dne_seq_dne_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.dne_seq_dne_seq"
- pg_restore: creating TABLE "public.escolaridade"
- pg_restore: creating SEQUENCE "public.escolaridade_seq_escolaridade_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.escolaridade_seq_escolaridade_seq"
- pg_restore: creating TABLE "public.estado"
- pg_restore: creating SEQUENCE "public.estado_seq_estado_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.estado_seq_estado_seq"
- pg_restore: creating TABLE "public.evento"
- pg_restore: creating TABLE "public.evento_local"
- pg_restore: creating SEQUENCE "public.evento_local_seq_evento_local_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.evento_local_seq_evento_local_seq"
- pg_restore: creating TABLE "public.evento_objetivo"
- pg_restore: creating SEQUENCE "public.evento_objetivo_seq_evento_objetivo_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.evento_objetivo_seq_evento_objetivo_seq"
- pg_restore: creating TABLE "public.evento_produto"
- pg_restore: creating SEQUENCE "public.evento_produto_seq_evento_produto_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.evento_produto_seq_evento_produto_seq"
- pg_restore: creating SEQUENCE "public.evento_seq_evento_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.evento_seq_evento_seq"
- pg_restore: creating TABLE "public.faixa_salarial"
- pg_restore: creating SEQUENCE "public.faixa_salarial_seq_faixa_salarial_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.faixa_salarial_seq_faixa_salarial_seq"
- pg_restore: creating TABLE "public.forma_pagamento"
- pg_restore: creating SEQUENCE "public.forma_pagamento_seq_forma_pagamento_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.forma_pagamento_seq_forma_pagamento_seq"
- pg_restore: creating TABLE "public.ingresso"
- pg_restore: creating TABLE "public.ingresso_numero"
- pg_restore: creating SEQUENCE "public.ingresso_seq_ingresso_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.ingresso_seq_ingresso_seq"
- pg_restore: creating TABLE "public.instituicao_financeira"
- pg_restore: creating SEQUENCE "public.seq_seq_liberacao"
- pg_restore: creating TABLE "public.liberacao"
- pg_restore: creating SEQUENCE "public.seq_liberacao_historico"
- pg_restore: creating TABLE "public.liberacao_historico"
- pg_restore: creating TABLE "public.matricula"
- pg_restore: creating TABLE "public.movimento_cobranca"
- pg_restore: creating SEQUENCE "public.matricula_cobranca_seq_matricula_cobranca_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.matricula_cobranca_seq_matricula_cobranca_seq"
- pg_restore: creating SEQUENCE "public.matricula_matricula_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.matricula_matricula_seq"
- pg_restore: creating TABLE "public.meio_pagamento"
- pg_restore: creating SEQUENCE "public.meio_pagamento_seq_meio_pagamento_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.meio_pagamento_seq_meio_pagamento_seq"
- pg_restore: creating TABLE "public.menu"
- pg_restore: creating SEQUENCE "public.menu_seq_menu_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.menu_seq_menu_seq"
- pg_restore: creating TABLE "public.movimento"
- pg_restore: creating TABLE "public.movimento_item"
- pg_restore: creating SEQUENCE "public.movimento_item_seq_movimento_item_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.movimento_item_seq_movimento_item_seq"
- pg_restore: creating TABLE "public.movimento_pagamento"
- pg_restore: creating SEQUENCE "public.movimento_pagamento_seq_movimento_pagamento_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.movimento_pagamento_seq_movimento_pagamento_seq"
- pg_restore: creating SEQUENCE "public.movimento_seq_movimento_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.movimento_seq_movimento_seq"
- pg_restore: creating TABLE "public.objeto"
- pg_restore: creating SEQUENCE "public.objeto_seq_objeto_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.objeto_seq_objeto_seq"
- pg_restore: creating TABLE "public.obs_matricula"
- pg_restore: creating SEQUENCE "public.obs_matricula_matricula_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.obs_matricula_matricula_seq"
- pg_restore: creating SEQUENCE "public.obs_matricula_seq_obs_matricula_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.obs_matricula_seq_obs_matricula_seq"
- pg_restore: creating TABLE "public.pais"
- pg_restore: creating SEQUENCE "public.pais_seq_pais_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.pais_seq_pais_seq"
- pg_restore: creating TABLE "public.perfil"
- pg_restore: creating TABLE "public.perfil_objeto"
- pg_restore: creating SEQUENCE "public.perfil_objeto_seq_perfil_objeto_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.perfil_objeto_seq_perfil_objeto_seq"
- pg_restore: creating SEQUENCE "public.perfil_seq_perfil_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.perfil_seq_perfil_seq"
- pg_restore: creating TABLE "public.pessoa"
- pg_restore: creating TABLE "public.pessoa_dados_pagamento"
- pg_restore: creating SEQUENCE "public.pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq"
- pg_restore: creating SEQUENCE "public.pessoa_seq_pessoa_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.pessoa_seq_pessoa_seq"
- pg_restore: creating TABLE "public.pessoa_vinculo"
- pg_restore: creating SEQUENCE "public.pessoa_vinculo_seq_pessoa_vinculo_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.pessoa_vinculo_seq_pessoa_vinculo_seq"
- pg_restore: creating TABLE "public.plano_pgto"
- pg_restore: [archiver (db)] Error from TOC entry 1137; 1259 47400723 TABLE plano_pgto acbf
- pg_restore: [archiver (db)] could not execute query: ERROR: role "acbf" does not exist
- Command was: ALTER TABLE public.plano_pgto OWNER TO acbf;
- pg_restore: creating SEQUENCE "public.plano_pgto_seq_plano_pgto_seq"
- pg_restore: [archiver (db)] Error from TOC entry 1138; 1259 47400727 SEQUENCE plano_pgto_seq_plano_pgto_seq acbf
- pg_restore: [archiver (db)] could not execute query: ERROR: role "acbf" does not exist
- Command was: ALTER TABLE public.plano_pgto_seq_plano_pgto_seq OWNER TO acbf;
- pg_restore: creating SEQUENCE OWNED BY "public.plano_pgto_seq_plano_pgto_seq"
- pg_restore: creating TABLE "public.portao"
- pg_restore: creating SEQUENCE "public.portao_seq_portao_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.portao_seq_portao_seq_1"
- pg_restore: creating TABLE "public.produto"
- pg_restore: creating TABLE "public.produto_catraca"
- pg_restore: creating SEQUENCE "public.produto_catraca_seq_produto_catraca_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.produto_catraca_seq_produto_catraca_seq"
- pg_restore: creating TABLE "public.produto_classe"
- pg_restore: creating SEQUENCE "public.produto_classe_seq_produto_classe_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.produto_classe_seq_produto_classe_seq"
- pg_restore: creating TABLE "public.produto_configuracao"
- pg_restore: creating SEQUENCE "public.produto_configuracao_seq_produto_configuracao_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.produto_configuracao_seq_produto_configuracao_seq"
- pg_restore: creating TABLE "public.produto_contrato"
- pg_restore: creating SEQUENCE "public.produto_contrato_seq_produto_contrato_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.produto_contrato_seq_produto_contrato_seq_1"
- pg_restore: creating TABLE "public.produto_escolinha_turma"
- pg_restore: creating SEQUENCE "public.produto_escolinha_turma_seq_produto_escolinha_turma_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.produto_escolinha_turma_seq_produto_escolinha_turma_seq"
- pg_restore: creating TABLE "public.produto_plano_pgto"
- pg_restore: [archiver (db)] Error from TOC entry 1150; 1259 47400770 TABLE produto_plano_pgto acbf
- pg_restore: [archiver (db)] could not execute query: ERROR: role "acbf" does not exist
- Command was: ALTER TABLE public.produto_plano_pgto OWNER TO acbf;
- pg_restore: creating SEQUENCE "public.produto_plano_pgto_seq_produto_plano_pgto_seq"
- pg_restore: [archiver (db)] Error from TOC entry 1151; 1259 47400774 SEQUENCE produto_plano_pgto_seq_produto_plano_pgto_seq acbf
- pg_restore: [archiver (db)] could not execute query: ERROR: role "acbf" does not exist
- Command was: ALTER TABLE public.produto_plano_pgto_seq_produto_plano_pgto_seq OWNER TO acbf;
- pg_restore: creating SEQUENCE OWNED BY "public.produto_plano_pgto_seq_produto_plano_pgto_seq"
- pg_restore: creating SEQUENCE "public.produto_seq_produto_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.produto_seq_produto_seq"
- pg_restore: creating TABLE "public.produto_taxa"
- pg_restore: creating SEQUENCE "public.produto_taxa_seq_produto_taxa_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.produto_taxa_seq_produto_taxa_seq"
- pg_restore: creating TABLE "public.profissao"
- pg_restore: creating SEQUENCE "public.profissao_seq_profissao_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.profissao_seq_profissao_seq_1"
- pg_restore: creating TABLE "public.remessa"
- pg_restore: creating TABLE "public.remessa_item"
- pg_restore: creating SEQUENCE "public.remessa_item_seq_remessa_item_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.remessa_item_seq_remessa_item_seq"
- pg_restore: creating SEQUENCE "public.remessa_seq_remessa_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.remessa_seq_remessa_seq"
- pg_restore: creating TABLE "public.renda_familiar"
- pg_restore: creating SEQUENCE "public.renda_familiar_seq_renda_familiar_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.renda_familiar_seq_renda_familiar_seq"
- pg_restore: creating TABLE "public.sangria"
- pg_restore: creating SEQUENCE "public.sangria_seq_sangria_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.sangria_seq_sangria_seq"
- pg_restore: creating SEQUENCE "public.seq_competencia"
- pg_restore: creating SEQUENCE "public.seq_conta"
- pg_restore: creating SEQUENCE "public.seq_ingresso_numero"
- pg_restore: creating SEQUENCE "public.seq_instituicao_financeira"
- pg_restore: creating SEQUENCE OWNED BY "public.seq_instituicao_financeira"
- pg_restore: creating SEQUENCE "public.seq_nosso_numero"
- pg_restore: creating SEQUENCE "public.seq_voucher"
- pg_restore: creating TABLE "public.sessao"
- pg_restore: creating TABLE "public.sessao_evento_produto"
- pg_restore: creating SEQUENCE "public.sessao_evento_produto_seq_sessao_evento_produto_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.sessao_evento_produto_seq_sessao_evento_produto_seq"
- pg_restore: creating SEQUENCE "public.sessao_seq_sessao_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.sessao_seq_sessao_seq"
- pg_restore: creating TABLE "public.setor"
- pg_restore: creating SEQUENCE "public.setor_seq_setor_seq_1"
- pg_restore: creating SEQUENCE OWNED BY "public.setor_seq_setor_seq_1"
- pg_restore: creating TABLE "public.socio_tmp"
- pg_restore: creating TABLE "public.taxa"
- pg_restore: creating COMMENT "public.TABLE taxa"
- pg_restore: creating SEQUENCE "public.taxa_seq_taxa_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.taxa_seq_taxa_seq"
- pg_restore: creating TABLE "public.tmp_importacao_socio"
- pg_restore: creating TABLE "public.tmp_socio"
- pg_restore: creating TABLE "public.troco"
- pg_restore: creating SEQUENCE "public.troco_seq_troco_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.troco_seq_troco_seq"
- pg_restore: creating TABLE "public.usuario"
- pg_restore: creating SEQUENCE "public.usuario_seq_usuario_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.usuario_seq_usuario_seq"
- pg_restore: creating TABLE "public.usuario_tipo"
- pg_restore: creating SEQUENCE "public.usuario_tipo_seq_usuario_tipo_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.usuario_tipo_seq_usuario_tipo_seq"
- pg_restore: creating TABLE "public.vinculo"
- pg_restore: creating SEQUENCE "public.vinculo_seq_vinculo_seq"
- pg_restore: creating SEQUENCE OWNED BY "public.vinculo_seq_vinculo_seq"
- pg_restore: creating TABLE "public.voucher"
- pg_restore: creating DEFAULT "public.acesso seq_acesso"
- pg_restore: creating DEFAULT "public.acesso_historico seq_acesso_historico"
- pg_restore: creating DEFAULT "public.assento seq_assento"
- pg_restore: creating DEFAULT "public.baixa seq_baixa"
- pg_restore: creating DEFAULT "public.bilheteria seq_bilheteria"
- pg_restore: creating DEFAULT "public.boleto_macro seq_boleto_macro"
- pg_restore: creating DEFAULT "public.cadeira seq_cadeira"
- pg_restore: creating DEFAULT "public.camarote seq_camarote"
- pg_restore: creating DEFAULT "public.catraca seq_catraca"
- pg_restore: creating DEFAULT "public.clube seq_clube"
- pg_restore: creating DEFAULT "public.cobranca seq_cobranca"
- pg_restore: creating DEFAULT "public.cobranca_retorno seq_cobranca_retorno"
- pg_restore: creating DEFAULT "public.cobranca_titulo seq_cobranca_titulo"
- pg_restore: creating DEFAULT "public.cobranca_titulo_item seq_cobranca_titulo_item"
- pg_restore: creating DEFAULT "public.competicao seq_competicao"
- pg_restore: creating DEFAULT "public.competicao_edicao seq_competicao_edicao"
- pg_restore: creating DEFAULT "public.dne seq_dne"
- pg_restore: creating DEFAULT "public.escolaridade seq_escolaridade"
- pg_restore: creating DEFAULT "public.estado seq_estado"
- pg_restore: creating DEFAULT "public.evento seq_evento"
- pg_restore: creating DEFAULT "public.evento_local seq_evento_local"
- pg_restore: creating DEFAULT "public.evento_objetivo seq_evento_objetivo"
- pg_restore: creating DEFAULT "public.evento_produto seq_evento_produto"
- pg_restore: creating DEFAULT "public.faixa_salarial seq_faixa_salarial"
- pg_restore: creating DEFAULT "public.forma_pagamento seq_forma_pagamento"
- pg_restore: creating DEFAULT "public.ingresso seq_ingresso"
- pg_restore: creating DEFAULT "public.instituicao_financeira seq_instituicao_financeira"
- pg_restore: creating DEFAULT "public.meio_pagamento seq_meio_pagamento"
- pg_restore: creating DEFAULT "public.menu seq_menu"
- pg_restore: creating DEFAULT "public.movimento seq_movimento"
- pg_restore: creating DEFAULT "public.movimento_cobranca seq_movimento_cobranca"
- pg_restore: creating DEFAULT "public.movimento_item seq_movimento_item"
- pg_restore: creating DEFAULT "public.movimento_pagamento seq_movimento_pagamento"
- pg_restore: creating DEFAULT "public.obs_matricula seq_obs_matricula"
- pg_restore: creating DEFAULT "public.obs_matricula matricula"
- pg_restore: creating DEFAULT "public.pais seq_pais"
- pg_restore: creating DEFAULT "public.perfil seq_perfil"
- pg_restore: creating DEFAULT "public.perfil_objeto seq_perfil_objeto"
- pg_restore: creating DEFAULT "public.pessoa seq_pessoa"
- pg_restore: creating DEFAULT "public.pessoa_dados_pagamento seq_pessoa_dados_pagamento"
- pg_restore: creating DEFAULT "public.pessoa_vinculo seq_pessoa_vinculo"
- pg_restore: creating DEFAULT "public.plano_pgto seq_plano_pgto"
- pg_restore: creating DEFAULT "public.portao seq_portao"
- pg_restore: creating DEFAULT "public.produto seq_produto"
- pg_restore: creating DEFAULT "public.produto_catraca seq_produto_catraca"
- pg_restore: creating DEFAULT "public.produto_classe seq_produto_classe"
- pg_restore: creating DEFAULT "public.produto_configuracao seq_produto_configuracao"
- pg_restore: creating DEFAULT "public.produto_contrato seq_produto_contrato"
- pg_restore: creating DEFAULT "public.produto_escolinha_turma seq_produto_escolinha_turma"
- pg_restore: creating DEFAULT "public.produto_plano_pgto seq_produto_plano_pgto"
- pg_restore: creating DEFAULT "public.produto_taxa seq_produto_taxa"
- pg_restore: creating DEFAULT "public.profissao seq_profissao"
- pg_restore: creating DEFAULT "public.remessa seq_remessa"
- pg_restore: creating DEFAULT "public.remessa_item seq_remessa_item"
- pg_restore: creating DEFAULT "public.renda_familiar seq_renda_familiar"
- pg_restore: creating DEFAULT "public.sangria seq_sangria"
- pg_restore: creating DEFAULT "public.sessao seq_sessao"
- pg_restore: creating DEFAULT "public.sessao_evento_produto seq_sessao_evento_produto"
- pg_restore: creating DEFAULT "public.setor seq_setor"
- pg_restore: creating DEFAULT "public.taxa seq_taxa"
- pg_restore: creating DEFAULT "public.troco seq_troco"
- pg_restore: creating DEFAULT "public.usuario seq_usuario"
- pg_restore: creating DEFAULT "public.usuario_tipo seq_usuario_tipo"
- pg_restore: creating DEFAULT "public.vinculo seq_vinculo"
- pg_restore: processing data for table "public.acesso"
- pg_restore: processing data for table "public.acesso_historico"
- pg_restore: [archiver (db)] Error from TOC entry 6603; 0 47400350 TABLE DATA acesso_historico postgres
- pg_restore: [archiver (db)] COPY failed for table "acesso_historico": ERROR: invalid byte sequence for encoding "UTF8": 0xe7 0xe3 0x09
- CONTEXT: COPY acesso_historico, line 1848
- pg_restore: processing data for table "public.assento"
- pg_restore: processing data for table "public.baixa"
- pg_restore: processing data for table "public.bilheteria"
- pg_restore: processing data for table "public.boleto_macro"
- pg_restore: processing data for table "public.cadeira"
- pg_restore: [archiver (db)] Error from TOC entry 6614; 0 47400390 TABLE DATA cadeira postgres
- pg_restore: [archiver (db)] COPY failed for table "cadeira": ERROR: invalid byte sequence for encoding "UTF8": 0xed 0x76 0x65
- CONTEXT: COPY cadeira, line 1
- pg_restore: processing data for table "public.camarote"
- pg_restore: processing data for table "public.cartao"
- pg_restore: processing data for table "public.catraca"
- pg_restore: processing data for table "public.ci_sessions"
- pg_restore: processing data for table "public.clube"
- pg_restore: [archiver (db)] Error from TOC entry 6623; 0 47400427 TABLE DATA clube postgres
- pg_restore: [archiver (db)] COPY failed for table "clube": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
- CONTEXT: COPY clube, line 7
- pg_restore: processing data for table "public.cobranca"
- pg_restore: processing data for table "public.cobranca_retorno"
- pg_restore: processing data for table "public.cobranca_titulo"
- pg_restore: processing data for table "public.cobranca_titulo_item"
- pg_restore: processing data for table "public.competencia"
- pg_restore: processing data for table "public.competicao"
- pg_restore: [archiver (db)] Error from TOC entry 6634; 0 47400472 TABLE DATA competicao postgres
- pg_restore: [archiver (db)] COPY failed for table "competicao": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x09
- CONTEXT: COPY competicao, line 3
- pg_restore: processing data for table "public.competicao_edicao"
- pg_restore: processing data for table "public.conta"
- pg_restore: processing data for table "public.dbf_cartoes_ecnh"
- pg_restore: [archiver (db)] Error from TOC entry 6639; 0 47400500 TABLE DATA dbf_cartoes_ecnh postgres
- pg_restore: [archiver (db)] COPY failed for table "dbf_cartoes_ecnh": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0x4f
- CONTEXT: COPY dbf_cartoes_ecnh, line 9
- pg_restore: processing data for table "public.dbf_pessoas_ecnh"
- pg_restore: [archiver (db)] Error from TOC entry 6640; 0 47400506 TABLE DATA dbf_pessoas_ecnh postgres
- pg_restore: [archiver (db)] COPY failed for table "dbf_pessoas_ecnh": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0x41
- CONTEXT: COPY dbf_pessoas_ecnh, line 17
- pg_restore: processing data for table "public.dne"
- pg_restore: [archiver (db)] Error from TOC entry 6641; 0 47400512 TABLE DATA dne postgres
- pg_restore: [archiver (db)] COPY failed for table "dne": ERROR: invalid byte sequence for encoding "UTF8": 0xaa
- CONTEXT: COPY dne, line 12
- pg_restore: processing data for table "public.escolaridade"
- pg_restore: processing data for table "public.estado"
- pg_restore: processing data for table "public.evento"
- pg_restore: [archiver (db)] Error from TOC entry 6647; 0 47400527 TABLE DATA evento postgres
- pg_restore: [archiver (db)] COPY failed for table "evento": ERROR: invalid byte sequence for encoding "UTF8": 0xe2 0x6d 0x69
- CONTEXT: COPY evento, line 6
- pg_restore: processing data for table "public.evento_local"
- pg_restore: processing data for table "public.evento_objetivo"
- pg_restore: processing data for table "public.evento_produto"
- pg_restore: processing data for table "public.faixa_salarial"
- pg_restore: processing data for table "public.forma_pagamento"
- pg_restore: processing data for table "public.ingresso"
- pg_restore: processing data for table "public.ingresso_numero"
- pg_restore: processing data for table "public.instituicao_financeira"
- pg_restore: creating DEFAULT "public.obs_matricula seq_obs_matricula"
- pg_restore: creating DEFAULT "public.obs_matricula matricula"
- pg_restore: creating DEFAULT "public.pais seq_pais"
- pg_restore: creating DEFAULT "public.perfil seq_perfil"
- pg_restore: creating DEFAULT "public.perfil_objeto seq_perfil_objeto"
- pg_restore: creating DEFAULT "public.pessoa seq_pessoa"
- pg_restore: creating DEFAULT "public.pessoa_dados_pagamento seq_pessoa_dados_pagamento"
- pg_restore: creating DEFAULT "public.pessoa_vinculo seq_pessoa_vinculo"
- pg_restore: creating DEFAULT "public.plano_pgto seq_plano_pgto"
- pg_restore: creating DEFAULT "public.portao seq_portao"
- pg_restore: creating DEFAULT "public.produto seq_produto"
- pg_restore: creating DEFAULT "public.produto_catraca seq_produto_catraca"
- pg_restore: creating DEFAULT "public.produto_classe seq_produto_classe"
- pg_restore: creating DEFAULT "public.produto_configuracao seq_produto_configuracao"
- pg_restore: creating DEFAULT "public.produto_contrato seq_produto_contrato"
- pg_restore: creating DEFAULT "public.produto_escolinha_turma seq_produto_escolinha_turma"
- pg_restore: creating DEFAULT "public.produto_plano_pgto seq_produto_plano_pgto"
- pg_restore: creating DEFAULT "public.produto_taxa seq_produto_taxa"
- pg_restore: creating DEFAULT "public.profissao seq_profissao"
- pg_restore: creating DEFAULT "public.remessa seq_remessa"
- pg_restore: creating DEFAULT "public.remessa_item seq_remessa_item"
- pg_restore: creating DEFAULT "public.renda_familiar seq_renda_familiar"
- pg_restore: creating DEFAULT "public.sangria seq_sangria"
- pg_restore: creating DEFAULT "public.sessao seq_sessao"
- pg_restore: creating DEFAULT "public.sessao_evento_produto seq_sessao_evento_produto"
- pg_restore: creating DEFAULT "public.setor seq_setor"
- pg_restore: creating DEFAULT "public.taxa seq_taxa"
- pg_restore: creating DEFAULT "public.troco seq_troco"
- pg_restore: creating DEFAULT "public.usuario seq_usuario"
- pg_restore: creating DEFAULT "public.usuario_tipo seq_usuario_tipo"
- pg_restore: creating DEFAULT "public.vinculo seq_vinculo"
- pg_restore: processing data for table "public.acesso"
- pg_restore: processing data for table "public.acesso_historico"
- pg_restore: [archiver (db)] Error from TOC entry 6603; 0 47400350 TABLE DATA acesso_historico postgres
- pg_restore: [archiver (db)] COPY failed for table "acesso_historico": ERROR: invalid byte sequence for encoding "UTF8": 0xe7 0xe3 0x09
- CONTEXT: COPY acesso_historico, line 1848
- pg_restore: processing data for table "public.assento"
- pg_restore: processing data for table "public.baixa"
- pg_restore: processing data for table "public.bilheteria"
- pg_restore: processing data for table "public.boleto_macro"
- pg_restore: processing data for table "public.cadeira"
- pg_restore: [archiver (db)] Error from TOC entry 6614; 0 47400390 TABLE DATA cadeira postgres
- pg_restore: [archiver (db)] COPY failed for table "cadeira": ERROR: invalid byte sequence for encoding "UTF8": 0xed 0x76 0x65
- CONTEXT: COPY cadeira, line 1
- pg_restore: processing data for table "public.camarote"
- pg_restore: processing data for table "public.cartao"
- pg_restore: processing data for table "public.catraca"
- pg_restore: processing data for table "public.ci_sessions"
- pg_restore: processing data for table "public.clube"
- pg_restore: [archiver (db)] Error from TOC entry 6623; 0 47400427 TABLE DATA clube postgres
- pg_restore: [archiver (db)] COPY failed for table "clube": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
- CONTEXT: COPY clube, line 7
- pg_restore: processing data for table "public.cobranca"
- pg_restore: processing data for table "public.cobranca_retorno"
- pg_restore: processing data for table "public.cobranca_titulo"
- pg_restore: processing data for table "public.cobranca_titulo_item"
- pg_restore: processing data for table "public.competencia"
- pg_restore: processing data for table "public.competicao"
- pg_restore: [archiver (db)] Error from TOC entry 6634; 0 47400472 TABLE DATA competicao postgres
- pg_restore: [archiver (db)] COPY failed for table "competicao": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x09
- CONTEXT: COPY competicao, line 3
- pg_restore: processing data for table "public.competicao_edicao"
- pg_restore: processing data for table "public.conta"
- pg_restore: processing data for table "public.dbf_cartoes_ecnh"
- pg_restore: [archiver (db)] Error from TOC entry 6639; 0 47400500 TABLE DATA dbf_cartoes_ecnh postgres
- pg_restore: [archiver (db)] COPY failed for table "dbf_cartoes_ecnh": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0x4f
- CONTEXT: COPY dbf_cartoes_ecnh, line 9
- pg_restore: processing data for table "public.dbf_pessoas_ecnh"
- pg_restore: [archiver (db)] Error from TOC entry 6640; 0 47400506 TABLE DATA dbf_pessoas_ecnh postgres
- pg_restore: [archiver (db)] COPY failed for table "dbf_pessoas_ecnh": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0x41
- CONTEXT: COPY dbf_pessoas_ecnh, line 17
- pg_restore: processing data for table "public.dne"
- pg_restore: [archiver (db)] Error from TOC entry 6641; 0 47400512 TABLE DATA dne postgres
- pg_restore: [archiver (db)] COPY failed for table "dne": ERROR: invalid byte sequence for encoding "UTF8": 0xaa
- CONTEXT: COPY dne, line 12
- pg_restore: processing data for table "public.escolaridade"
- pg_restore: processing data for table "public.estado"
- pg_restore: processing data for table "public.evento"
- pg_restore: [archiver (db)] Error from TOC entry 6647; 0 47400527 TABLE DATA evento postgres
- pg_restore: [archiver (db)] COPY failed for table "evento": ERROR: invalid byte sequence for encoding "UTF8": 0xe2 0x6d 0x69
- CONTEXT: COPY evento, line 6
- pg_restore: processing data for table "public.evento_local"
- pg_restore: processing data for table "public.evento_objetivo"
- pg_restore: processing data for table "public.evento_produto"
- pg_restore: processing data for table "public.faixa_salarial"
- pg_restore: processing data for table "public.forma_pagamento"
- pg_restore: processing data for table "public.ingresso"
- pg_restore: processing data for table "public.ingresso_numero"
- pg_restore: processing data for table "public.instituicao_financeira"
- pg_restore: processing data for table "public.liberacao_historico"
- pg_restore: processing data for table "public.matricula"
- pg_restore: processing data for table "public.meio_pagamento"
- pg_restore: [archiver (db)] Error from TOC entry 6671; 0 47400622 TABLE DATA meio_pagamento postgres
- pg_restore: [archiver (db)] COPY failed for table "meio_pagamento": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
- CONTEXT: COPY meio_pagamento, line 2
- pg_restore: processing data for table "public.menu"
- pg_restore: processing data for table "public.movimento"
- pg_restore: processing data for table "public.movimento_cobranca"
- pg_restore: processing data for table "public.movimento_item"
- pg_restore: processing data for table "public.movimento_pagamento"
- pg_restore: processing data for table "public.objeto"
- pg_restore: processing data for table "public.obs_matricula"
- pg_restore: processing data for table "public.pais"
- pg_restore: processing data for table "public.perfil"
- pg_restore: processing data for table "public.perfil_objeto"
- pg_restore: processing data for table "public.pessoa"
- pg_restore: processing data for table "public.pessoa_dados_pagamento"
- pg_restore: processing data for table "public.pessoa_vinculo"
- pg_restore: processing data for table "public.plano_pgto"
- pg_restore: processing data for table "public.portao"
- pg_restore: [archiver (db)] Error from TOC entry 6700; 0 47400729 TABLE DATA portao postgres
- pg_restore: [archiver (db)] COPY failed for table "portao": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
- CONTEXT: COPY portao, line 1
- pg_restore: processing data for table "public.produto"
- pg_restore: processing data for table "public.produto_catraca"
- pg_restore: processing data for table "public.produto_classe"
- pg_restore: processing data for table "public.produto_configuracao"
- pg_restore: processing data for table "public.produto_contrato"
- pg_restore: processing data for table "public.produto_escolinha_turma"
- pg_restore: processing data for table "public.produto_plano_pgto"
- pg_restore: processing data for table "public.produto_taxa"
- pg_restore: processing data for table "public.profissao"
- pg_restore: [archiver (db)] Error from TOC entry 6716; 0 47400788 TABLE DATA profissao postgres
- pg_restore: [archiver (db)] COPY failed for table "profissao": ERROR: invalid byte sequence for encoding "UTF8": 0xe1 0x72 0x69
- CONTEXT: COPY profissao, line 4
- pg_restore: processing data for table "public.remessa"
- pg_restore: processing data for table "public.remessa_item"
- pg_restore: processing data for table "public.renda_familiar"
- pg_restore: processing data for table "public.sangria"
- pg_restore: processing data for table "public.sessao"
- pg_restore: processing data for table "public.sessao_evento_produto"
- pg_restore: processing data for table "public.setor"
- pg_restore: [archiver (db)] Error from TOC entry 6736; 0 47400841 TABLE DATA setor postgres
- pg_restore: [archiver (db)] COPY failed for table "setor": ERROR: invalid byte sequence for encoding "UTF8": 0xe9 0x73 0x74
- CONTEXT: COPY setor, line 3
- pg_restore: processing data for table "public.socio_tmp"
- pg_restore: [archiver (db)] Error from TOC entry 6738; 0 47400847 TABLE DATA socio_tmp postgres
- pg_restore: [archiver (db)] COPY failed for table "socio_tmp": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0xc3
- CONTEXT: COPY socio_tmp, line 252
- pg_restore: processing data for table "public.taxa"
- pg_restore: processing data for table "public.tmp_importacao_socio"
- pg_restore: [archiver (db)] Error from TOC entry 6741; 0 47400859 TABLE DATA tmp_importacao_socio postgres
- pg_restore: [archiver (db)] COPY failed for table "tmp_importacao_socio": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0x41
- CONTEXT: COPY tmp_importacao_socio, line 74
- pg_restore: processing data for table "public.tmp_socio"
- pg_restore: processing data for table "public.troco"
- pg_restore: processing data for table "public.usuario"
- pg_restore: processing data for table "public.usuario_tipo"
- pg_restore: processing data for table "public.vinculo"
- pg_restore: processing data for table "public.voucher"
- pg_restore: executing SEQUENCE SET acesso_historico_seq_acesso_historico_seq
- pg_restore: executing SEQUENCE SET acesso_seq_acesso_seq
- pg_restore: executing SEQUENCE SET assento_seq_assento_seq
- pg_restore: executing SEQUENCE SET baixa_seq_baixa_seq
- pg_restore: executing SEQUENCE SET bilheteria_seq_bilheteria_seq
- pg_restore: executing SEQUENCE SET boleto_macro_seq_boleto_macro_seq
- pg_restore: executing SEQUENCE SET cadeira_seq_cadeira_seq_1
- pg_restore: executing SEQUENCE SET camarote_seq_camarote_seq_1
- pg_restore: executing SEQUENCE SET catraca_seq_catraca_seq
- pg_restore: executing SEQUENCE SET clube_seq_clube_seq
- pg_restore: executing SEQUENCE SET cobranca_retorno_seq_cobranca_retorno_seq_1
- pg_restore: executing SEQUENCE SET cobranca_seq_cobranca_seq
- pg_restore: executing SEQUENCE SET cobranca_titulo_item_seq_cobranca_titulo_item_seq_1
- pg_restore: executing SEQUENCE SET cobranca_titulo_seq_cobranca_titulo_seq
- pg_restore: executing SEQUENCE SET competicao_edicao_seq_competicao_edicao_seq
- pg_restore: executing SEQUENCE SET competicao_seq_competicao_seq
- pg_restore: executing SEQUENCE SET dne_seq_dne_seq
- pg_restore: executing SEQUENCE SET escolaridade_seq_escolaridade_seq
- pg_restore: executing SEQUENCE SET estado_seq_estado_seq
- pg_restore: executing SEQUENCE SET evento_local_seq_evento_local_seq
- pg_restore: executing SEQUENCE SET evento_objetivo_seq_evento_objetivo_seq
- pg_restore: executing SEQUENCE SET evento_produto_seq_evento_produto_seq
- pg_restore: executing SEQUENCE SET evento_seq_evento_seq
- pg_restore: executing SEQUENCE SET faixa_salarial_seq_faixa_salarial_seq
- pg_restore: executing SEQUENCE SET forma_pagamento_seq_forma_pagamento_seq
- pg_restore: executing SEQUENCE SET ingresso_seq_ingresso_seq
- pg_restore: executing SEQUENCE SET matricula_cobranca_seq_matricula_cobranca_seq
- pg_restore: executing SEQUENCE SET matricula_matricula_seq
- pg_restore: executing SEQUENCE SET meio_pagamento_seq_meio_pagamento_seq
- pg_restore: executing SEQUENCE SET menu_seq_menu_seq
- pg_restore: processing data for table "public.liberacao_historico"
- pg_restore: processing data for table "public.matricula"
- pg_restore: processing data for table "public.meio_pagamento"
- pg_restore: [archiver (db)] Error from TOC entry 6671; 0 47400622 TABLE DATA meio_pagamento postgres
- pg_restore: [archiver (db)] COPY failed for table "meio_pagamento": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
- CONTEXT: COPY meio_pagamento, line 2
- pg_restore: processing data for table "public.menu"
- pg_restore: processing data for table "public.movimento"
- pg_restore: processing data for table "public.movimento_cobranca"
- pg_restore: processing data for table "public.movimento_item"
- pg_restore: processing data for table "public.movimento_pagamento"
- pg_restore: processing data for table "public.objeto"
- pg_restore: processing data for table "public.obs_matricula"
- pg_restore: processing data for table "public.pais"
- pg_restore: processing data for table "public.perfil"
- pg_restore: processing data for table "public.perfil_objeto"
- pg_restore: processing data for table "public.pessoa"
- pg_restore: processing data for table "public.pessoa_dados_pagamento"
- pg_restore: processing data for table "public.pessoa_vinculo"
- pg_restore: processing data for table "public.plano_pgto"
- pg_restore: processing data for table "public.portao"
- pg_restore: [archiver (db)] Error from TOC entry 6700; 0 47400729 TABLE DATA portao postgres
- pg_restore: [archiver (db)] COPY failed for table "portao": ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
- CONTEXT: COPY portao, line 1
- pg_restore: processing data for table "public.produto"
- pg_restore: processing data for table "public.produto_catraca"
- pg_restore: processing data for table "public.produto_classe"
- pg_restore: processing data for table "public.produto_configuracao"
- pg_restore: processing data for table "public.produto_contrato"
- pg_restore: processing data for table "public.produto_escolinha_turma"
- pg_restore: processing data for table "public.produto_plano_pgto"
- pg_restore: processing data for table "public.produto_taxa"
- pg_restore: processing data for table "public.profissao"
- pg_restore: [archiver (db)] Error from TOC entry 6716; 0 47400788 TABLE DATA profissao postgres
- pg_restore: [archiver (db)] COPY failed for table "profissao": ERROR: invalid byte sequence for encoding "UTF8": 0xe1 0x72 0x69
- CONTEXT: COPY profissao, line 4
- pg_restore: processing data for table "public.remessa"
- pg_restore: processing data for table "public.remessa_item"
- pg_restore: processing data for table "public.renda_familiar"
- pg_restore: processing data for table "public.sangria"
- pg_restore: processing data for table "public.sessao"
- pg_restore: processing data for table "public.sessao_evento_produto"
- pg_restore: processing data for table "public.setor"
- pg_restore: [archiver (db)] Error from TOC entry 6736; 0 47400841 TABLE DATA setor postgres
- pg_restore: [archiver (db)] COPY failed for table "setor": ERROR: invalid byte sequence for encoding "UTF8": 0xe9 0x73 0x74
- CONTEXT: COPY setor, line 3
- pg_restore: processing data for table "public.socio_tmp"
- pg_restore: [archiver (db)] Error from TOC entry 6738; 0 47400847 TABLE DATA socio_tmp postgres
- pg_restore: [archiver (db)] COPY failed for table "socio_tmp": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0xc3
- CONTEXT: COPY socio_tmp, line 252
- pg_restore: processing data for table "public.taxa"
- pg_restore: processing data for table "public.tmp_importacao_socio"
- pg_restore: [archiver (db)] Error from TOC entry 6741; 0 47400859 TABLE DATA tmp_importacao_socio postgres
- pg_restore: [archiver (db)] COPY failed for table "tmp_importacao_socio": ERROR: invalid byte sequence for encoding "UTF8": 0xc7 0x41
- CONTEXT: COPY tmp_importacao_socio, line 74
- pg_restore: processing data for table "public.tmp_socio"
- pg_restore: processing data for table "public.troco"
- pg_restore: processing data for table "public.usuario"
- pg_restore: processing data for table "public.usuario_tipo"
- pg_restore: processing data for table "public.vinculo"
- pg_restore: processing data for table "public.voucher"
- pg_restore: executing SEQUENCE SET acesso_historico_seq_acesso_historico_seq
- pg_restore: executing SEQUENCE SET acesso_seq_acesso_seq
- pg_restore: executing SEQUENCE SET assento_seq_assento_seq
- pg_restore: executing SEQUENCE SET baixa_seq_baixa_seq
- pg_restore: executing SEQUENCE SET bilheteria_seq_bilheteria_seq
- pg_restore: executing SEQUENCE SET boleto_macro_seq_boleto_macro_seq
- pg_restore: executing SEQUENCE SET cadeira_seq_cadeira_seq_1
- pg_restore: executing SEQUENCE SET camarote_seq_camarote_seq_1
- pg_restore: executing SEQUENCE SET catraca_seq_catraca_seq
- pg_restore: executing SEQUENCE SET clube_seq_clube_seq
- pg_restore: executing SEQUENCE SET cobranca_retorno_seq_cobranca_retorno_seq_1
- pg_restore: executing SEQUENCE SET cobranca_seq_cobranca_seq
- pg_restore: executing SEQUENCE SET cobranca_titulo_item_seq_cobranca_titulo_item_seq_1
- pg_restore: executing SEQUENCE SET cobranca_titulo_seq_cobranca_titulo_seq
- pg_restore: executing SEQUENCE SET competicao_edicao_seq_competicao_edicao_seq
- pg_restore: executing SEQUENCE SET competicao_seq_competicao_seq
- pg_restore: executing SEQUENCE SET dne_seq_dne_seq
- pg_restore: executing SEQUENCE SET escolaridade_seq_escolaridade_seq
- pg_restore: executing SEQUENCE SET estado_seq_estado_seq
- pg_restore: executing SEQUENCE SET evento_local_seq_evento_local_seq
- pg_restore: executing SEQUENCE SET evento_objetivo_seq_evento_objetivo_seq
- pg_restore: executing SEQUENCE SET evento_produto_seq_evento_produto_seq
- pg_restore: executing SEQUENCE SET evento_seq_evento_seq
- pg_restore: executing SEQUENCE SET faixa_salarial_seq_faixa_salarial_seq
- pg_restore: executing SEQUENCE SET forma_pagamento_seq_forma_pagamento_seq
- pg_restore: executing SEQUENCE SET ingresso_seq_ingresso_seq
- pg_restore: executing SEQUENCE SET matricula_cobranca_seq_matricula_cobranca_seq
- pg_restore: executing SEQUENCE SET matricula_matricula_seq
- pg_restore: executing SEQUENCE SET meio_pagamento_seq_meio_pagamento_seq
- pg_restore: executing SEQUENCE SET menu_seq_menu_seq
- pg_restore: executing SEQUENCE SET movimento_item_seq_movimento_item_seq
- pg_restore: executing SEQUENCE SET movimento_pagamento_seq_movimento_pagamento_seq
- pg_restore: executing SEQUENCE SET movimento_seq_movimento_seq
- pg_restore: executing SEQUENCE SET objeto_seq_objeto_seq
- pg_restore: executing SEQUENCE SET obs_matricula_matricula_seq
- pg_restore: executing SEQUENCE SET obs_matricula_seq_obs_matricula_seq
- pg_restore: executing SEQUENCE SET pais_seq_pais_seq
- pg_restore: executing SEQUENCE SET perfil_objeto_seq_perfil_objeto_seq
- pg_restore: executing SEQUENCE SET perfil_seq_perfil_seq
- pg_restore: executing SEQUENCE SET pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq
- pg_restore: executing SEQUENCE SET pessoa_seq_pessoa_seq
- pg_restore: executing SEQUENCE SET pessoa_vinculo_seq_pessoa_vinculo_seq
- pg_restore: executing SEQUENCE SET plano_pgto_seq_plano_pgto_seq
- pg_restore: executing SEQUENCE SET portao_seq_portao_seq_1
- pg_restore: executing SEQUENCE SET produto_catraca_seq_produto_catraca_seq
- pg_restore: executing SEQUENCE SET produto_classe_seq_produto_classe_seq
- pg_restore: executing SEQUENCE SET produto_configuracao_seq_produto_configuracao_seq
- pg_restore: executing SEQUENCE SET produto_contrato_seq_produto_contrato_seq_1
- pg_restore: executing SEQUENCE SET produto_escolinha_turma_seq_produto_escolinha_turma_seq
- pg_restore: executing SEQUENCE SET produto_plano_pgto_seq_produto_plano_pgto_seq
- pg_restore: executing SEQUENCE SET produto_seq_produto_seq
- pg_restore: executing SEQUENCE SET produto_taxa_seq_produto_taxa_seq
- pg_restore: executing SEQUENCE SET profissao_seq_profissao_seq_1
- pg_restore: executing SEQUENCE SET remessa_item_seq_remessa_item_seq
- pg_restore: executing SEQUENCE SET remessa_seq_remessa_seq
- pg_restore: executing SEQUENCE SET renda_familiar_seq_renda_familiar_seq
- pg_restore: executing SEQUENCE SET sangria_seq_sangria_seq
- pg_restore: executing SEQUENCE SET seq_cartao2
- pg_restore: executing SEQUENCE SET seq_competencia
- pg_restore: executing SEQUENCE SET seq_conta
- pg_restore: executing SEQUENCE SET seq_ingresso_numero
- pg_restore: executing SEQUENCE SET seq_instituicao_financeira
- pg_restore: executing SEQUENCE SET seq_liberacao_historico
- pg_restore: executing SEQUENCE SET seq_nosso_numero
- pg_restore: executing SEQUENCE SET seq_seq_liberacao
- pg_restore: executing SEQUENCE SET seq_voucher
- pg_restore: executing SEQUENCE SET sessao_evento_produto_seq_sessao_evento_produto_seq
- pg_restore: executing SEQUENCE SET sessao_seq_sessao_seq
- pg_restore: executing SEQUENCE SET setor_seq_setor_seq_1
- pg_restore: executing SEQUENCE SET taxa_seq_taxa_seq
- pg_restore: executing SEQUENCE SET troco_seq_troco_seq
- pg_restore: executing SEQUENCE SET usuario_seq_usuario_seq
- pg_restore: executing SEQUENCE SET usuario_tipo_seq_usuario_tipo_seq
- pg_restore: executing SEQUENCE SET vinculo_seq_vinculo_seq
- pg_restore: creating CONSTRAINT "public.acesso_historico acesso_historico_pkey"
- pg_restore: creating CONSTRAINT "public.acesso acesso_pkey"
- pg_restore: creating CONSTRAINT "public.baixa baixa_pkey"
- pg_restore: creating CONSTRAINT "public.boleto_macro boleto_macro_pkey"
- pg_restore: creating CONSTRAINT "public.ci_sessions ci_sessions_pkey"
- pg_restore: creating CONSTRAINT "public.competencia competencia_pkey"
- pg_restore: creating CONSTRAINT "public.conta conta_pkey"
- pg_restore: creating CONSTRAINT "public.dne dne_pkey"
- pg_restore: creating CONSTRAINT "public.escolaridade escolaridade_pkey"
- pg_restore: creating CONSTRAINT "public.estado estado_pkey"
- pg_restore: creating CONSTRAINT "public.evento_objetivo evento_objetivo_pkey"
- pg_restore: creating CONSTRAINT "public.faixa_salarial faixa_salarial_pkey"
- pg_restore: creating CONSTRAINT "public.ingresso_numero ingresso_numero_pkey"
- pg_restore: creating CONSTRAINT "public.instituicao_financeira instituicao_financeira_seq_instituicao_financeira"
- pg_restore: creating CONSTRAINT "public.liberacao liberacao_pkey"
- pg_restore: creating CONSTRAINT "public.matricula matricula_pkey"
- pg_restore: creating CONSTRAINT "public.menu menu_pkey"
- pg_restore: creating CONSTRAINT "public.obs_matricula obs_matricula_pkey"
- pg_restore: creating CONSTRAINT "public.pais pais_pkey"
- pg_restore: creating CONSTRAINT "public.pessoa_dados_pagamento pessoa_dados_pagamento_pkey"
- pg_restore: creating CONSTRAINT "public.produto_configuracao pk_produto_configuracao"
- pg_restore: creating CONSTRAINT "public.vinculo pk_vinculo"
- pg_restore: creating CONSTRAINT "public.plano_pgto plano_pgto_pkey"
- pg_restore: creating CONSTRAINT "public.produto_classe produto_classe_pkey"
- pg_restore: creating CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_pkey"
- pg_restore: creating CONSTRAINT "public.remessa_item remessa_item_pkey"
- pg_restore: creating CONSTRAINT "public.remessa remessa_pkey"
- pg_restore: creating CONSTRAINT "public.renda_familiar renda_familiar_pkey"
- pg_restore: creating CONSTRAINT "public.assento seq_assento"
- pg_restore: creating CONSTRAINT "public.bilheteria seq_bilheteria"
- pg_restore: creating CONSTRAINT "public.cadeira seq_cadeira"
- pg_restore: creating CONSTRAINT "public.camarote seq_camarote"
- pg_restore: creating CONSTRAINT "public.cartao seq_cartao"
- pg_restore: creating CONSTRAINT "public.catraca seq_catraca"
- pg_restore: creating CONSTRAINT "public.clube seq_clube"
- pg_restore: creating CONSTRAINT "public.cobranca seq_cobranca"
- pg_restore: creating CONSTRAINT "public.cobranca_retorno seq_cobranca_retorno"
- pg_restore: creating CONSTRAINT "public.cobranca_titulo seq_cobranca_titulo"
- pg_restore: creating CONSTRAINT "public.cobranca_titulo_item seq_cobranca_titulo_item"
- pg_restore: creating CONSTRAINT "public.competicao seq_competicao"
- pg_restore: creating CONSTRAINT "public.competicao_edicao seq_competicao_edicao"
- pg_restore: creating CONSTRAINT "public.evento seq_evento"
- pg_restore: creating CONSTRAINT "public.evento_local seq_evento_local"
- pg_restore: creating CONSTRAINT "public.evento_produto seq_evento_produto"
- pg_restore: creating CONSTRAINT "public.forma_pagamento seq_forma_pagamento"
- pg_restore: creating CONSTRAINT "public.ingresso seq_ingresso"
- pg_restore: creating CONSTRAINT "public.liberacao_historico seq_liberacao_historico_pkey"
- pg_restore: creating CONSTRAINT "public.movimento_cobranca seq_matricula_cobranca"
- pg_restore: creating CONSTRAINT "public.meio_pagamento seq_meio_pagamento"
- pg_restore: creating CONSTRAINT "public.movimento seq_movimento"
- pg_restore: creating CONSTRAINT "public.movimento_item seq_movimento_item"
- pg_restore: creating CONSTRAINT "public.movimento_pagamento seq_movimento_pagamento"
- pg_restore: creating CONSTRAINT "public.objeto seq_objeto"
- pg_restore: creating CONSTRAINT "public.perfil seq_perfil"
- pg_restore: creating CONSTRAINT "public.perfil_objeto seq_perfil_objeto"
- pg_restore: creating CONSTRAINT "public.pessoa seq_pessoa"
- pg_restore: creating CONSTRAINT "public.pessoa_vinculo seq_pessoa_vinculo"
- pg_restore: creating CONSTRAINT "public.portao seq_portao"
- pg_restore: creating CONSTRAINT "public.produto seq_produto"
- pg_restore: creating CONSTRAINT "public.produto_catraca seq_produto_catraca"
- pg_restore: creating CONSTRAINT "public.produto_contrato seq_produto_contrato"
- pg_restore: creating CONSTRAINT "public.produto_taxa seq_produto_taxa"
- pg_restore: creating CONSTRAINT "public.profissao seq_profissao"
- pg_restore: creating CONSTRAINT "public.sangria seq_sangria"
- pg_restore: creating CONSTRAINT "public.sessao seq_sessao"
- pg_restore: creating CONSTRAINT "public.sessao_evento_produto seq_sessao_evento_produto"
- pg_restore: creating CONSTRAINT "public.setor seq_setor"
- pg_restore: creating CONSTRAINT "public.taxa seq_taxa"
- pg_restore: creating CONSTRAINT "public.troco seq_troco"
- pg_restore: creating CONSTRAINT "public.usuario seq_usuario"
- pg_restore: creating CONSTRAINT "public.usuario_tipo seq_usuario_tipo"
- pg_restore: creating CONSTRAINT "public.voucher voucher_pkey"
- pg_restore: creating INDEX "public.dne_cep_idx"
- pg_restore: creating INDEX "public.dne_localidade_uf_idx"
- pg_restore: creating INDEX "public.fki_"
- pg_restore: creating INDEX "public.fki_usuario_movimento"
- pg_restore: creating TRIGGER "public.evento trg_carrega_even_ref"
- pg_restore: creating TRIGGER "public.cobranca_titulo trg_cobranca_titulo_bu"
- pg_restore: creating TRIGGER "public.sessao trg_depois_inserir_sessao"
- pg_restore: creating TRIGGER "public.movimento trg_estorna_movimento"
- pg_restore: creating TRIGGER "public.movimento_item trg_gera_ingressos"
- pg_restore: [archiver (db)] Error from TOC entry 6483; 2620 49606697 TRIGGER movimento_item trg_gera_ingressos postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: function public.gera_ingressos_do_pagamento() does not exist
- Command was: CREATE TRIGGER trg_gera_ingressos AFTER INSERT OR UPDATE ON public.movimento_item FOR EACH ROW EXECUTE PROCEDURE public.gera_ingressos_do_pagamento();
- ALTER TABLE public.movimento_item DISABLE TRIGGER trg_gera_ingressos;
- pg_restore: creating FK CONSTRAINT "public.ingresso assento_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao bilheteria_sessao_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula cadeira_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula camarote_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.ingresso cartao_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_catraca catraca_produto_catraca_fk"
- pg_restore: creating FK CONSTRAINT "public.evento clube_evento_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo cobranca_retorno_cobranca_titulo_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_cobranca_titulo_item_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_item_seq_movimento_cobranca_fkey"
- pg_restore: creating FK CONSTRAINT "public.competicao_edicao competicao_competicao_edicao_fk"
- pg_restore: [archiver (db)] Error from TOC entry 6414; 2606 49606748 FK CONSTRAINT competicao_edicao competicao_competicao_edicao_fk postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: insert or update on table "competicao_edicao" violates foreign key constraint "competicao_competicao_edicao_fk"
- DETAIL: Key (seq_competicao)=(2) is not present in table "competicao".
- Command was: ALTER TABLE ONLY public.competicao_edicao
- ADD CONSTRAINT competicao_competicao_edicao_fk FOREIGN KEY (seq_competicao) REFERENCES public.competicao(seq_competicao);
- pg_restore: creating FK CONSTRAINT "public.evento_produto evento_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.evento evento_local_evento_fk"
- pg_restore: creating FK CONSTRAINT "public.evento evento_objetivo"
- pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto evento_produto_sessao_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.evento evento_seq_competicao_edicao_fkey"
- pg_restore: creating FK CONSTRAINT "public.conta fk_conta_conta_pai"
- pg_restore: creating FK CONSTRAINT "public.produto fk_produto_configuracao"
- pg_restore: creating FK CONSTRAINT "public.meio_pagamento forma_pagamento_meio_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento forma_pagamento_pessoa_dados_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_movimento_item_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento instituicao_financeira_pessoa_dados_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.liberacao liberacao_seq_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.cartao matricula_cartao_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_cobranca matricula_matricula_cobranca_fk"
- pg_restore: creating FK CONSTRAINT "public.obs_matricula matricula_obs_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula matricula_plano_pgto"
- pg_restore: creating FK CONSTRAINT "public.menu menu_objeto_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_cobranca movimento_cobranca_seq_pessoa_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_movimento_cobranca_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_sessao_evento_produto_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_movimento_item_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_movimento_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento movimento_operador_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_forma_pagamento_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_meio_pagamento_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento movimento_seq_pessoa_fkey"
- pg_restore: creating FK CONSTRAINT "public.perfil_objeto objeto_perfil_objeto_fk"
- pg_restore: creating FK CONSTRAINT "public.perfil_objeto perfil_perfil_objeto_fk"
- pg_restore: creating FK CONSTRAINT "public.usuario perfil_usuario_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula pessoa_dados_pagamento_matricula"
- pg_restore: creating FK CONSTRAINT "public.ingresso pessoa_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula pessoa_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento pessoa_pessoa_dados_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.usuario pessoa_usuario_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_pessoa_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_vinculo_fk"
- pg_restore: creating FK CONSTRAINT "public.plano_pgto plano_pgto_seq_produto_fkey"
- pg_restore: creating FK CONSTRAINT "public.catraca portao_catraca_fk"
- pg_restore: [archiver (db)] Error from TOC entry 6409; 2606 49606943 FK CONSTRAINT catraca portao_catraca_fk postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: insert or update on table "catraca" violates foreign key constraint "portao_catraca_fk"
- DETAIL: Key (seq_portao)=(3) is not present in table "portao".
- Command was: ALTER TABLE ONLY public.catraca
- ADD CONSTRAINT portao_catraca_fk FOREIGN KEY (seq_portao) REFERENCES public.portao(seq_portao) ON UPDATE CASCADE;
- pg_restore: creating FK CONSTRAINT "public.produto produto_contrato_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.evento_produto produto_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula produto_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_plano_pgto_fkey"
- pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_produto_taxa_fkey"
- pg_restore: creating FK CONSTRAINT "public.produto_catraca produto_produto_catraca_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_taxa produto_produto_taxa_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_escolinha_turma produto_produto_taxa_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_cobranca produto_taxa_matricula_cobranca_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_item produto_taxa_movimento_item_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa profissao_pessoa_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo remessa_cobranca_titulo_fk"
- pg_restore: creating FK CONSTRAINT "public.sangria sessao_sangria_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto sessao_sessao_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.troco sessao_troco_fk"
- pg_restore: creating FK CONSTRAINT "public.assento setor_assento_fk"
- pg_restore: creating FK CONSTRAINT "public.portao setor_portao_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_taxa taxa_produto_taxa_fk"
- pg_restore: creating FK CONSTRAINT "public.sangria usuario_sangria_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto usuario_sessao_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao usuario_sessao_fk"
- pg_restore: creating FK CONSTRAINT "public.usuario usuario_tipo_usuario_fk"
- pg_restore: creating FK CONSTRAINT "public.troco usuario_troco_fk"
- WARNING: errors ignored on restore: 25
- pg_restore: executing SEQUENCE SET movimento_item_seq_movimento_item_seq
- pg_restore: executing SEQUENCE SET movimento_pagamento_seq_movimento_pagamento_seq
- pg_restore: executing SEQUENCE SET movimento_seq_movimento_seq
- pg_restore: executing SEQUENCE SET objeto_seq_objeto_seq
- pg_restore: executing SEQUENCE SET obs_matricula_matricula_seq
- pg_restore: executing SEQUENCE SET obs_matricula_seq_obs_matricula_seq
- pg_restore: executing SEQUENCE SET pais_seq_pais_seq
- pg_restore: executing SEQUENCE SET perfil_objeto_seq_perfil_objeto_seq
- pg_restore: executing SEQUENCE SET perfil_seq_perfil_seq
- pg_restore: executing SEQUENCE SET pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq
- pg_restore: executing SEQUENCE SET pessoa_seq_pessoa_seq
- pg_restore: executing SEQUENCE SET pessoa_vinculo_seq_pessoa_vinculo_seq
- pg_restore: executing SEQUENCE SET plano_pgto_seq_plano_pgto_seq
- pg_restore: executing SEQUENCE SET portao_seq_portao_seq_1
- pg_restore: executing SEQUENCE SET produto_catraca_seq_produto_catraca_seq
- pg_restore: executing SEQUENCE SET produto_classe_seq_produto_classe_seq
- pg_restore: executing SEQUENCE SET produto_configuracao_seq_produto_configuracao_seq
- pg_restore: executing SEQUENCE SET produto_contrato_seq_produto_contrato_seq_1
- pg_restore: executing SEQUENCE SET produto_escolinha_turma_seq_produto_escolinha_turma_seq
- pg_restore: executing SEQUENCE SET produto_plano_pgto_seq_produto_plano_pgto_seq
- pg_restore: executing SEQUENCE SET produto_seq_produto_seq
- pg_restore: executing SEQUENCE SET produto_taxa_seq_produto_taxa_seq
- pg_restore: executing SEQUENCE SET profissao_seq_profissao_seq_1
- pg_restore: executing SEQUENCE SET remessa_item_seq_remessa_item_seq
- pg_restore: executing SEQUENCE SET remessa_seq_remessa_seq
- pg_restore: executing SEQUENCE SET renda_familiar_seq_renda_familiar_seq
- pg_restore: executing SEQUENCE SET sangria_seq_sangria_seq
- pg_restore: executing SEQUENCE SET seq_cartao2
- pg_restore: executing SEQUENCE SET seq_competencia
- pg_restore: executing SEQUENCE SET seq_conta
- pg_restore: executing SEQUENCE SET seq_ingresso_numero
- pg_restore: executing SEQUENCE SET seq_instituicao_financeira
- pg_restore: executing SEQUENCE SET seq_liberacao_historico
- pg_restore: executing SEQUENCE SET seq_nosso_numero
- pg_restore: executing SEQUENCE SET seq_seq_liberacao
- pg_restore: executing SEQUENCE SET seq_voucher
- pg_restore: executing SEQUENCE SET sessao_evento_produto_seq_sessao_evento_produto_seq
- pg_restore: executing SEQUENCE SET sessao_seq_sessao_seq
- pg_restore: executing SEQUENCE SET setor_seq_setor_seq_1
- pg_restore: executing SEQUENCE SET taxa_seq_taxa_seq
- pg_restore: executing SEQUENCE SET troco_seq_troco_seq
- pg_restore: executing SEQUENCE SET usuario_seq_usuario_seq
- pg_restore: executing SEQUENCE SET usuario_tipo_seq_usuario_tipo_seq
- pg_restore: executing SEQUENCE SET vinculo_seq_vinculo_seq
- pg_restore: creating CONSTRAINT "public.acesso_historico acesso_historico_pkey"
- pg_restore: creating CONSTRAINT "public.acesso acesso_pkey"
- pg_restore: creating CONSTRAINT "public.baixa baixa_pkey"
- pg_restore: creating CONSTRAINT "public.boleto_macro boleto_macro_pkey"
- pg_restore: creating CONSTRAINT "public.ci_sessions ci_sessions_pkey"
- pg_restore: creating CONSTRAINT "public.competencia competencia_pkey"
- pg_restore: creating CONSTRAINT "public.conta conta_pkey"
- pg_restore: creating CONSTRAINT "public.dne dne_pkey"
- pg_restore: creating CONSTRAINT "public.escolaridade escolaridade_pkey"
- pg_restore: creating CONSTRAINT "public.estado estado_pkey"
- pg_restore: creating CONSTRAINT "public.evento_objetivo evento_objetivo_pkey"
- pg_restore: creating CONSTRAINT "public.faixa_salarial faixa_salarial_pkey"
- pg_restore: creating CONSTRAINT "public.ingresso_numero ingresso_numero_pkey"
- pg_restore: creating CONSTRAINT "public.instituicao_financeira instituicao_financeira_seq_instituicao_financeira"
- pg_restore: creating CONSTRAINT "public.liberacao liberacao_pkey"
- pg_restore: creating CONSTRAINT "public.matricula matricula_pkey"
- pg_restore: creating CONSTRAINT "public.menu menu_pkey"
- pg_restore: creating CONSTRAINT "public.obs_matricula obs_matricula_pkey"
- pg_restore: creating CONSTRAINT "public.pais pais_pkey"
- pg_restore: creating CONSTRAINT "public.pessoa_dados_pagamento pessoa_dados_pagamento_pkey"
- pg_restore: creating CONSTRAINT "public.produto_configuracao pk_produto_configuracao"
- pg_restore: creating CONSTRAINT "public.vinculo pk_vinculo"
- pg_restore: creating CONSTRAINT "public.plano_pgto plano_pgto_pkey"
- pg_restore: creating CONSTRAINT "public.produto_classe produto_classe_pkey"
- pg_restore: creating CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_pkey"
- pg_restore: creating CONSTRAINT "public.remessa_item remessa_item_pkey"
- pg_restore: creating CONSTRAINT "public.remessa remessa_pkey"
- pg_restore: creating CONSTRAINT "public.renda_familiar renda_familiar_pkey"
- pg_restore: creating CONSTRAINT "public.assento seq_assento"
- pg_restore: creating CONSTRAINT "public.bilheteria seq_bilheteria"
- pg_restore: creating CONSTRAINT "public.cadeira seq_cadeira"
- pg_restore: creating CONSTRAINT "public.camarote seq_camarote"
- pg_restore: creating CONSTRAINT "public.cartao seq_cartao"
- pg_restore: creating CONSTRAINT "public.catraca seq_catraca"
- pg_restore: creating CONSTRAINT "public.clube seq_clube"
- pg_restore: creating CONSTRAINT "public.cobranca seq_cobranca"
- pg_restore: creating CONSTRAINT "public.cobranca_retorno seq_cobranca_retorno"
- pg_restore: creating CONSTRAINT "public.cobranca_titulo seq_cobranca_titulo"
- pg_restore: creating CONSTRAINT "public.cobranca_titulo_item seq_cobranca_titulo_item"
- pg_restore: creating CONSTRAINT "public.competicao seq_competicao"
- pg_restore: creating CONSTRAINT "public.competicao_edicao seq_competicao_edicao"
- pg_restore: creating CONSTRAINT "public.evento seq_evento"
- pg_restore: creating CONSTRAINT "public.evento_local seq_evento_local"
- pg_restore: creating CONSTRAINT "public.evento_produto seq_evento_produto"
- pg_restore: creating CONSTRAINT "public.forma_pagamento seq_forma_pagamento"
- pg_restore: creating CONSTRAINT "public.ingresso seq_ingresso"
- pg_restore: creating CONSTRAINT "public.liberacao_historico seq_liberacao_historico_pkey"
- pg_restore: creating CONSTRAINT "public.movimento_cobranca seq_matricula_cobranca"
- pg_restore: creating CONSTRAINT "public.meio_pagamento seq_meio_pagamento"
- pg_restore: creating CONSTRAINT "public.movimento seq_movimento"
- pg_restore: creating CONSTRAINT "public.movimento_item seq_movimento_item"
- pg_restore: creating CONSTRAINT "public.movimento_pagamento seq_movimento_pagamento"
- pg_restore: creating CONSTRAINT "public.objeto seq_objeto"
- pg_restore: creating CONSTRAINT "public.perfil seq_perfil"
- pg_restore: creating CONSTRAINT "public.perfil_objeto seq_perfil_objeto"
- pg_restore: creating CONSTRAINT "public.pessoa seq_pessoa"
- pg_restore: creating CONSTRAINT "public.pessoa_vinculo seq_pessoa_vinculo"
- pg_restore: creating CONSTRAINT "public.portao seq_portao"
- pg_restore: creating CONSTRAINT "public.produto seq_produto"
- pg_restore: creating CONSTRAINT "public.produto_catraca seq_produto_catraca"
- pg_restore: creating CONSTRAINT "public.produto_contrato seq_produto_contrato"
- pg_restore: creating CONSTRAINT "public.produto_taxa seq_produto_taxa"
- pg_restore: creating CONSTRAINT "public.profissao seq_profissao"
- pg_restore: creating CONSTRAINT "public.sangria seq_sangria"
- pg_restore: creating CONSTRAINT "public.sessao seq_sessao"
- pg_restore: creating CONSTRAINT "public.sessao_evento_produto seq_sessao_evento_produto"
- pg_restore: creating CONSTRAINT "public.setor seq_setor"
- pg_restore: creating CONSTRAINT "public.taxa seq_taxa"
- pg_restore: creating CONSTRAINT "public.troco seq_troco"
- pg_restore: creating CONSTRAINT "public.usuario seq_usuario"
- pg_restore: creating CONSTRAINT "public.usuario_tipo seq_usuario_tipo"
- pg_restore: creating CONSTRAINT "public.voucher voucher_pkey"
- pg_restore: creating INDEX "public.dne_cep_idx"
- pg_restore: creating INDEX "public.dne_localidade_uf_idx"
- pg_restore: creating INDEX "public.fki_"
- pg_restore: creating INDEX "public.fki_usuario_movimento"
- pg_restore: creating TRIGGER "public.evento trg_carrega_even_ref"
- pg_restore: creating TRIGGER "public.cobranca_titulo trg_cobranca_titulo_bu"
- pg_restore: creating TRIGGER "public.sessao trg_depois_inserir_sessao"
- pg_restore: creating TRIGGER "public.movimento trg_estorna_movimento"
- pg_restore: creating TRIGGER "public.movimento_item trg_gera_ingressos"
- pg_restore: [archiver (db)] Error from TOC entry 6483; 2620 49606697 TRIGGER movimento_item trg_gera_ingressos postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: function public.gera_ingressos_do_pagamento() does not exist
- Command was: CREATE TRIGGER trg_gera_ingressos AFTER INSERT OR UPDATE ON public.movimento_item FOR EACH ROW EXECUTE PROCEDURE public.gera_ingressos_do_pagamento();
- ALTER TABLE public.movimento_item DISABLE TRIGGER trg_gera_ingressos;
- pg_restore: creating FK CONSTRAINT "public.ingresso assento_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao bilheteria_sessao_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula cadeira_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula camarote_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.ingresso cartao_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_catraca catraca_produto_catraca_fk"
- pg_restore: creating FK CONSTRAINT "public.evento clube_evento_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo cobranca_retorno_cobranca_titulo_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_cobranca_titulo_item_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_item_seq_movimento_cobranca_fkey"
- pg_restore: creating FK CONSTRAINT "public.competicao_edicao competicao_competicao_edicao_fk"
- pg_restore: [archiver (db)] Error from TOC entry 6414; 2606 49606748 FK CONSTRAINT competicao_edicao competicao_competicao_edicao_fk postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: insert or update on table "competicao_edicao" violates foreign key constraint "competicao_competicao_edicao_fk"
- DETAIL: Key (seq_competicao)=(2) is not present in table "competicao".
- Command was: ALTER TABLE ONLY public.competicao_edicao
- ADD CONSTRAINT competicao_competicao_edicao_fk FOREIGN KEY (seq_competicao) REFERENCES public.competicao(seq_competicao);
- pg_restore: creating FK CONSTRAINT "public.evento_produto evento_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.evento evento_local_evento_fk"
- pg_restore: creating FK CONSTRAINT "public.evento evento_objetivo"
- pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto evento_produto_sessao_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.evento evento_seq_competicao_edicao_fkey"
- pg_restore: creating FK CONSTRAINT "public.conta fk_conta_conta_pai"
- pg_restore: creating FK CONSTRAINT "public.produto fk_produto_configuracao"
- pg_restore: creating FK CONSTRAINT "public.meio_pagamento forma_pagamento_meio_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento forma_pagamento_pessoa_dados_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_movimento_item_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento instituicao_financeira_pessoa_dados_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.liberacao liberacao_seq_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.cartao matricula_cartao_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_cobranca matricula_matricula_cobranca_fk"
- pg_restore: creating FK CONSTRAINT "public.obs_matricula matricula_obs_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula matricula_plano_pgto"
- pg_restore: creating FK CONSTRAINT "public.menu menu_objeto_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_cobranca movimento_cobranca_seq_pessoa_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_movimento_cobranca_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_sessao_evento_produto_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_movimento_item_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_movimento_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento movimento_operador_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_forma_pagamento_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_meio_pagamento_fkey"
- pg_restore: creating FK CONSTRAINT "public.movimento movimento_seq_pessoa_fkey"
- pg_restore: creating FK CONSTRAINT "public.perfil_objeto objeto_perfil_objeto_fk"
- pg_restore: creating FK CONSTRAINT "public.perfil_objeto perfil_perfil_objeto_fk"
- pg_restore: creating FK CONSTRAINT "public.usuario perfil_usuario_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula pessoa_dados_pagamento_matricula"
- pg_restore: creating FK CONSTRAINT "public.ingresso pessoa_ingresso_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula pessoa_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento pessoa_pessoa_dados_pagamento_fk"
- pg_restore: creating FK CONSTRAINT "public.usuario pessoa_usuario_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_pessoa_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_vinculo_fk"
- pg_restore: creating FK CONSTRAINT "public.plano_pgto plano_pgto_seq_produto_fkey"
- pg_restore: creating FK CONSTRAINT "public.catraca portao_catraca_fk"
- pg_restore: [archiver (db)] Error from TOC entry 6409; 2606 49606943 FK CONSTRAINT catraca portao_catraca_fk postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: insert or update on table "catraca" violates foreign key constraint "portao_catraca_fk"
- DETAIL: Key (seq_portao)=(3) is not present in table "portao".
- Command was: ALTER TABLE ONLY public.catraca
- ADD CONSTRAINT portao_catraca_fk FOREIGN KEY (seq_portao) REFERENCES public.portao(seq_portao) ON UPDATE CASCADE;
- pg_restore: creating FK CONSTRAINT "public.produto produto_contrato_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.evento_produto produto_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.matricula produto_matricula_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_plano_pgto_fkey"
- pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_produto_taxa_fkey"
- pg_restore: creating FK CONSTRAINT "public.produto_catraca produto_produto_catraca_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_taxa produto_produto_taxa_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_escolinha_turma produto_produto_taxa_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_cobranca produto_taxa_matricula_cobranca_fk"
- pg_restore: creating FK CONSTRAINT "public.movimento_item produto_taxa_movimento_item_fk"
- pg_restore: creating FK CONSTRAINT "public.pessoa profissao_pessoa_fk"
- pg_restore: creating FK CONSTRAINT "public.cobranca_titulo remessa_cobranca_titulo_fk"
- pg_restore: creating FK CONSTRAINT "public.sangria sessao_sangria_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto sessao_sessao_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.troco sessao_troco_fk"
- pg_restore: creating FK CONSTRAINT "public.assento setor_assento_fk"
- pg_restore: creating FK CONSTRAINT "public.portao setor_portao_fk"
- pg_restore: creating FK CONSTRAINT "public.produto_taxa taxa_produto_taxa_fk"
- pg_restore: creating FK CONSTRAINT "public.sangria usuario_sangria_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto usuario_sessao_evento_produto_fk"
- pg_restore: creating FK CONSTRAINT "public.sessao usuario_sessao_fk"
- pg_restore: creating FK CONSTRAINT "public.usuario usuario_tipo_usuario_fk"
- pg_restore: creating FK CONSTRAINT "public.troco usuario_troco_fk"
- WARNING: errors ignored on restore: 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement