Advertisement
Guest User

Untitled

a guest
Jan 14th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pg_restore: connecting to database for restore
  2. pg_restore: creating SCHEMA "public"
  3. pg_restore: creating COMMENT "SCHEMA public"
  4. pg_restore: creating FUNCTION "public.apaga_arvore(bigint, character varying, character varying)"
  5. pg_restore: creating FUNCTION "public.cobranca_adiciona_taxa(integer)"
  6. pg_restore: creating FUNCTION "public.cobranca_adiciona_taxa(integer, integer)"
  7. pg_restore: creating FUNCTION "public.competencia_atual()"
  8. pg_restore: creating FUNCTION "public.concate(text, text)"
  9. pg_restore: creating FUNCTION "public.concatefinal(text)"
  10. pg_restore: creating FUNCTION "public.depois_inserir_sessao()"
  11. pg_restore: creating FUNCTION "public.em_dia(integer, character varying)"
  12. pg_restore: creating FUNCTION "public.estorna_movimento()"
  13. pg_restore: creating FUNCTION "public.fatura_retorno()"
  14. pg_restore: creating FUNCTION "public.fnc_abertura_jogo(date)"
  15. pg_restore: creating FUNCTION "public.fnc_carrega_even_ref()"
  16. pg_restore: creating FUNCTION "public.fnc_cobranca_titulo()"
  17. pg_restore: creating FUNCTION "public.fnc_gera_boleto_carne(integer, integer)"
  18. pg_restore: creating FUNCTION "public.fnc_insere_socios_tmp()"
  19. pg_restore: creating FUNCTION "public.fnc_numero_ingresso(integer)"
  20. pg_restore: creating FUNCTION "public.fnc_numero_valido(bigint)"
  21. pg_restore: creating FUNCTION "public.gera_ingressos_do_pagamento()"
  22. pg_restore: [archiver (db)] Error while PROCESSING TOC:
  23. pg_restore: [archiver (db)] Error from TOC entry 1221; 1255 47395454 FUNCTION gera_ingressos_do_pagamento() postgres
  24. pg_restore: [archiver (db)] could not execute query: ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
  25.     Command was: CREATE FUNCTION public.gera_ingressos_do_pagamento() RETURNS trigger
  26.     LANGUAGE plpgsql
  27.     AS $$
  28. declare
  29.    rEventoProduto  record;
  30.    rIngressoNumero record;
  31.    vseq_ingresso   int4;
  32.    ieven_ref       Integer;
  33.    vcaixa          integer;
  34. begin
  35. select caixa into vcaixa from movimento where seq_movimento=new.seq_movimento;
  36. if vcaixa is null then
  37.    -- verifica se existe na tabela de ingresso, se n�o existe gera o insert. --
  38.    if new.seq_movimento_item not in (select seq_movimento_item from ingresso) then
  39.       -- pega o event_ref do evendo --
  40.       ieven_ref := (select evento.even_ref
  41.                     from sessao_evento_produto
  42.                     join sessao on (sessao.seq_sessao = sessao_evento_produto.seq_sessao)
  43.                     join evento on (evento.seq_evento = sessao.seq_evento)
  44.                     where seq_sessao_evento_produto = new.seq_sessao_evento_produto);
  45.      
  46.       -- loop na quantidade do movimento item --
  47.       for licont in 1..(new.qtde::integer) loop
  48.               vseq_ingresso   := nextval('ingresso_seq_ingresso_seq');
  49.               -- pega 1 numero da tabela ingresso_numero --
  50.               select * into rIngressoNumero from ingresso_numero where even_ref = ieven_ref and not usado limit 1;
  51.  
  52.               -- gera o insert na tabela de ingresso --
  53.               INSERT INTO ingresso(seq_ingresso,seq_sessao_evento_produto, seq_pessoa, seq_assento, nro_codigo_barras, nro_ingresso, nro_2d, nro_protocolo,
  54.                                    seq_cartao, usuario_alteracao, data_alteracao, dt_cancelamento, seq_movimento_item)
  55.                            VALUES (vseq_ingresso,
  56.                                    new.seq_sessao_evento_produto,                                                           -- seq_sessao_evento_produto
  57.                                   (select seq_pessoa from movimento where seq_movimento = new.seq_movimento),               -- seq_pessoa
  58.                                   /* (select seq_assento from produto_assento where seq_produto = rEventoProduto.seq_produto), -- seq_assento */
  59.                                   null,                                                                                     -- seq_assento
  60.                                   rIngressoNumero.ingresso_numero,                                                          -- nro_codigo_barras
  61.                                   rIngressoNumero.ingresso_numero,                                                          -- nro_ingresso
  62.                                   null,                                                                                     -- nro_2d
  63.                                   null,                                                                                     -- nro_protocolo
  64.                                   null,                                                                                     -- seq_cartao
  65.                                   new.usuario_alteracao,                                                                    -- usuario_alteracao
  66.                                   now(),                                                                                    -- data_alteracao
  67.                                   null,                                                                                     -- dt_cancelamento
  68.                                   new.seq_movimento_item);                                                                  -- seq_movimento_item
  69.  
  70.               -- marca o numero selecionado como usado --
  71.               update ingresso_numero set usado = true where ingresso_numero = rIngressoNumero.ingresso_numero;                                  
  72.       end loop;
  73.    end if;
  74. end if;
  75.    return new;
  76. end; $$;
  77.  
  78.  
  79.  
  80. pg_restore: [archiver (db)] could not execute query: ERROR:  function public.gera_ingressos_do_pagamento() does not exist
  81.     Command was: ALTER FUNCTION public.gera_ingressos_do_pagamento() OWNER TO postgres;
  82.  
  83.  
  84. pg_restore: creating FUNCTION "public.gera_script_importacao(text)"
  85. pg_restore: creating FUNCTION "public.insere_arvore(bigint, character varying, character varying, character varying)"
  86. pg_restore: creating FUNCTION "public.insere_pagamentos_carga_inicial()"
  87. pg_restore: creating FUNCTION "public.popula_ingresso_numero(integer, integer)"
  88. pg_restore: creating FUNCTION "public.proxima_matricula()"
  89. pg_restore: creating FUNCTION "public.proxima_matricula(integer)"
  90. pg_restore: creating FUNCTION "public.remessa_boleto_arquivo(integer)"
  91. pg_restore: [archiver (db)] Error from TOC entry 1228; 1255 47395461 FUNCTION remessa_boleto_arquivo(integer) postgres
  92. pg_restore: [archiver (db)] could not execute query: ERROR:  invalid byte sequence for encoding "UTF8": 0xe7 0xe3 0x6f
  93.     Command was: CREATE FUNCTION public.remessa_boleto_arquivo(vseq_remessa integer) RETURNS text
  94.     LANGUAGE plpgsql
  95.     AS $_$
  96. declare
  97.   R text;
  98.   rRemessa record;
  99.   rI record;
  100.   i integer;
  101. begin
  102.   i:=0;
  103.   select * into rRemessa from remessa where seq_remessa=vseq_remessa;
  104. -- HEADER
  105.   R:='01REMESSA01COBRANCA       00000000000004251900ESPORTE CLUBE NOVO HAMBURGO   237BRADESCO       ';
  106.   R:=R||to_char(now(),'DDMMYY')||'        MX'||trim(to_char(rRemessa.sequencia,'0000000'));
  107.   R:=R||'                                                                                                                                                                                                                                                                                     000001';
  108.   R:=R||chr(10);
  109.  
  110.  
  111. -- DADOS
  112. /*
  113. alter table remessa_item add seq_movimento_cobranca integer;
  114.  
  115. ALTER TABLE pessoa
  116.   ADD COLUMN cnpj character varying(50);
  117. ALTER TABLE pessoa
  118.   ADD COLUMN juridica boolean DEFAULT false;
  119.  
  120.  
  121. */
  122.  
  123. for rI in select ria.*, p.*
  124.              from remessa_item as ria
  125.              join movimento_cobranca as mc on ria.seq_movimento_cobranca=mc.seq_movimento_cobranca
  126.              join pessoa as p on mc.seq_pessoa=p.seq_pessoa
  127.             where ria.seq_remessa=vseq_remessa
  128.               and  mc.data_pagamento is null
  129.                 --ri.data_vencimento <= rRemessa.data_vencimento
  130.             loop
  131.     i:=i+1;
  132.     --  R:=R||'1 00000 0 00000 0000000 0 00090315201236660';
  133.     --  
  134.     R:=R||'1';-- 001 a 001 Identifica��o do Registro 001
  135.     R:=R||'00000';-- 002 a 006 Ag�ncia de D�bito 005
  136.     R:=R||'0';-- 007 a 007 D�gito da Ag�ncia de D�bito 001
  137.     R:=R||'00000';-- 008 a 012 Raz�o da Conta Corrente 005
  138.     R:=R||'0000000';-- 013 a 019 Conta Corrente 007
  139.     R:=R||'0';-- 020 a 020 D�gito da Conta Corrente 001
  140.     R:=R||'00090315201236660';-- 021 a 037 Identifica��o da Empresa Cedente no Banco 017
  141.     R:=R||trim(to_char(rI.seq_movimento_cobranca,'0000000000000000000000000'));-- 038 a 062 N� Controle do Participante 025
  142.     R:=R||'00';-- 063 a 065 C�digo do Banco a ser debitado na C�mara de Compensa��o 003
  143.     R:=R||'0';-- 066 a 066 Campo de Multa 001
  144.     R:=R||'0000';-- 067 a 070 Percentual de multa 004
  145.     R:=R||'00000000000';-- 071 a 081 Identifica��o do T�tulo no Banco 11
  146.     R:=R||'0';-- 082 a 082 Digito de Auto Conferencia do Nosso N�mero 001
  147.     R:=R||'0000000000';-- 083 a 092 Desconto Bonifica��o por dia 010
  148.     R:=R||'1';-- 093 a 093 Condi��o para Emiss�o da Papeleta de Cobran�a 001
  149.     R:=R||'N';-- 094 a 094 Ident. se emite papeleta para D�bito Autom�tico 001
  150.     R:=R||'          ';-- 095 a 104 Identifica��o da Opera��o do Banco 010
  151.     R:=R||' ';-- 105 a 105 Indicador Rateio Cr�dito 001
  152.     R:=R||'2';-- 106 a 106 Endere�amento para Aviso do D�bito Autom�tico em Conta Corrente 001
  153.     R:=R||'  ';-- 107 a 108 Branco 002
  154.     R:=R||'01';-- 109 a 110 Identifica��o ocorr�ncia 002
  155.     R:=R||trim(to_char(rI.seq_remessa_item,'0000000000'));-- 111 a 120 N� do Documento 010
  156.     R:=R||to_char(rI.data_vencimento,'DDMMYY') ;-- 121 a 126 Data do Vencimento do T�tulo 006
  157.     R:=R||replace(trim(to_char(rI.valor_vencimento,'00000000000.00')),'.','');-- 127 a 139 Valor do T�tulo 013
  158.     R:=R||'000';-- 140 a 142 Banco Encarregado da Cobran�a 003
  159.     R:=R||'00000';-- 143 a 147 Ag�ncia Deposit�ria 005
  160.     R:=R||'01';-- 148 a 149 Esp�cie de T�tulo 002
  161.     R:=R||'N';-- 150 a 150 Identifica��o 001
  162.     R:=R||to_char(now(),'DDMMYY');-- 151 a 156 Data da emiss�o do T�tulo 006
  163.     R:=R||'00';-- 157 a 158 1� instru��o 002
  164.     R:=R||'00';-- 159 a 160 2� instru��o 002
  165.     R:=R||'0000000000000';-- 161 a 173 Valor a ser cobrado por Dia de Atraso 013
  166.     R:=R||'000000';-- 174 a 179 Data Limite P/Concess�o de Desconto 006
  167.     R:=R||'0000000000000';-- 180 a 192 Valor do Desconto 013
  168.     R:=R||'0000000000000';-- 193 a 205 Valor do IOF 013
  169.     R:=R||'             ';-- 206 a 218 Valor do Abatimento a ser concedido ou cancelado 013
  170.      
  171.     if  rI.juridica then
  172.        R:=R||'02';-- 219 a 220 Identifica��o do Tipo de Inscri��o do Sacado 002
  173.        R:=R||lpad(rI.cnpj,14,'0');-- 221 a 234 N� Inscri��o do Sacado 014
  174.     else  
  175.        R:=R||'01';-- 219 a 220 Identifica��o do Tipo de Inscri��o do Sacado 002
  176.        R:=R||lpad(rI.cpf,14,'0');-- 221 a 234 N� Inscri��o do Sacado 014
  177.     end if;
  178.     R:=R||rpad(rI.nome,40,' ');-- 235 a 274 Nome do Sacado 040
  179.     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
  180.     R:=R||'            ';-- 315 a 326 1� Mensagem 012
  181.     R:=R||lpad(rI.cep,5,'0');-- 327 a 331 CEP 005
  182.     R:=R||lpad(substr(rI.cep,6,3),3,'0');-- 332 a 334 Sufixo do CEP 003
  183.     R:=R||rpad('',60,' ');-- 335 a 394 Sacador/Avalista ou 2� Mensagem 060
  184.     R:=R||lpad(i::text,6,'0');-- 395 a 400 N� Seq�encial do Registro 006
  185.     R:=R||chr(10);
  186.  
  187. ---- SEGUNDA LINHA INFORMACOES
  188.  
  189.    i:=i+1;
  190.    R:=R||'2';-- 001 a 001 Tipo Registro 001
  191.    R:=R||rpad('Despesas: R$ '||replace(trim(to_char(35.50,'90.00')),'.',','),80,' ');-- 002 a 081 Mensagem 1 080
  192.    R:=R||rpad('APOS VENC. PGTO SOMENTE NA SECRETARIA DO CLUBE',80,' ');-- 082 a 161 Mensagem 2 080
  193.    R:=R||rpad('',80,' ');-- 162 a 241 Mensagem 3 080
  194.    R:=R||rpad('',80,' ');-- 242 a 321 Mensagem 4 080
  195.    R:=R||rpad('',45,' ');-- 322 a 366 Reserva 045 filler
  196.    R:=R||'009';-- 367 a 369 Carteira 003
  197.    R:=R||'03152';-- 370 a 374 Ag�ncia 005
  198.    R:=R||'0123666';-- 375 a 381 Conta Corrente 007
  199.    R:=R||'0';-- 382 a 382 D�gito C/C 001
  200.    R:=R||'00000000000';-- 383 a 393 Nosso N�mero 011
  201.    R:=R||'0';-- 394 a 394 DAC Nosso N�mero 001
  202.    R:=R||lpad(i::text,6,'0');-- 395 a 400 N� Seq�encial de Registro 006
  203.  
  204.  
  205.   end loop;
  206. return R;
  207. end;$_$;
  208.  
  209.  
  210.  
  211. pg_restore: [archiver (db)] could not execute query: ERROR:  function public.remessa_boleto_arquivo(integer) does not exist
  212.     Command was: ALTER FUNCTION public.remessa_boleto_arquivo(vseq_remessa integer) OWNER TO postgres;
  213.  
  214.  
  215. pg_restore: creating FUNCTION "public.remessa_criacao(integer)"
  216. pg_restore: creating AGGREGATE "public.concatenex(text)"
  217. pg_restore: creating TABLE "public.acesso"
  218. pg_restore: creating TABLE "public.acesso_historico"
  219. pg_restore: creating SEQUENCE "public.acesso_historico_seq_acesso_historico_seq"
  220. pg_restore: creating SEQUENCE OWNED BY "public.acesso_historico_seq_acesso_historico_seq"
  221. pg_restore: creating SEQUENCE "public.acesso_seq_acesso_seq"
  222. pg_restore: creating SEQUENCE OWNED BY "public.acesso_seq_acesso_seq"
  223. pg_restore: creating TABLE "public.assento"
  224. pg_restore: creating SEQUENCE "public.assento_seq_assento_seq"
  225. pg_restore: creating SEQUENCE OWNED BY "public.assento_seq_assento_seq"
  226. pg_restore: creating TABLE "public.baixa"
  227. pg_restore: creating SEQUENCE "public.baixa_seq_baixa_seq"
  228. pg_restore: creating SEQUENCE OWNED BY "public.baixa_seq_baixa_seq"
  229. pg_restore: creating TABLE "public.bilheteria"
  230. pg_restore: creating SEQUENCE "public.bilheteria_seq_bilheteria_seq"
  231. pg_restore: creating SEQUENCE OWNED BY "public.bilheteria_seq_bilheteria_seq"
  232. pg_restore: creating TABLE "public.boleto_macro"
  233. pg_restore: creating SEQUENCE "public.boleto_macro_seq_boleto_macro_seq"
  234. pg_restore: creating SEQUENCE OWNED BY "public.boleto_macro_seq_boleto_macro_seq"
  235. pg_restore: creating TABLE "public.cadeira"
  236. pg_restore: creating SEQUENCE "public.cadeira_seq_cadeira_seq_1"
  237. pg_restore: creating SEQUENCE OWNED BY "public.cadeira_seq_cadeira_seq_1"
  238. pg_restore: creating TABLE "public.camarote"
  239. pg_restore: creating SEQUENCE "public.camarote_seq_camarote_seq_1"
  240. pg_restore: creating SEQUENCE OWNED BY "public.camarote_seq_camarote_seq_1"
  241. pg_restore: creating SEQUENCE "public.seq_cartao2"
  242. pg_restore: creating TABLE "public.cartao"
  243. pg_restore: creating TABLE "public.catraca"
  244. pg_restore: creating SEQUENCE "public.catraca_seq_catraca_seq"
  245. pg_restore: creating SEQUENCE OWNED BY "public.catraca_seq_catraca_seq"
  246. pg_restore: creating TABLE "public.ci_sessions"
  247. pg_restore: creating TABLE "public.clube"
  248. pg_restore: creating SEQUENCE "public.clube_seq_clube_seq"
  249. pg_restore: creating SEQUENCE OWNED BY "public.clube_seq_clube_seq"
  250. pg_restore: creating TABLE "public.cobranca"
  251. pg_restore: creating TABLE "public.cobranca_retorno"
  252. pg_restore: creating SEQUENCE "public.cobranca_retorno_seq_cobranca_retorno_seq_1"
  253. pg_restore: creating SEQUENCE OWNED BY "public.cobranca_retorno_seq_cobranca_retorno_seq_1"
  254. pg_restore: creating SEQUENCE "public.cobranca_seq_cobranca_seq"
  255. pg_restore: creating SEQUENCE OWNED BY "public.cobranca_seq_cobranca_seq"
  256. pg_restore: creating TABLE "public.cobranca_titulo"
  257. pg_restore: creating TABLE "public.cobranca_titulo_item"
  258. pg_restore: creating SEQUENCE "public.cobranca_titulo_item_seq_cobranca_titulo_item_seq_1"
  259. pg_restore: creating SEQUENCE OWNED BY "public.cobranca_titulo_item_seq_cobranca_titulo_item_seq_1"
  260. pg_restore: creating SEQUENCE "public.cobranca_titulo_seq_cobranca_titulo_seq"
  261. pg_restore: creating SEQUENCE OWNED BY "public.cobranca_titulo_seq_cobranca_titulo_seq"
  262. pg_restore: creating TABLE "public.competencia"
  263. pg_restore: creating TABLE "public.competicao"
  264. pg_restore: creating TABLE "public.competicao_edicao"
  265. pg_restore: creating SEQUENCE "public.competicao_edicao_seq_competicao_edicao_seq"
  266. pg_restore: creating SEQUENCE OWNED BY "public.competicao_edicao_seq_competicao_edicao_seq"
  267. pg_restore: creating SEQUENCE "public.competicao_seq_competicao_seq"
  268. pg_restore: creating SEQUENCE OWNED BY "public.competicao_seq_competicao_seq"
  269. pg_restore: creating TABLE "public.conta"
  270. pg_restore: creating TABLE "public.dbf_cartoes_ecnh"
  271. pg_restore: creating TABLE "public.dbf_pessoas_ecnh"
  272. pg_restore: creating TABLE "public.dne"
  273. pg_restore: creating SEQUENCE "public.dne_seq_dne_seq"
  274. pg_restore: creating SEQUENCE OWNED BY "public.dne_seq_dne_seq"
  275. pg_restore: creating TABLE "public.escolaridade"
  276. pg_restore: creating SEQUENCE "public.escolaridade_seq_escolaridade_seq"
  277. pg_restore: creating SEQUENCE OWNED BY "public.escolaridade_seq_escolaridade_seq"
  278. pg_restore: creating TABLE "public.estado"
  279. pg_restore: creating SEQUENCE "public.estado_seq_estado_seq"
  280. pg_restore: creating SEQUENCE OWNED BY "public.estado_seq_estado_seq"
  281. pg_restore: creating TABLE "public.evento"
  282. pg_restore: creating TABLE "public.evento_local"
  283. pg_restore: creating SEQUENCE "public.evento_local_seq_evento_local_seq"
  284. pg_restore: creating SEQUENCE OWNED BY "public.evento_local_seq_evento_local_seq"
  285. pg_restore: creating TABLE "public.evento_objetivo"
  286. pg_restore: creating SEQUENCE "public.evento_objetivo_seq_evento_objetivo_seq"
  287. pg_restore: creating SEQUENCE OWNED BY "public.evento_objetivo_seq_evento_objetivo_seq"
  288. pg_restore: creating TABLE "public.evento_produto"
  289. pg_restore: creating SEQUENCE "public.evento_produto_seq_evento_produto_seq"
  290. pg_restore: creating SEQUENCE OWNED BY "public.evento_produto_seq_evento_produto_seq"
  291. pg_restore: creating SEQUENCE "public.evento_seq_evento_seq"
  292. pg_restore: creating SEQUENCE OWNED BY "public.evento_seq_evento_seq"
  293. pg_restore: creating TABLE "public.faixa_salarial"
  294. pg_restore: creating SEQUENCE "public.faixa_salarial_seq_faixa_salarial_seq"
  295. pg_restore: creating SEQUENCE OWNED BY "public.faixa_salarial_seq_faixa_salarial_seq"
  296. pg_restore: creating TABLE "public.forma_pagamento"
  297. pg_restore: creating SEQUENCE "public.forma_pagamento_seq_forma_pagamento_seq"
  298. pg_restore: creating SEQUENCE OWNED BY "public.forma_pagamento_seq_forma_pagamento_seq"
  299. pg_restore: creating TABLE "public.ingresso"
  300. pg_restore: creating TABLE "public.ingresso_numero"
  301. pg_restore: creating SEQUENCE "public.ingresso_seq_ingresso_seq"
  302. pg_restore: creating SEQUENCE OWNED BY "public.ingresso_seq_ingresso_seq"
  303. pg_restore: creating TABLE "public.instituicao_financeira"
  304. pg_restore: creating SEQUENCE "public.seq_seq_liberacao"
  305. pg_restore: creating TABLE "public.liberacao"
  306. pg_restore: creating SEQUENCE "public.seq_liberacao_historico"
  307. pg_restore: creating TABLE "public.liberacao_historico"
  308. pg_restore: creating TABLE "public.matricula"
  309. pg_restore: creating TABLE "public.movimento_cobranca"
  310. pg_restore: creating SEQUENCE "public.matricula_cobranca_seq_matricula_cobranca_seq"
  311. pg_restore: creating SEQUENCE OWNED BY "public.matricula_cobranca_seq_matricula_cobranca_seq"
  312. pg_restore: creating SEQUENCE "public.matricula_matricula_seq"
  313. pg_restore: creating SEQUENCE OWNED BY "public.matricula_matricula_seq"
  314. pg_restore: creating TABLE "public.meio_pagamento"
  315. pg_restore: creating SEQUENCE "public.meio_pagamento_seq_meio_pagamento_seq"
  316. pg_restore: creating SEQUENCE OWNED BY "public.meio_pagamento_seq_meio_pagamento_seq"
  317. pg_restore: creating TABLE "public.menu"
  318. pg_restore: creating SEQUENCE "public.menu_seq_menu_seq"
  319. pg_restore: creating SEQUENCE OWNED BY "public.menu_seq_menu_seq"
  320. pg_restore: creating TABLE "public.movimento"
  321. pg_restore: creating TABLE "public.movimento_item"
  322. pg_restore: creating SEQUENCE "public.movimento_item_seq_movimento_item_seq"
  323. pg_restore: creating SEQUENCE OWNED BY "public.movimento_item_seq_movimento_item_seq"
  324. pg_restore: creating TABLE "public.movimento_pagamento"
  325. pg_restore: creating SEQUENCE "public.movimento_pagamento_seq_movimento_pagamento_seq"
  326. pg_restore: creating SEQUENCE OWNED BY "public.movimento_pagamento_seq_movimento_pagamento_seq"
  327. pg_restore: creating SEQUENCE "public.movimento_seq_movimento_seq"
  328. pg_restore: creating SEQUENCE OWNED BY "public.movimento_seq_movimento_seq"
  329. pg_restore: creating TABLE "public.objeto"
  330. pg_restore: creating SEQUENCE "public.objeto_seq_objeto_seq"
  331. pg_restore: creating SEQUENCE OWNED BY "public.objeto_seq_objeto_seq"
  332. pg_restore: creating TABLE "public.obs_matricula"
  333. pg_restore: creating SEQUENCE "public.obs_matricula_matricula_seq"
  334. pg_restore: creating SEQUENCE OWNED BY "public.obs_matricula_matricula_seq"
  335. pg_restore: creating SEQUENCE "public.obs_matricula_seq_obs_matricula_seq"
  336. pg_restore: creating SEQUENCE OWNED BY "public.obs_matricula_seq_obs_matricula_seq"
  337. pg_restore: creating TABLE "public.pais"
  338. pg_restore: creating SEQUENCE "public.pais_seq_pais_seq"
  339. pg_restore: creating SEQUENCE OWNED BY "public.pais_seq_pais_seq"
  340. pg_restore: creating TABLE "public.perfil"
  341. pg_restore: creating TABLE "public.perfil_objeto"
  342. pg_restore: creating SEQUENCE "public.perfil_objeto_seq_perfil_objeto_seq"
  343. pg_restore: creating SEQUENCE OWNED BY "public.perfil_objeto_seq_perfil_objeto_seq"
  344. pg_restore: creating SEQUENCE "public.perfil_seq_perfil_seq"
  345. pg_restore: creating SEQUENCE OWNED BY "public.perfil_seq_perfil_seq"
  346. pg_restore: creating TABLE "public.pessoa"
  347. pg_restore: creating TABLE "public.pessoa_dados_pagamento"
  348. pg_restore: creating SEQUENCE "public.pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq"
  349. pg_restore: creating SEQUENCE OWNED BY "public.pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq"
  350. pg_restore: creating SEQUENCE "public.pessoa_seq_pessoa_seq"
  351. pg_restore: creating SEQUENCE OWNED BY "public.pessoa_seq_pessoa_seq"
  352. pg_restore: creating TABLE "public.pessoa_vinculo"
  353. pg_restore: creating SEQUENCE "public.pessoa_vinculo_seq_pessoa_vinculo_seq"
  354. pg_restore: creating SEQUENCE OWNED BY "public.pessoa_vinculo_seq_pessoa_vinculo_seq"
  355. pg_restore: creating TABLE "public.plano_pgto"
  356. pg_restore: [archiver (db)] Error from TOC entry 1137; 1259 47400723 TABLE plano_pgto acbf
  357. pg_restore: [archiver (db)] could not execute query: ERROR:  role "acbf" does not exist
  358.     Command was: ALTER TABLE public.plano_pgto OWNER TO acbf;
  359.  
  360.  
  361. pg_restore: creating SEQUENCE "public.plano_pgto_seq_plano_pgto_seq"
  362. pg_restore: [archiver (db)] Error from TOC entry 1138; 1259 47400727 SEQUENCE plano_pgto_seq_plano_pgto_seq acbf
  363. pg_restore: [archiver (db)] could not execute query: ERROR:  role "acbf" does not exist
  364.     Command was: ALTER TABLE public.plano_pgto_seq_plano_pgto_seq OWNER TO acbf;
  365.  
  366.  
  367. pg_restore: creating SEQUENCE OWNED BY "public.plano_pgto_seq_plano_pgto_seq"
  368. pg_restore: creating TABLE "public.portao"
  369. pg_restore: creating SEQUENCE "public.portao_seq_portao_seq_1"
  370. pg_restore: creating SEQUENCE OWNED BY "public.portao_seq_portao_seq_1"
  371. pg_restore: creating TABLE "public.produto"
  372. pg_restore: creating TABLE "public.produto_catraca"
  373. pg_restore: creating SEQUENCE "public.produto_catraca_seq_produto_catraca_seq"
  374. pg_restore: creating SEQUENCE OWNED BY "public.produto_catraca_seq_produto_catraca_seq"
  375. pg_restore: creating TABLE "public.produto_classe"
  376. pg_restore: creating SEQUENCE "public.produto_classe_seq_produto_classe_seq"
  377. pg_restore: creating SEQUENCE OWNED BY "public.produto_classe_seq_produto_classe_seq"
  378. pg_restore: creating TABLE "public.produto_configuracao"
  379. pg_restore: creating SEQUENCE "public.produto_configuracao_seq_produto_configuracao_seq"
  380. pg_restore: creating SEQUENCE OWNED BY "public.produto_configuracao_seq_produto_configuracao_seq"
  381. pg_restore: creating TABLE "public.produto_contrato"
  382. pg_restore: creating SEQUENCE "public.produto_contrato_seq_produto_contrato_seq_1"
  383. pg_restore: creating SEQUENCE OWNED BY "public.produto_contrato_seq_produto_contrato_seq_1"
  384. pg_restore: creating TABLE "public.produto_escolinha_turma"
  385. pg_restore: creating SEQUENCE "public.produto_escolinha_turma_seq_produto_escolinha_turma_seq"
  386. pg_restore: creating SEQUENCE OWNED BY "public.produto_escolinha_turma_seq_produto_escolinha_turma_seq"
  387. pg_restore: creating TABLE "public.produto_plano_pgto"
  388. pg_restore: [archiver (db)] Error from TOC entry 1150; 1259 47400770 TABLE produto_plano_pgto acbf
  389. pg_restore: [archiver (db)] could not execute query: ERROR:  role "acbf" does not exist
  390.     Command was: ALTER TABLE public.produto_plano_pgto OWNER TO acbf;
  391.  
  392.  
  393. pg_restore: creating SEQUENCE "public.produto_plano_pgto_seq_produto_plano_pgto_seq"
  394. pg_restore: [archiver (db)] Error from TOC entry 1151; 1259 47400774 SEQUENCE produto_plano_pgto_seq_produto_plano_pgto_seq acbf
  395. pg_restore: [archiver (db)] could not execute query: ERROR:  role "acbf" does not exist
  396.     Command was: ALTER TABLE public.produto_plano_pgto_seq_produto_plano_pgto_seq OWNER TO acbf;
  397.  
  398.  
  399. pg_restore: creating SEQUENCE OWNED BY "public.produto_plano_pgto_seq_produto_plano_pgto_seq"
  400. pg_restore: creating SEQUENCE "public.produto_seq_produto_seq"
  401. pg_restore: creating SEQUENCE OWNED BY "public.produto_seq_produto_seq"
  402. pg_restore: creating TABLE "public.produto_taxa"
  403. pg_restore: creating SEQUENCE "public.produto_taxa_seq_produto_taxa_seq"
  404. pg_restore: creating SEQUENCE OWNED BY "public.produto_taxa_seq_produto_taxa_seq"
  405. pg_restore: creating TABLE "public.profissao"
  406. pg_restore: creating SEQUENCE "public.profissao_seq_profissao_seq_1"
  407. pg_restore: creating SEQUENCE OWNED BY "public.profissao_seq_profissao_seq_1"
  408. pg_restore: creating TABLE "public.remessa"
  409. pg_restore: creating TABLE "public.remessa_item"
  410. pg_restore: creating SEQUENCE "public.remessa_item_seq_remessa_item_seq"
  411. pg_restore: creating SEQUENCE OWNED BY "public.remessa_item_seq_remessa_item_seq"
  412. pg_restore: creating SEQUENCE "public.remessa_seq_remessa_seq"
  413. pg_restore: creating SEQUENCE OWNED BY "public.remessa_seq_remessa_seq"
  414. pg_restore: creating TABLE "public.renda_familiar"
  415. pg_restore: creating SEQUENCE "public.renda_familiar_seq_renda_familiar_seq"
  416. pg_restore: creating SEQUENCE OWNED BY "public.renda_familiar_seq_renda_familiar_seq"
  417. pg_restore: creating TABLE "public.sangria"
  418. pg_restore: creating SEQUENCE "public.sangria_seq_sangria_seq"
  419. pg_restore: creating SEQUENCE OWNED BY "public.sangria_seq_sangria_seq"
  420. pg_restore: creating SEQUENCE "public.seq_competencia"
  421. pg_restore: creating SEQUENCE "public.seq_conta"
  422. pg_restore: creating SEQUENCE "public.seq_ingresso_numero"
  423. pg_restore: creating SEQUENCE "public.seq_instituicao_financeira"
  424. pg_restore: creating SEQUENCE OWNED BY "public.seq_instituicao_financeira"
  425. pg_restore: creating SEQUENCE "public.seq_nosso_numero"
  426. pg_restore: creating SEQUENCE "public.seq_voucher"
  427. pg_restore: creating TABLE "public.sessao"
  428. pg_restore: creating TABLE "public.sessao_evento_produto"
  429. pg_restore: creating SEQUENCE "public.sessao_evento_produto_seq_sessao_evento_produto_seq"
  430. pg_restore: creating SEQUENCE OWNED BY "public.sessao_evento_produto_seq_sessao_evento_produto_seq"
  431. pg_restore: creating SEQUENCE "public.sessao_seq_sessao_seq"
  432. pg_restore: creating SEQUENCE OWNED BY "public.sessao_seq_sessao_seq"
  433. pg_restore: creating TABLE "public.setor"
  434. pg_restore: creating SEQUENCE "public.setor_seq_setor_seq_1"
  435. pg_restore: creating SEQUENCE OWNED BY "public.setor_seq_setor_seq_1"
  436. pg_restore: creating TABLE "public.socio_tmp"
  437. pg_restore: creating TABLE "public.taxa"
  438. pg_restore: creating COMMENT "public.TABLE taxa"
  439. pg_restore: creating SEQUENCE "public.taxa_seq_taxa_seq"
  440. pg_restore: creating SEQUENCE OWNED BY "public.taxa_seq_taxa_seq"
  441. pg_restore: creating TABLE "public.tmp_importacao_socio"
  442. pg_restore: creating TABLE "public.tmp_socio"
  443. pg_restore: creating TABLE "public.troco"
  444. pg_restore: creating SEQUENCE "public.troco_seq_troco_seq"
  445. pg_restore: creating SEQUENCE OWNED BY "public.troco_seq_troco_seq"
  446. pg_restore: creating TABLE "public.usuario"
  447. pg_restore: creating SEQUENCE "public.usuario_seq_usuario_seq"
  448. pg_restore: creating SEQUENCE OWNED BY "public.usuario_seq_usuario_seq"
  449. pg_restore: creating TABLE "public.usuario_tipo"
  450. pg_restore: creating SEQUENCE "public.usuario_tipo_seq_usuario_tipo_seq"
  451. pg_restore: creating SEQUENCE OWNED BY "public.usuario_tipo_seq_usuario_tipo_seq"
  452. pg_restore: creating TABLE "public.vinculo"
  453. pg_restore: creating SEQUENCE "public.vinculo_seq_vinculo_seq"
  454. pg_restore: creating SEQUENCE OWNED BY "public.vinculo_seq_vinculo_seq"
  455. pg_restore: creating TABLE "public.voucher"
  456. pg_restore: creating DEFAULT "public.acesso seq_acesso"
  457. pg_restore: creating DEFAULT "public.acesso_historico seq_acesso_historico"
  458. pg_restore: creating DEFAULT "public.assento seq_assento"
  459. pg_restore: creating DEFAULT "public.baixa seq_baixa"
  460. pg_restore: creating DEFAULT "public.bilheteria seq_bilheteria"
  461. pg_restore: creating DEFAULT "public.boleto_macro seq_boleto_macro"
  462. pg_restore: creating DEFAULT "public.cadeira seq_cadeira"
  463. pg_restore: creating DEFAULT "public.camarote seq_camarote"
  464. pg_restore: creating DEFAULT "public.catraca seq_catraca"
  465. pg_restore: creating DEFAULT "public.clube seq_clube"
  466. pg_restore: creating DEFAULT "public.cobranca seq_cobranca"
  467. pg_restore: creating DEFAULT "public.cobranca_retorno seq_cobranca_retorno"
  468. pg_restore: creating DEFAULT "public.cobranca_titulo seq_cobranca_titulo"
  469. pg_restore: creating DEFAULT "public.cobranca_titulo_item seq_cobranca_titulo_item"
  470. pg_restore: creating DEFAULT "public.competicao seq_competicao"
  471. pg_restore: creating DEFAULT "public.competicao_edicao seq_competicao_edicao"
  472. pg_restore: creating DEFAULT "public.dne seq_dne"
  473. pg_restore: creating DEFAULT "public.escolaridade seq_escolaridade"
  474. pg_restore: creating DEFAULT "public.estado seq_estado"
  475. pg_restore: creating DEFAULT "public.evento seq_evento"
  476. pg_restore: creating DEFAULT "public.evento_local seq_evento_local"
  477. pg_restore: creating DEFAULT "public.evento_objetivo seq_evento_objetivo"
  478. pg_restore: creating DEFAULT "public.evento_produto seq_evento_produto"
  479. pg_restore: creating DEFAULT "public.faixa_salarial seq_faixa_salarial"
  480. pg_restore: creating DEFAULT "public.forma_pagamento seq_forma_pagamento"
  481. pg_restore: creating DEFAULT "public.ingresso seq_ingresso"
  482. pg_restore: creating DEFAULT "public.instituicao_financeira seq_instituicao_financeira"
  483. pg_restore: creating DEFAULT "public.meio_pagamento seq_meio_pagamento"
  484. pg_restore: creating DEFAULT "public.menu seq_menu"
  485. pg_restore: creating DEFAULT "public.movimento seq_movimento"
  486. pg_restore: creating DEFAULT "public.movimento_cobranca seq_movimento_cobranca"
  487. pg_restore: creating DEFAULT "public.movimento_item seq_movimento_item"
  488. pg_restore: creating DEFAULT "public.movimento_pagamento seq_movimento_pagamento"
  489. pg_restore: creating DEFAULT "public.obs_matricula seq_obs_matricula"
  490. pg_restore: creating DEFAULT "public.obs_matricula matricula"
  491. pg_restore: creating DEFAULT "public.pais seq_pais"
  492. pg_restore: creating DEFAULT "public.perfil seq_perfil"
  493. pg_restore: creating DEFAULT "public.perfil_objeto seq_perfil_objeto"
  494. pg_restore: creating DEFAULT "public.pessoa seq_pessoa"
  495. pg_restore: creating DEFAULT "public.pessoa_dados_pagamento seq_pessoa_dados_pagamento"
  496. pg_restore: creating DEFAULT "public.pessoa_vinculo seq_pessoa_vinculo"
  497. pg_restore: creating DEFAULT "public.plano_pgto seq_plano_pgto"
  498. pg_restore: creating DEFAULT "public.portao seq_portao"
  499. pg_restore: creating DEFAULT "public.produto seq_produto"
  500. pg_restore: creating DEFAULT "public.produto_catraca seq_produto_catraca"
  501. pg_restore: creating DEFAULT "public.produto_classe seq_produto_classe"
  502. pg_restore: creating DEFAULT "public.produto_configuracao seq_produto_configuracao"
  503. pg_restore: creating DEFAULT "public.produto_contrato seq_produto_contrato"
  504. pg_restore: creating DEFAULT "public.produto_escolinha_turma seq_produto_escolinha_turma"
  505. pg_restore: creating DEFAULT "public.produto_plano_pgto seq_produto_plano_pgto"
  506. pg_restore: creating DEFAULT "public.produto_taxa seq_produto_taxa"
  507. pg_restore: creating DEFAULT "public.profissao seq_profissao"
  508. pg_restore: creating DEFAULT "public.remessa seq_remessa"
  509. pg_restore: creating DEFAULT "public.remessa_item seq_remessa_item"
  510. pg_restore: creating DEFAULT "public.renda_familiar seq_renda_familiar"
  511. pg_restore: creating DEFAULT "public.sangria seq_sangria"
  512. pg_restore: creating DEFAULT "public.sessao seq_sessao"
  513. pg_restore: creating DEFAULT "public.sessao_evento_produto seq_sessao_evento_produto"
  514. pg_restore: creating DEFAULT "public.setor seq_setor"
  515. pg_restore: creating DEFAULT "public.taxa seq_taxa"
  516. pg_restore: creating DEFAULT "public.troco seq_troco"
  517. pg_restore: creating DEFAULT "public.usuario seq_usuario"
  518. pg_restore: creating DEFAULT "public.usuario_tipo seq_usuario_tipo"
  519. pg_restore: creating DEFAULT "public.vinculo seq_vinculo"
  520. pg_restore: processing data for table "public.acesso"
  521. pg_restore: processing data for table "public.acesso_historico"
  522. pg_restore: [archiver (db)] Error from TOC entry 6603; 0 47400350 TABLE DATA acesso_historico postgres
  523. pg_restore: [archiver (db)] COPY failed for table "acesso_historico": ERROR:  invalid byte sequence for encoding "UTF8": 0xe7 0xe3 0x09
  524. CONTEXT:  COPY acesso_historico, line 1848
  525. pg_restore: processing data for table "public.assento"
  526. pg_restore: processing data for table "public.baixa"
  527. pg_restore: processing data for table "public.bilheteria"
  528. pg_restore: processing data for table "public.boleto_macro"
  529. pg_restore: processing data for table "public.cadeira"
  530. pg_restore: [archiver (db)] Error from TOC entry 6614; 0 47400390 TABLE DATA cadeira postgres
  531. pg_restore: [archiver (db)] COPY failed for table "cadeira": ERROR:  invalid byte sequence for encoding "UTF8": 0xed 0x76 0x65
  532. CONTEXT:  COPY cadeira, line 1
  533. pg_restore: processing data for table "public.camarote"
  534. pg_restore: processing data for table "public.cartao"
  535. pg_restore: processing data for table "public.catraca"
  536. pg_restore: processing data for table "public.ci_sessions"
  537. pg_restore: processing data for table "public.clube"
  538. pg_restore: [archiver (db)] Error from TOC entry 6623; 0 47400427 TABLE DATA clube postgres
  539. pg_restore: [archiver (db)] COPY failed for table "clube": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
  540. CONTEXT:  COPY clube, line 7
  541. pg_restore: processing data for table "public.cobranca"
  542. pg_restore: processing data for table "public.cobranca_retorno"
  543. pg_restore: processing data for table "public.cobranca_titulo"
  544. pg_restore: processing data for table "public.cobranca_titulo_item"
  545. pg_restore: processing data for table "public.competencia"
  546. pg_restore: processing data for table "public.competicao"
  547. pg_restore: [archiver (db)] Error from TOC entry 6634; 0 47400472 TABLE DATA competicao postgres
  548. pg_restore: [archiver (db)] COPY failed for table "competicao": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x09
  549. CONTEXT:  COPY competicao, line 3
  550. pg_restore: processing data for table "public.competicao_edicao"
  551. pg_restore: processing data for table "public.conta"
  552. pg_restore: processing data for table "public.dbf_cartoes_ecnh"
  553. pg_restore: [archiver (db)] Error from TOC entry 6639; 0 47400500 TABLE DATA dbf_cartoes_ecnh postgres
  554. pg_restore: [archiver (db)] COPY failed for table "dbf_cartoes_ecnh": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0x4f
  555. CONTEXT:  COPY dbf_cartoes_ecnh, line 9
  556. pg_restore: processing data for table "public.dbf_pessoas_ecnh"
  557. pg_restore: [archiver (db)] Error from TOC entry 6640; 0 47400506 TABLE DATA dbf_pessoas_ecnh postgres
  558. pg_restore: [archiver (db)] COPY failed for table "dbf_pessoas_ecnh": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0x41
  559. CONTEXT:  COPY dbf_pessoas_ecnh, line 17
  560. pg_restore: processing data for table "public.dne"
  561. pg_restore: [archiver (db)] Error from TOC entry 6641; 0 47400512 TABLE DATA dne postgres
  562. pg_restore: [archiver (db)] COPY failed for table "dne": ERROR:  invalid byte sequence for encoding "UTF8": 0xaa
  563. CONTEXT:  COPY dne, line 12
  564. pg_restore: processing data for table "public.escolaridade"
  565. pg_restore: processing data for table "public.estado"
  566. pg_restore: processing data for table "public.evento"
  567. pg_restore: [archiver (db)] Error from TOC entry 6647; 0 47400527 TABLE DATA evento postgres
  568. pg_restore: [archiver (db)] COPY failed for table "evento": ERROR:  invalid byte sequence for encoding "UTF8": 0xe2 0x6d 0x69
  569. CONTEXT:  COPY evento, line 6
  570. pg_restore: processing data for table "public.evento_local"
  571. pg_restore: processing data for table "public.evento_objetivo"
  572. pg_restore: processing data for table "public.evento_produto"
  573. pg_restore: processing data for table "public.faixa_salarial"
  574. pg_restore: processing data for table "public.forma_pagamento"
  575. pg_restore: processing data for table "public.ingresso"
  576. pg_restore: processing data for table "public.ingresso_numero"
  577. pg_restore: processing data for table "public.instituicao_financeira"
  578. pg_restore: creating DEFAULT "public.obs_matricula seq_obs_matricula"
  579. pg_restore: creating DEFAULT "public.obs_matricula matricula"
  580. pg_restore: creating DEFAULT "public.pais seq_pais"
  581. pg_restore: creating DEFAULT "public.perfil seq_perfil"
  582. pg_restore: creating DEFAULT "public.perfil_objeto seq_perfil_objeto"
  583. pg_restore: creating DEFAULT "public.pessoa seq_pessoa"
  584. pg_restore: creating DEFAULT "public.pessoa_dados_pagamento seq_pessoa_dados_pagamento"
  585. pg_restore: creating DEFAULT "public.pessoa_vinculo seq_pessoa_vinculo"
  586. pg_restore: creating DEFAULT "public.plano_pgto seq_plano_pgto"
  587. pg_restore: creating DEFAULT "public.portao seq_portao"
  588. pg_restore: creating DEFAULT "public.produto seq_produto"
  589. pg_restore: creating DEFAULT "public.produto_catraca seq_produto_catraca"
  590. pg_restore: creating DEFAULT "public.produto_classe seq_produto_classe"
  591. pg_restore: creating DEFAULT "public.produto_configuracao seq_produto_configuracao"
  592. pg_restore: creating DEFAULT "public.produto_contrato seq_produto_contrato"
  593. pg_restore: creating DEFAULT "public.produto_escolinha_turma seq_produto_escolinha_turma"
  594. pg_restore: creating DEFAULT "public.produto_plano_pgto seq_produto_plano_pgto"
  595. pg_restore: creating DEFAULT "public.produto_taxa seq_produto_taxa"
  596. pg_restore: creating DEFAULT "public.profissao seq_profissao"
  597. pg_restore: creating DEFAULT "public.remessa seq_remessa"
  598. pg_restore: creating DEFAULT "public.remessa_item seq_remessa_item"
  599. pg_restore: creating DEFAULT "public.renda_familiar seq_renda_familiar"
  600. pg_restore: creating DEFAULT "public.sangria seq_sangria"
  601. pg_restore: creating DEFAULT "public.sessao seq_sessao"
  602. pg_restore: creating DEFAULT "public.sessao_evento_produto seq_sessao_evento_produto"
  603. pg_restore: creating DEFAULT "public.setor seq_setor"
  604. pg_restore: creating DEFAULT "public.taxa seq_taxa"
  605. pg_restore: creating DEFAULT "public.troco seq_troco"
  606. pg_restore: creating DEFAULT "public.usuario seq_usuario"
  607. pg_restore: creating DEFAULT "public.usuario_tipo seq_usuario_tipo"
  608. pg_restore: creating DEFAULT "public.vinculo seq_vinculo"
  609. pg_restore: processing data for table "public.acesso"
  610. pg_restore: processing data for table "public.acesso_historico"
  611. pg_restore: [archiver (db)] Error from TOC entry 6603; 0 47400350 TABLE DATA acesso_historico postgres
  612. pg_restore: [archiver (db)] COPY failed for table "acesso_historico": ERROR:  invalid byte sequence for encoding "UTF8": 0xe7 0xe3 0x09
  613. CONTEXT:  COPY acesso_historico, line 1848
  614. pg_restore: processing data for table "public.assento"
  615. pg_restore: processing data for table "public.baixa"
  616. pg_restore: processing data for table "public.bilheteria"
  617. pg_restore: processing data for table "public.boleto_macro"
  618. pg_restore: processing data for table "public.cadeira"
  619. pg_restore: [archiver (db)] Error from TOC entry 6614; 0 47400390 TABLE DATA cadeira postgres
  620. pg_restore: [archiver (db)] COPY failed for table "cadeira": ERROR:  invalid byte sequence for encoding "UTF8": 0xed 0x76 0x65
  621. CONTEXT:  COPY cadeira, line 1
  622. pg_restore: processing data for table "public.camarote"
  623. pg_restore: processing data for table "public.cartao"
  624. pg_restore: processing data for table "public.catraca"
  625. pg_restore: processing data for table "public.ci_sessions"
  626. pg_restore: processing data for table "public.clube"
  627. pg_restore: [archiver (db)] Error from TOC entry 6623; 0 47400427 TABLE DATA clube postgres
  628. pg_restore: [archiver (db)] COPY failed for table "clube": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
  629. CONTEXT:  COPY clube, line 7
  630. pg_restore: processing data for table "public.cobranca"
  631. pg_restore: processing data for table "public.cobranca_retorno"
  632. pg_restore: processing data for table "public.cobranca_titulo"
  633. pg_restore: processing data for table "public.cobranca_titulo_item"
  634. pg_restore: processing data for table "public.competencia"
  635. pg_restore: processing data for table "public.competicao"
  636. pg_restore: [archiver (db)] Error from TOC entry 6634; 0 47400472 TABLE DATA competicao postgres
  637. pg_restore: [archiver (db)] COPY failed for table "competicao": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x09
  638. CONTEXT:  COPY competicao, line 3
  639. pg_restore: processing data for table "public.competicao_edicao"
  640. pg_restore: processing data for table "public.conta"
  641. pg_restore: processing data for table "public.dbf_cartoes_ecnh"
  642. pg_restore: [archiver (db)] Error from TOC entry 6639; 0 47400500 TABLE DATA dbf_cartoes_ecnh postgres
  643. pg_restore: [archiver (db)] COPY failed for table "dbf_cartoes_ecnh": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0x4f
  644. CONTEXT:  COPY dbf_cartoes_ecnh, line 9
  645. pg_restore: processing data for table "public.dbf_pessoas_ecnh"
  646. pg_restore: [archiver (db)] Error from TOC entry 6640; 0 47400506 TABLE DATA dbf_pessoas_ecnh postgres
  647. pg_restore: [archiver (db)] COPY failed for table "dbf_pessoas_ecnh": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0x41
  648. CONTEXT:  COPY dbf_pessoas_ecnh, line 17
  649. pg_restore: processing data for table "public.dne"
  650. pg_restore: [archiver (db)] Error from TOC entry 6641; 0 47400512 TABLE DATA dne postgres
  651. pg_restore: [archiver (db)] COPY failed for table "dne": ERROR:  invalid byte sequence for encoding "UTF8": 0xaa
  652. CONTEXT:  COPY dne, line 12
  653. pg_restore: processing data for table "public.escolaridade"
  654. pg_restore: processing data for table "public.estado"
  655. pg_restore: processing data for table "public.evento"
  656. pg_restore: [archiver (db)] Error from TOC entry 6647; 0 47400527 TABLE DATA evento postgres
  657. pg_restore: [archiver (db)] COPY failed for table "evento": ERROR:  invalid byte sequence for encoding "UTF8": 0xe2 0x6d 0x69
  658. CONTEXT:  COPY evento, line 6
  659. pg_restore: processing data for table "public.evento_local"
  660. pg_restore: processing data for table "public.evento_objetivo"
  661. pg_restore: processing data for table "public.evento_produto"
  662. pg_restore: processing data for table "public.faixa_salarial"
  663. pg_restore: processing data for table "public.forma_pagamento"
  664. pg_restore: processing data for table "public.ingresso"
  665. pg_restore: processing data for table "public.ingresso_numero"
  666. pg_restore: processing data for table "public.instituicao_financeira"
  667. pg_restore: processing data for table "public.liberacao_historico"
  668. pg_restore: processing data for table "public.matricula"
  669. pg_restore: processing data for table "public.meio_pagamento"
  670. pg_restore: [archiver (db)] Error from TOC entry 6671; 0 47400622 TABLE DATA meio_pagamento postgres
  671. pg_restore: [archiver (db)] COPY failed for table "meio_pagamento": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
  672. CONTEXT:  COPY meio_pagamento, line 2
  673. pg_restore: processing data for table "public.menu"
  674. pg_restore: processing data for table "public.movimento"
  675. pg_restore: processing data for table "public.movimento_cobranca"
  676. pg_restore: processing data for table "public.movimento_item"
  677. pg_restore: processing data for table "public.movimento_pagamento"
  678. pg_restore: processing data for table "public.objeto"
  679. pg_restore: processing data for table "public.obs_matricula"
  680. pg_restore: processing data for table "public.pais"
  681. pg_restore: processing data for table "public.perfil"
  682. pg_restore: processing data for table "public.perfil_objeto"
  683. pg_restore: processing data for table "public.pessoa"
  684. pg_restore: processing data for table "public.pessoa_dados_pagamento"
  685. pg_restore: processing data for table "public.pessoa_vinculo"
  686. pg_restore: processing data for table "public.plano_pgto"
  687. pg_restore: processing data for table "public.portao"
  688. pg_restore: [archiver (db)] Error from TOC entry 6700; 0 47400729 TABLE DATA portao postgres
  689. pg_restore: [archiver (db)] COPY failed for table "portao": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
  690. CONTEXT:  COPY portao, line 1
  691. pg_restore: processing data for table "public.produto"
  692. pg_restore: processing data for table "public.produto_catraca"
  693. pg_restore: processing data for table "public.produto_classe"
  694. pg_restore: processing data for table "public.produto_configuracao"
  695. pg_restore: processing data for table "public.produto_contrato"
  696. pg_restore: processing data for table "public.produto_escolinha_turma"
  697. pg_restore: processing data for table "public.produto_plano_pgto"
  698. pg_restore: processing data for table "public.produto_taxa"
  699. pg_restore: processing data for table "public.profissao"
  700. pg_restore: [archiver (db)] Error from TOC entry 6716; 0 47400788 TABLE DATA profissao postgres
  701. pg_restore: [archiver (db)] COPY failed for table "profissao": ERROR:  invalid byte sequence for encoding "UTF8": 0xe1 0x72 0x69
  702. CONTEXT:  COPY profissao, line 4
  703. pg_restore: processing data for table "public.remessa"
  704. pg_restore: processing data for table "public.remessa_item"
  705. pg_restore: processing data for table "public.renda_familiar"
  706. pg_restore: processing data for table "public.sangria"
  707. pg_restore: processing data for table "public.sessao"
  708. pg_restore: processing data for table "public.sessao_evento_produto"
  709. pg_restore: processing data for table "public.setor"
  710. pg_restore: [archiver (db)] Error from TOC entry 6736; 0 47400841 TABLE DATA setor postgres
  711. pg_restore: [archiver (db)] COPY failed for table "setor": ERROR:  invalid byte sequence for encoding "UTF8": 0xe9 0x73 0x74
  712. CONTEXT:  COPY setor, line 3
  713. pg_restore: processing data for table "public.socio_tmp"
  714. pg_restore: [archiver (db)] Error from TOC entry 6738; 0 47400847 TABLE DATA socio_tmp postgres
  715. pg_restore: [archiver (db)] COPY failed for table "socio_tmp": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0xc3
  716. CONTEXT:  COPY socio_tmp, line 252
  717. pg_restore: processing data for table "public.taxa"
  718. pg_restore: processing data for table "public.tmp_importacao_socio"
  719. pg_restore: [archiver (db)] Error from TOC entry 6741; 0 47400859 TABLE DATA tmp_importacao_socio postgres
  720. pg_restore: [archiver (db)] COPY failed for table "tmp_importacao_socio": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0x41
  721. CONTEXT:  COPY tmp_importacao_socio, line 74
  722. pg_restore: processing data for table "public.tmp_socio"
  723. pg_restore: processing data for table "public.troco"
  724. pg_restore: processing data for table "public.usuario"
  725. pg_restore: processing data for table "public.usuario_tipo"
  726. pg_restore: processing data for table "public.vinculo"
  727. pg_restore: processing data for table "public.voucher"
  728. pg_restore: executing SEQUENCE SET acesso_historico_seq_acesso_historico_seq
  729. pg_restore: executing SEQUENCE SET acesso_seq_acesso_seq
  730. pg_restore: executing SEQUENCE SET assento_seq_assento_seq
  731. pg_restore: executing SEQUENCE SET baixa_seq_baixa_seq
  732. pg_restore: executing SEQUENCE SET bilheteria_seq_bilheteria_seq
  733. pg_restore: executing SEQUENCE SET boleto_macro_seq_boleto_macro_seq
  734. pg_restore: executing SEQUENCE SET cadeira_seq_cadeira_seq_1
  735. pg_restore: executing SEQUENCE SET camarote_seq_camarote_seq_1
  736. pg_restore: executing SEQUENCE SET catraca_seq_catraca_seq
  737. pg_restore: executing SEQUENCE SET clube_seq_clube_seq
  738. pg_restore: executing SEQUENCE SET cobranca_retorno_seq_cobranca_retorno_seq_1
  739. pg_restore: executing SEQUENCE SET cobranca_seq_cobranca_seq
  740. pg_restore: executing SEQUENCE SET cobranca_titulo_item_seq_cobranca_titulo_item_seq_1
  741. pg_restore: executing SEQUENCE SET cobranca_titulo_seq_cobranca_titulo_seq
  742. pg_restore: executing SEQUENCE SET competicao_edicao_seq_competicao_edicao_seq
  743. pg_restore: executing SEQUENCE SET competicao_seq_competicao_seq
  744. pg_restore: executing SEQUENCE SET dne_seq_dne_seq
  745. pg_restore: executing SEQUENCE SET escolaridade_seq_escolaridade_seq
  746. pg_restore: executing SEQUENCE SET estado_seq_estado_seq
  747. pg_restore: executing SEQUENCE SET evento_local_seq_evento_local_seq
  748. pg_restore: executing SEQUENCE SET evento_objetivo_seq_evento_objetivo_seq
  749. pg_restore: executing SEQUENCE SET evento_produto_seq_evento_produto_seq
  750. pg_restore: executing SEQUENCE SET evento_seq_evento_seq
  751. pg_restore: executing SEQUENCE SET faixa_salarial_seq_faixa_salarial_seq
  752. pg_restore: executing SEQUENCE SET forma_pagamento_seq_forma_pagamento_seq
  753. pg_restore: executing SEQUENCE SET ingresso_seq_ingresso_seq
  754. pg_restore: executing SEQUENCE SET matricula_cobranca_seq_matricula_cobranca_seq
  755. pg_restore: executing SEQUENCE SET matricula_matricula_seq
  756. pg_restore: executing SEQUENCE SET meio_pagamento_seq_meio_pagamento_seq
  757. pg_restore: executing SEQUENCE SET menu_seq_menu_seq
  758. pg_restore: processing data for table "public.liberacao_historico"
  759. pg_restore: processing data for table "public.matricula"
  760. pg_restore: processing data for table "public.meio_pagamento"
  761. pg_restore: [archiver (db)] Error from TOC entry 6671; 0 47400622 TABLE DATA meio_pagamento postgres
  762. pg_restore: [archiver (db)] COPY failed for table "meio_pagamento": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
  763. CONTEXT:  COPY meio_pagamento, line 2
  764. pg_restore: processing data for table "public.menu"
  765. pg_restore: processing data for table "public.movimento"
  766. pg_restore: processing data for table "public.movimento_cobranca"
  767. pg_restore: processing data for table "public.movimento_item"
  768. pg_restore: processing data for table "public.movimento_pagamento"
  769. pg_restore: processing data for table "public.objeto"
  770. pg_restore: processing data for table "public.obs_matricula"
  771. pg_restore: processing data for table "public.pais"
  772. pg_restore: processing data for table "public.perfil"
  773. pg_restore: processing data for table "public.perfil_objeto"
  774. pg_restore: processing data for table "public.pessoa"
  775. pg_restore: processing data for table "public.pessoa_dados_pagamento"
  776. pg_restore: processing data for table "public.pessoa_vinculo"
  777. pg_restore: processing data for table "public.plano_pgto"
  778. pg_restore: processing data for table "public.portao"
  779. pg_restore: [archiver (db)] Error from TOC entry 6700; 0 47400729 TABLE DATA portao postgres
  780. pg_restore: [archiver (db)] COPY failed for table "portao": ERROR:  invalid byte sequence for encoding "UTF8": 0xe3 0x6f 0x20
  781. CONTEXT:  COPY portao, line 1
  782. pg_restore: processing data for table "public.produto"
  783. pg_restore: processing data for table "public.produto_catraca"
  784. pg_restore: processing data for table "public.produto_classe"
  785. pg_restore: processing data for table "public.produto_configuracao"
  786. pg_restore: processing data for table "public.produto_contrato"
  787. pg_restore: processing data for table "public.produto_escolinha_turma"
  788. pg_restore: processing data for table "public.produto_plano_pgto"
  789. pg_restore: processing data for table "public.produto_taxa"
  790. pg_restore: processing data for table "public.profissao"
  791. pg_restore: [archiver (db)] Error from TOC entry 6716; 0 47400788 TABLE DATA profissao postgres
  792. pg_restore: [archiver (db)] COPY failed for table "profissao": ERROR:  invalid byte sequence for encoding "UTF8": 0xe1 0x72 0x69
  793. CONTEXT:  COPY profissao, line 4
  794. pg_restore: processing data for table "public.remessa"
  795. pg_restore: processing data for table "public.remessa_item"
  796. pg_restore: processing data for table "public.renda_familiar"
  797. pg_restore: processing data for table "public.sangria"
  798. pg_restore: processing data for table "public.sessao"
  799. pg_restore: processing data for table "public.sessao_evento_produto"
  800. pg_restore: processing data for table "public.setor"
  801. pg_restore: [archiver (db)] Error from TOC entry 6736; 0 47400841 TABLE DATA setor postgres
  802. pg_restore: [archiver (db)] COPY failed for table "setor": ERROR:  invalid byte sequence for encoding "UTF8": 0xe9 0x73 0x74
  803. CONTEXT:  COPY setor, line 3
  804. pg_restore: processing data for table "public.socio_tmp"
  805. pg_restore: [archiver (db)] Error from TOC entry 6738; 0 47400847 TABLE DATA socio_tmp postgres
  806. pg_restore: [archiver (db)] COPY failed for table "socio_tmp": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0xc3
  807. CONTEXT:  COPY socio_tmp, line 252
  808. pg_restore: processing data for table "public.taxa"
  809. pg_restore: processing data for table "public.tmp_importacao_socio"
  810. pg_restore: [archiver (db)] Error from TOC entry 6741; 0 47400859 TABLE DATA tmp_importacao_socio postgres
  811. pg_restore: [archiver (db)] COPY failed for table "tmp_importacao_socio": ERROR:  invalid byte sequence for encoding "UTF8": 0xc7 0x41
  812. CONTEXT:  COPY tmp_importacao_socio, line 74
  813. pg_restore: processing data for table "public.tmp_socio"
  814. pg_restore: processing data for table "public.troco"
  815. pg_restore: processing data for table "public.usuario"
  816. pg_restore: processing data for table "public.usuario_tipo"
  817. pg_restore: processing data for table "public.vinculo"
  818. pg_restore: processing data for table "public.voucher"
  819. pg_restore: executing SEQUENCE SET acesso_historico_seq_acesso_historico_seq
  820. pg_restore: executing SEQUENCE SET acesso_seq_acesso_seq
  821. pg_restore: executing SEQUENCE SET assento_seq_assento_seq
  822. pg_restore: executing SEQUENCE SET baixa_seq_baixa_seq
  823. pg_restore: executing SEQUENCE SET bilheteria_seq_bilheteria_seq
  824. pg_restore: executing SEQUENCE SET boleto_macro_seq_boleto_macro_seq
  825. pg_restore: executing SEQUENCE SET cadeira_seq_cadeira_seq_1
  826. pg_restore: executing SEQUENCE SET camarote_seq_camarote_seq_1
  827. pg_restore: executing SEQUENCE SET catraca_seq_catraca_seq
  828. pg_restore: executing SEQUENCE SET clube_seq_clube_seq
  829. pg_restore: executing SEQUENCE SET cobranca_retorno_seq_cobranca_retorno_seq_1
  830. pg_restore: executing SEQUENCE SET cobranca_seq_cobranca_seq
  831. pg_restore: executing SEQUENCE SET cobranca_titulo_item_seq_cobranca_titulo_item_seq_1
  832. pg_restore: executing SEQUENCE SET cobranca_titulo_seq_cobranca_titulo_seq
  833. pg_restore: executing SEQUENCE SET competicao_edicao_seq_competicao_edicao_seq
  834. pg_restore: executing SEQUENCE SET competicao_seq_competicao_seq
  835. pg_restore: executing SEQUENCE SET dne_seq_dne_seq
  836. pg_restore: executing SEQUENCE SET escolaridade_seq_escolaridade_seq
  837. pg_restore: executing SEQUENCE SET estado_seq_estado_seq
  838. pg_restore: executing SEQUENCE SET evento_local_seq_evento_local_seq
  839. pg_restore: executing SEQUENCE SET evento_objetivo_seq_evento_objetivo_seq
  840. pg_restore: executing SEQUENCE SET evento_produto_seq_evento_produto_seq
  841. pg_restore: executing SEQUENCE SET evento_seq_evento_seq
  842. pg_restore: executing SEQUENCE SET faixa_salarial_seq_faixa_salarial_seq
  843. pg_restore: executing SEQUENCE SET forma_pagamento_seq_forma_pagamento_seq
  844. pg_restore: executing SEQUENCE SET ingresso_seq_ingresso_seq
  845. pg_restore: executing SEQUENCE SET matricula_cobranca_seq_matricula_cobranca_seq
  846. pg_restore: executing SEQUENCE SET matricula_matricula_seq
  847. pg_restore: executing SEQUENCE SET meio_pagamento_seq_meio_pagamento_seq
  848. pg_restore: executing SEQUENCE SET menu_seq_menu_seq
  849. pg_restore: executing SEQUENCE SET movimento_item_seq_movimento_item_seq
  850. pg_restore: executing SEQUENCE SET movimento_pagamento_seq_movimento_pagamento_seq
  851. pg_restore: executing SEQUENCE SET movimento_seq_movimento_seq
  852. pg_restore: executing SEQUENCE SET objeto_seq_objeto_seq
  853. pg_restore: executing SEQUENCE SET obs_matricula_matricula_seq
  854. pg_restore: executing SEQUENCE SET obs_matricula_seq_obs_matricula_seq
  855. pg_restore: executing SEQUENCE SET pais_seq_pais_seq
  856. pg_restore: executing SEQUENCE SET perfil_objeto_seq_perfil_objeto_seq
  857. pg_restore: executing SEQUENCE SET perfil_seq_perfil_seq
  858. pg_restore: executing SEQUENCE SET pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq
  859. pg_restore: executing SEQUENCE SET pessoa_seq_pessoa_seq
  860. pg_restore: executing SEQUENCE SET pessoa_vinculo_seq_pessoa_vinculo_seq
  861. pg_restore: executing SEQUENCE SET plano_pgto_seq_plano_pgto_seq
  862. pg_restore: executing SEQUENCE SET portao_seq_portao_seq_1
  863. pg_restore: executing SEQUENCE SET produto_catraca_seq_produto_catraca_seq
  864. pg_restore: executing SEQUENCE SET produto_classe_seq_produto_classe_seq
  865. pg_restore: executing SEQUENCE SET produto_configuracao_seq_produto_configuracao_seq
  866. pg_restore: executing SEQUENCE SET produto_contrato_seq_produto_contrato_seq_1
  867. pg_restore: executing SEQUENCE SET produto_escolinha_turma_seq_produto_escolinha_turma_seq
  868. pg_restore: executing SEQUENCE SET produto_plano_pgto_seq_produto_plano_pgto_seq
  869. pg_restore: executing SEQUENCE SET produto_seq_produto_seq
  870. pg_restore: executing SEQUENCE SET produto_taxa_seq_produto_taxa_seq
  871. pg_restore: executing SEQUENCE SET profissao_seq_profissao_seq_1
  872. pg_restore: executing SEQUENCE SET remessa_item_seq_remessa_item_seq
  873. pg_restore: executing SEQUENCE SET remessa_seq_remessa_seq
  874. pg_restore: executing SEQUENCE SET renda_familiar_seq_renda_familiar_seq
  875. pg_restore: executing SEQUENCE SET sangria_seq_sangria_seq
  876. pg_restore: executing SEQUENCE SET seq_cartao2
  877. pg_restore: executing SEQUENCE SET seq_competencia
  878. pg_restore: executing SEQUENCE SET seq_conta
  879. pg_restore: executing SEQUENCE SET seq_ingresso_numero
  880. pg_restore: executing SEQUENCE SET seq_instituicao_financeira
  881. pg_restore: executing SEQUENCE SET seq_liberacao_historico
  882. pg_restore: executing SEQUENCE SET seq_nosso_numero
  883. pg_restore: executing SEQUENCE SET seq_seq_liberacao
  884. pg_restore: executing SEQUENCE SET seq_voucher
  885. pg_restore: executing SEQUENCE SET sessao_evento_produto_seq_sessao_evento_produto_seq
  886. pg_restore: executing SEQUENCE SET sessao_seq_sessao_seq
  887. pg_restore: executing SEQUENCE SET setor_seq_setor_seq_1
  888. pg_restore: executing SEQUENCE SET taxa_seq_taxa_seq
  889. pg_restore: executing SEQUENCE SET troco_seq_troco_seq
  890. pg_restore: executing SEQUENCE SET usuario_seq_usuario_seq
  891. pg_restore: executing SEQUENCE SET usuario_tipo_seq_usuario_tipo_seq
  892. pg_restore: executing SEQUENCE SET vinculo_seq_vinculo_seq
  893. pg_restore: creating CONSTRAINT "public.acesso_historico acesso_historico_pkey"
  894. pg_restore: creating CONSTRAINT "public.acesso acesso_pkey"
  895. pg_restore: creating CONSTRAINT "public.baixa baixa_pkey"
  896. pg_restore: creating CONSTRAINT "public.boleto_macro boleto_macro_pkey"
  897. pg_restore: creating CONSTRAINT "public.ci_sessions ci_sessions_pkey"
  898. pg_restore: creating CONSTRAINT "public.competencia competencia_pkey"
  899. pg_restore: creating CONSTRAINT "public.conta conta_pkey"
  900. pg_restore: creating CONSTRAINT "public.dne dne_pkey"
  901. pg_restore: creating CONSTRAINT "public.escolaridade escolaridade_pkey"
  902. pg_restore: creating CONSTRAINT "public.estado estado_pkey"
  903. pg_restore: creating CONSTRAINT "public.evento_objetivo evento_objetivo_pkey"
  904. pg_restore: creating CONSTRAINT "public.faixa_salarial faixa_salarial_pkey"
  905. pg_restore: creating CONSTRAINT "public.ingresso_numero ingresso_numero_pkey"
  906. pg_restore: creating CONSTRAINT "public.instituicao_financeira instituicao_financeira_seq_instituicao_financeira"
  907. pg_restore: creating CONSTRAINT "public.liberacao liberacao_pkey"
  908. pg_restore: creating CONSTRAINT "public.matricula matricula_pkey"
  909. pg_restore: creating CONSTRAINT "public.menu menu_pkey"
  910. pg_restore: creating CONSTRAINT "public.obs_matricula obs_matricula_pkey"
  911. pg_restore: creating CONSTRAINT "public.pais pais_pkey"
  912. pg_restore: creating CONSTRAINT "public.pessoa_dados_pagamento pessoa_dados_pagamento_pkey"
  913. pg_restore: creating CONSTRAINT "public.produto_configuracao pk_produto_configuracao"
  914. pg_restore: creating CONSTRAINT "public.vinculo pk_vinculo"
  915. pg_restore: creating CONSTRAINT "public.plano_pgto plano_pgto_pkey"
  916. pg_restore: creating CONSTRAINT "public.produto_classe produto_classe_pkey"
  917. pg_restore: creating CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_pkey"
  918. pg_restore: creating CONSTRAINT "public.remessa_item remessa_item_pkey"
  919. pg_restore: creating CONSTRAINT "public.remessa remessa_pkey"
  920. pg_restore: creating CONSTRAINT "public.renda_familiar renda_familiar_pkey"
  921. pg_restore: creating CONSTRAINT "public.assento seq_assento"
  922. pg_restore: creating CONSTRAINT "public.bilheteria seq_bilheteria"
  923. pg_restore: creating CONSTRAINT "public.cadeira seq_cadeira"
  924. pg_restore: creating CONSTRAINT "public.camarote seq_camarote"
  925. pg_restore: creating CONSTRAINT "public.cartao seq_cartao"
  926. pg_restore: creating CONSTRAINT "public.catraca seq_catraca"
  927. pg_restore: creating CONSTRAINT "public.clube seq_clube"
  928. pg_restore: creating CONSTRAINT "public.cobranca seq_cobranca"
  929. pg_restore: creating CONSTRAINT "public.cobranca_retorno seq_cobranca_retorno"
  930. pg_restore: creating CONSTRAINT "public.cobranca_titulo seq_cobranca_titulo"
  931. pg_restore: creating CONSTRAINT "public.cobranca_titulo_item seq_cobranca_titulo_item"
  932. pg_restore: creating CONSTRAINT "public.competicao seq_competicao"
  933. pg_restore: creating CONSTRAINT "public.competicao_edicao seq_competicao_edicao"
  934. pg_restore: creating CONSTRAINT "public.evento seq_evento"
  935. pg_restore: creating CONSTRAINT "public.evento_local seq_evento_local"
  936. pg_restore: creating CONSTRAINT "public.evento_produto seq_evento_produto"
  937. pg_restore: creating CONSTRAINT "public.forma_pagamento seq_forma_pagamento"
  938. pg_restore: creating CONSTRAINT "public.ingresso seq_ingresso"
  939. pg_restore: creating CONSTRAINT "public.liberacao_historico seq_liberacao_historico_pkey"
  940. pg_restore: creating CONSTRAINT "public.movimento_cobranca seq_matricula_cobranca"
  941. pg_restore: creating CONSTRAINT "public.meio_pagamento seq_meio_pagamento"
  942. pg_restore: creating CONSTRAINT "public.movimento seq_movimento"
  943. pg_restore: creating CONSTRAINT "public.movimento_item seq_movimento_item"
  944. pg_restore: creating CONSTRAINT "public.movimento_pagamento seq_movimento_pagamento"
  945. pg_restore: creating CONSTRAINT "public.objeto seq_objeto"
  946. pg_restore: creating CONSTRAINT "public.perfil seq_perfil"
  947. pg_restore: creating CONSTRAINT "public.perfil_objeto seq_perfil_objeto"
  948. pg_restore: creating CONSTRAINT "public.pessoa seq_pessoa"
  949. pg_restore: creating CONSTRAINT "public.pessoa_vinculo seq_pessoa_vinculo"
  950. pg_restore: creating CONSTRAINT "public.portao seq_portao"
  951. pg_restore: creating CONSTRAINT "public.produto seq_produto"
  952. pg_restore: creating CONSTRAINT "public.produto_catraca seq_produto_catraca"
  953. pg_restore: creating CONSTRAINT "public.produto_contrato seq_produto_contrato"
  954. pg_restore: creating CONSTRAINT "public.produto_taxa seq_produto_taxa"
  955. pg_restore: creating CONSTRAINT "public.profissao seq_profissao"
  956. pg_restore: creating CONSTRAINT "public.sangria seq_sangria"
  957. pg_restore: creating CONSTRAINT "public.sessao seq_sessao"
  958. pg_restore: creating CONSTRAINT "public.sessao_evento_produto seq_sessao_evento_produto"
  959. pg_restore: creating CONSTRAINT "public.setor seq_setor"
  960. pg_restore: creating CONSTRAINT "public.taxa seq_taxa"
  961. pg_restore: creating CONSTRAINT "public.troco seq_troco"
  962. pg_restore: creating CONSTRAINT "public.usuario seq_usuario"
  963. pg_restore: creating CONSTRAINT "public.usuario_tipo seq_usuario_tipo"
  964. pg_restore: creating CONSTRAINT "public.voucher voucher_pkey"
  965. pg_restore: creating INDEX "public.dne_cep_idx"
  966. pg_restore: creating INDEX "public.dne_localidade_uf_idx"
  967. pg_restore: creating INDEX "public.fki_"
  968. pg_restore: creating INDEX "public.fki_usuario_movimento"
  969. pg_restore: creating TRIGGER "public.evento trg_carrega_even_ref"
  970. pg_restore: creating TRIGGER "public.cobranca_titulo trg_cobranca_titulo_bu"
  971. pg_restore: creating TRIGGER "public.sessao trg_depois_inserir_sessao"
  972. pg_restore: creating TRIGGER "public.movimento trg_estorna_movimento"
  973. pg_restore: creating TRIGGER "public.movimento_item trg_gera_ingressos"
  974. pg_restore: [archiver (db)] Error from TOC entry 6483; 2620 49606697 TRIGGER movimento_item trg_gera_ingressos postgres
  975. pg_restore: [archiver (db)] could not execute query: ERROR:  function public.gera_ingressos_do_pagamento() does not exist
  976.     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();
  977.  
  978. ALTER TABLE public.movimento_item DISABLE TRIGGER trg_gera_ingressos;
  979.  
  980.  
  981.  
  982. pg_restore: creating FK CONSTRAINT "public.ingresso assento_ingresso_fk"
  983. pg_restore: creating FK CONSTRAINT "public.sessao bilheteria_sessao_fk"
  984. pg_restore: creating FK CONSTRAINT "public.matricula cadeira_matricula_fk"
  985. pg_restore: creating FK CONSTRAINT "public.matricula camarote_matricula_fk"
  986. pg_restore: creating FK CONSTRAINT "public.ingresso cartao_ingresso_fk"
  987. pg_restore: creating FK CONSTRAINT "public.produto_catraca catraca_produto_catraca_fk"
  988. pg_restore: creating FK CONSTRAINT "public.evento clube_evento_fk"
  989. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo cobranca_retorno_cobranca_titulo_fk"
  990. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_cobranca_titulo_item_fk"
  991. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_item_seq_movimento_cobranca_fkey"
  992. pg_restore: creating FK CONSTRAINT "public.competicao_edicao competicao_competicao_edicao_fk"
  993. pg_restore: [archiver (db)] Error from TOC entry 6414; 2606 49606748 FK CONSTRAINT competicao_edicao competicao_competicao_edicao_fk postgres
  994. pg_restore: [archiver (db)] could not execute query: ERROR:  insert or update on table "competicao_edicao" violates foreign key constraint "competicao_competicao_edicao_fk"
  995. DETAIL:  Key (seq_competicao)=(2) is not present in table "competicao".
  996.     Command was: ALTER TABLE ONLY public.competicao_edicao
  997.     ADD CONSTRAINT competicao_competicao_edicao_fk FOREIGN KEY (seq_competicao) REFERENCES public.competicao(seq_competicao);
  998.  
  999.  
  1000.  
  1001. pg_restore: creating FK CONSTRAINT "public.evento_produto evento_evento_produto_fk"
  1002. pg_restore: creating FK CONSTRAINT "public.evento evento_local_evento_fk"
  1003. pg_restore: creating FK CONSTRAINT "public.evento evento_objetivo"
  1004. pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto evento_produto_sessao_evento_produto_fk"
  1005. pg_restore: creating FK CONSTRAINT "public.evento evento_seq_competicao_edicao_fkey"
  1006. pg_restore: creating FK CONSTRAINT "public.conta fk_conta_conta_pai"
  1007. pg_restore: creating FK CONSTRAINT "public.produto fk_produto_configuracao"
  1008. pg_restore: creating FK CONSTRAINT "public.meio_pagamento forma_pagamento_meio_pagamento_fk"
  1009. pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento forma_pagamento_pessoa_dados_pagamento_fk"
  1010. pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_ingresso_fk"
  1011. pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_movimento_item_fk"
  1012. pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento instituicao_financeira_pessoa_dados_pagamento_fk"
  1013. pg_restore: creating FK CONSTRAINT "public.liberacao liberacao_seq_produto_fk"
  1014. pg_restore: creating FK CONSTRAINT "public.cartao matricula_cartao_fk"
  1015. pg_restore: creating FK CONSTRAINT "public.movimento_cobranca matricula_matricula_cobranca_fk"
  1016. pg_restore: creating FK CONSTRAINT "public.obs_matricula matricula_obs_matricula_fk"
  1017. pg_restore: creating FK CONSTRAINT "public.matricula matricula_plano_pgto"
  1018. pg_restore: creating FK CONSTRAINT "public.menu menu_objeto_fkey"
  1019. pg_restore: creating FK CONSTRAINT "public.movimento_cobranca movimento_cobranca_seq_pessoa_fkey"
  1020. pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_movimento_cobranca_fkey"
  1021. pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_sessao_evento_produto_fkey"
  1022. pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_movimento_item_fk"
  1023. pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_movimento_pagamento_fk"
  1024. pg_restore: creating FK CONSTRAINT "public.movimento movimento_operador_fkey"
  1025. pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_forma_pagamento_fkey"
  1026. pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_meio_pagamento_fkey"
  1027. pg_restore: creating FK CONSTRAINT "public.movimento movimento_seq_pessoa_fkey"
  1028. pg_restore: creating FK CONSTRAINT "public.perfil_objeto objeto_perfil_objeto_fk"
  1029. pg_restore: creating FK CONSTRAINT "public.perfil_objeto perfil_perfil_objeto_fk"
  1030. pg_restore: creating FK CONSTRAINT "public.usuario perfil_usuario_fk"
  1031. pg_restore: creating FK CONSTRAINT "public.matricula pessoa_dados_pagamento_matricula"
  1032. pg_restore: creating FK CONSTRAINT "public.ingresso pessoa_ingresso_fk"
  1033. pg_restore: creating FK CONSTRAINT "public.matricula pessoa_matricula_fk"
  1034. pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento pessoa_pessoa_dados_pagamento_fk"
  1035. pg_restore: creating FK CONSTRAINT "public.usuario pessoa_usuario_fk"
  1036. pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_pessoa_fk"
  1037. pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_vinculo_fk"
  1038. pg_restore: creating FK CONSTRAINT "public.plano_pgto plano_pgto_seq_produto_fkey"
  1039. pg_restore: creating FK CONSTRAINT "public.catraca portao_catraca_fk"
  1040. pg_restore: [archiver (db)] Error from TOC entry 6409; 2606 49606943 FK CONSTRAINT catraca portao_catraca_fk postgres
  1041. pg_restore: [archiver (db)] could not execute query: ERROR:  insert or update on table "catraca" violates foreign key constraint "portao_catraca_fk"
  1042. DETAIL:  Key (seq_portao)=(3) is not present in table "portao".
  1043.     Command was: ALTER TABLE ONLY public.catraca
  1044.     ADD CONSTRAINT portao_catraca_fk FOREIGN KEY (seq_portao) REFERENCES public.portao(seq_portao) ON UPDATE CASCADE;
  1045.  
  1046.  
  1047.  
  1048. pg_restore: creating FK CONSTRAINT "public.produto produto_contrato_produto_fk"
  1049. pg_restore: creating FK CONSTRAINT "public.evento_produto produto_evento_produto_fk"
  1050. pg_restore: creating FK CONSTRAINT "public.matricula produto_matricula_fk"
  1051. pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_plano_pgto_fkey"
  1052. pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_produto_taxa_fkey"
  1053. pg_restore: creating FK CONSTRAINT "public.produto_catraca produto_produto_catraca_fk"
  1054. pg_restore: creating FK CONSTRAINT "public.produto_taxa produto_produto_taxa_fk"
  1055. pg_restore: creating FK CONSTRAINT "public.produto_escolinha_turma produto_produto_taxa_fk"
  1056. pg_restore: creating FK CONSTRAINT "public.movimento_cobranca produto_taxa_matricula_cobranca_fk"
  1057. pg_restore: creating FK CONSTRAINT "public.movimento_item produto_taxa_movimento_item_fk"
  1058. pg_restore: creating FK CONSTRAINT "public.pessoa profissao_pessoa_fk"
  1059. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo remessa_cobranca_titulo_fk"
  1060. pg_restore: creating FK CONSTRAINT "public.sangria sessao_sangria_fk"
  1061. pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto sessao_sessao_evento_produto_fk"
  1062. pg_restore: creating FK CONSTRAINT "public.troco sessao_troco_fk"
  1063. pg_restore: creating FK CONSTRAINT "public.assento setor_assento_fk"
  1064. pg_restore: creating FK CONSTRAINT "public.portao setor_portao_fk"
  1065. pg_restore: creating FK CONSTRAINT "public.produto_taxa taxa_produto_taxa_fk"
  1066. pg_restore: creating FK CONSTRAINT "public.sangria usuario_sangria_fk"
  1067. pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto usuario_sessao_evento_produto_fk"
  1068. pg_restore: creating FK CONSTRAINT "public.sessao usuario_sessao_fk"
  1069. pg_restore: creating FK CONSTRAINT "public.usuario usuario_tipo_usuario_fk"
  1070. pg_restore: creating FK CONSTRAINT "public.troco usuario_troco_fk"
  1071. WARNING: errors ignored on restore: 25
  1072. pg_restore: executing SEQUENCE SET movimento_item_seq_movimento_item_seq
  1073. pg_restore: executing SEQUENCE SET movimento_pagamento_seq_movimento_pagamento_seq
  1074. pg_restore: executing SEQUENCE SET movimento_seq_movimento_seq
  1075. pg_restore: executing SEQUENCE SET objeto_seq_objeto_seq
  1076. pg_restore: executing SEQUENCE SET obs_matricula_matricula_seq
  1077. pg_restore: executing SEQUENCE SET obs_matricula_seq_obs_matricula_seq
  1078. pg_restore: executing SEQUENCE SET pais_seq_pais_seq
  1079. pg_restore: executing SEQUENCE SET perfil_objeto_seq_perfil_objeto_seq
  1080. pg_restore: executing SEQUENCE SET perfil_seq_perfil_seq
  1081. pg_restore: executing SEQUENCE SET pessoa_dados_pagamento_seq_pessoa_dados_pagamento_seq
  1082. pg_restore: executing SEQUENCE SET pessoa_seq_pessoa_seq
  1083. pg_restore: executing SEQUENCE SET pessoa_vinculo_seq_pessoa_vinculo_seq
  1084. pg_restore: executing SEQUENCE SET plano_pgto_seq_plano_pgto_seq
  1085. pg_restore: executing SEQUENCE SET portao_seq_portao_seq_1
  1086. pg_restore: executing SEQUENCE SET produto_catraca_seq_produto_catraca_seq
  1087. pg_restore: executing SEQUENCE SET produto_classe_seq_produto_classe_seq
  1088. pg_restore: executing SEQUENCE SET produto_configuracao_seq_produto_configuracao_seq
  1089. pg_restore: executing SEQUENCE SET produto_contrato_seq_produto_contrato_seq_1
  1090. pg_restore: executing SEQUENCE SET produto_escolinha_turma_seq_produto_escolinha_turma_seq
  1091. pg_restore: executing SEQUENCE SET produto_plano_pgto_seq_produto_plano_pgto_seq
  1092. pg_restore: executing SEQUENCE SET produto_seq_produto_seq
  1093. pg_restore: executing SEQUENCE SET produto_taxa_seq_produto_taxa_seq
  1094. pg_restore: executing SEQUENCE SET profissao_seq_profissao_seq_1
  1095. pg_restore: executing SEQUENCE SET remessa_item_seq_remessa_item_seq
  1096. pg_restore: executing SEQUENCE SET remessa_seq_remessa_seq
  1097. pg_restore: executing SEQUENCE SET renda_familiar_seq_renda_familiar_seq
  1098. pg_restore: executing SEQUENCE SET sangria_seq_sangria_seq
  1099. pg_restore: executing SEQUENCE SET seq_cartao2
  1100. pg_restore: executing SEQUENCE SET seq_competencia
  1101. pg_restore: executing SEQUENCE SET seq_conta
  1102. pg_restore: executing SEQUENCE SET seq_ingresso_numero
  1103. pg_restore: executing SEQUENCE SET seq_instituicao_financeira
  1104. pg_restore: executing SEQUENCE SET seq_liberacao_historico
  1105. pg_restore: executing SEQUENCE SET seq_nosso_numero
  1106. pg_restore: executing SEQUENCE SET seq_seq_liberacao
  1107. pg_restore: executing SEQUENCE SET seq_voucher
  1108. pg_restore: executing SEQUENCE SET sessao_evento_produto_seq_sessao_evento_produto_seq
  1109. pg_restore: executing SEQUENCE SET sessao_seq_sessao_seq
  1110. pg_restore: executing SEQUENCE SET setor_seq_setor_seq_1
  1111. pg_restore: executing SEQUENCE SET taxa_seq_taxa_seq
  1112. pg_restore: executing SEQUENCE SET troco_seq_troco_seq
  1113. pg_restore: executing SEQUENCE SET usuario_seq_usuario_seq
  1114. pg_restore: executing SEQUENCE SET usuario_tipo_seq_usuario_tipo_seq
  1115. pg_restore: executing SEQUENCE SET vinculo_seq_vinculo_seq
  1116. pg_restore: creating CONSTRAINT "public.acesso_historico acesso_historico_pkey"
  1117. pg_restore: creating CONSTRAINT "public.acesso acesso_pkey"
  1118. pg_restore: creating CONSTRAINT "public.baixa baixa_pkey"
  1119. pg_restore: creating CONSTRAINT "public.boleto_macro boleto_macro_pkey"
  1120. pg_restore: creating CONSTRAINT "public.ci_sessions ci_sessions_pkey"
  1121. pg_restore: creating CONSTRAINT "public.competencia competencia_pkey"
  1122. pg_restore: creating CONSTRAINT "public.conta conta_pkey"
  1123. pg_restore: creating CONSTRAINT "public.dne dne_pkey"
  1124. pg_restore: creating CONSTRAINT "public.escolaridade escolaridade_pkey"
  1125. pg_restore: creating CONSTRAINT "public.estado estado_pkey"
  1126. pg_restore: creating CONSTRAINT "public.evento_objetivo evento_objetivo_pkey"
  1127. pg_restore: creating CONSTRAINT "public.faixa_salarial faixa_salarial_pkey"
  1128. pg_restore: creating CONSTRAINT "public.ingresso_numero ingresso_numero_pkey"
  1129. pg_restore: creating CONSTRAINT "public.instituicao_financeira instituicao_financeira_seq_instituicao_financeira"
  1130. pg_restore: creating CONSTRAINT "public.liberacao liberacao_pkey"
  1131. pg_restore: creating CONSTRAINT "public.matricula matricula_pkey"
  1132. pg_restore: creating CONSTRAINT "public.menu menu_pkey"
  1133. pg_restore: creating CONSTRAINT "public.obs_matricula obs_matricula_pkey"
  1134. pg_restore: creating CONSTRAINT "public.pais pais_pkey"
  1135. pg_restore: creating CONSTRAINT "public.pessoa_dados_pagamento pessoa_dados_pagamento_pkey"
  1136. pg_restore: creating CONSTRAINT "public.produto_configuracao pk_produto_configuracao"
  1137. pg_restore: creating CONSTRAINT "public.vinculo pk_vinculo"
  1138. pg_restore: creating CONSTRAINT "public.plano_pgto plano_pgto_pkey"
  1139. pg_restore: creating CONSTRAINT "public.produto_classe produto_classe_pkey"
  1140. pg_restore: creating CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_pkey"
  1141. pg_restore: creating CONSTRAINT "public.remessa_item remessa_item_pkey"
  1142. pg_restore: creating CONSTRAINT "public.remessa remessa_pkey"
  1143. pg_restore: creating CONSTRAINT "public.renda_familiar renda_familiar_pkey"
  1144. pg_restore: creating CONSTRAINT "public.assento seq_assento"
  1145. pg_restore: creating CONSTRAINT "public.bilheteria seq_bilheteria"
  1146. pg_restore: creating CONSTRAINT "public.cadeira seq_cadeira"
  1147. pg_restore: creating CONSTRAINT "public.camarote seq_camarote"
  1148. pg_restore: creating CONSTRAINT "public.cartao seq_cartao"
  1149. pg_restore: creating CONSTRAINT "public.catraca seq_catraca"
  1150. pg_restore: creating CONSTRAINT "public.clube seq_clube"
  1151. pg_restore: creating CONSTRAINT "public.cobranca seq_cobranca"
  1152. pg_restore: creating CONSTRAINT "public.cobranca_retorno seq_cobranca_retorno"
  1153. pg_restore: creating CONSTRAINT "public.cobranca_titulo seq_cobranca_titulo"
  1154. pg_restore: creating CONSTRAINT "public.cobranca_titulo_item seq_cobranca_titulo_item"
  1155. pg_restore: creating CONSTRAINT "public.competicao seq_competicao"
  1156. pg_restore: creating CONSTRAINT "public.competicao_edicao seq_competicao_edicao"
  1157. pg_restore: creating CONSTRAINT "public.evento seq_evento"
  1158. pg_restore: creating CONSTRAINT "public.evento_local seq_evento_local"
  1159. pg_restore: creating CONSTRAINT "public.evento_produto seq_evento_produto"
  1160. pg_restore: creating CONSTRAINT "public.forma_pagamento seq_forma_pagamento"
  1161. pg_restore: creating CONSTRAINT "public.ingresso seq_ingresso"
  1162. pg_restore: creating CONSTRAINT "public.liberacao_historico seq_liberacao_historico_pkey"
  1163. pg_restore: creating CONSTRAINT "public.movimento_cobranca seq_matricula_cobranca"
  1164. pg_restore: creating CONSTRAINT "public.meio_pagamento seq_meio_pagamento"
  1165. pg_restore: creating CONSTRAINT "public.movimento seq_movimento"
  1166. pg_restore: creating CONSTRAINT "public.movimento_item seq_movimento_item"
  1167. pg_restore: creating CONSTRAINT "public.movimento_pagamento seq_movimento_pagamento"
  1168. pg_restore: creating CONSTRAINT "public.objeto seq_objeto"
  1169. pg_restore: creating CONSTRAINT "public.perfil seq_perfil"
  1170. pg_restore: creating CONSTRAINT "public.perfil_objeto seq_perfil_objeto"
  1171. pg_restore: creating CONSTRAINT "public.pessoa seq_pessoa"
  1172. pg_restore: creating CONSTRAINT "public.pessoa_vinculo seq_pessoa_vinculo"
  1173. pg_restore: creating CONSTRAINT "public.portao seq_portao"
  1174. pg_restore: creating CONSTRAINT "public.produto seq_produto"
  1175. pg_restore: creating CONSTRAINT "public.produto_catraca seq_produto_catraca"
  1176. pg_restore: creating CONSTRAINT "public.produto_contrato seq_produto_contrato"
  1177. pg_restore: creating CONSTRAINT "public.produto_taxa seq_produto_taxa"
  1178. pg_restore: creating CONSTRAINT "public.profissao seq_profissao"
  1179. pg_restore: creating CONSTRAINT "public.sangria seq_sangria"
  1180. pg_restore: creating CONSTRAINT "public.sessao seq_sessao"
  1181. pg_restore: creating CONSTRAINT "public.sessao_evento_produto seq_sessao_evento_produto"
  1182. pg_restore: creating CONSTRAINT "public.setor seq_setor"
  1183. pg_restore: creating CONSTRAINT "public.taxa seq_taxa"
  1184. pg_restore: creating CONSTRAINT "public.troco seq_troco"
  1185. pg_restore: creating CONSTRAINT "public.usuario seq_usuario"
  1186. pg_restore: creating CONSTRAINT "public.usuario_tipo seq_usuario_tipo"
  1187. pg_restore: creating CONSTRAINT "public.voucher voucher_pkey"
  1188. pg_restore: creating INDEX "public.dne_cep_idx"
  1189. pg_restore: creating INDEX "public.dne_localidade_uf_idx"
  1190. pg_restore: creating INDEX "public.fki_"
  1191. pg_restore: creating INDEX "public.fki_usuario_movimento"
  1192. pg_restore: creating TRIGGER "public.evento trg_carrega_even_ref"
  1193. pg_restore: creating TRIGGER "public.cobranca_titulo trg_cobranca_titulo_bu"
  1194. pg_restore: creating TRIGGER "public.sessao trg_depois_inserir_sessao"
  1195. pg_restore: creating TRIGGER "public.movimento trg_estorna_movimento"
  1196. pg_restore: creating TRIGGER "public.movimento_item trg_gera_ingressos"
  1197. pg_restore: [archiver (db)] Error from TOC entry 6483; 2620 49606697 TRIGGER movimento_item trg_gera_ingressos postgres
  1198. pg_restore: [archiver (db)] could not execute query: ERROR:  function public.gera_ingressos_do_pagamento() does not exist
  1199.     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();
  1200.  
  1201. ALTER TABLE public.movimento_item DISABLE TRIGGER trg_gera_ingressos;
  1202.  
  1203.  
  1204.  
  1205. pg_restore: creating FK CONSTRAINT "public.ingresso assento_ingresso_fk"
  1206. pg_restore: creating FK CONSTRAINT "public.sessao bilheteria_sessao_fk"
  1207. pg_restore: creating FK CONSTRAINT "public.matricula cadeira_matricula_fk"
  1208. pg_restore: creating FK CONSTRAINT "public.matricula camarote_matricula_fk"
  1209. pg_restore: creating FK CONSTRAINT "public.ingresso cartao_ingresso_fk"
  1210. pg_restore: creating FK CONSTRAINT "public.produto_catraca catraca_produto_catraca_fk"
  1211. pg_restore: creating FK CONSTRAINT "public.evento clube_evento_fk"
  1212. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo cobranca_retorno_cobranca_titulo_fk"
  1213. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_cobranca_titulo_item_fk"
  1214. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo_item cobranca_titulo_item_seq_movimento_cobranca_fkey"
  1215. pg_restore: creating FK CONSTRAINT "public.competicao_edicao competicao_competicao_edicao_fk"
  1216. pg_restore: [archiver (db)] Error from TOC entry 6414; 2606 49606748 FK CONSTRAINT competicao_edicao competicao_competicao_edicao_fk postgres
  1217. pg_restore: [archiver (db)] could not execute query: ERROR:  insert or update on table "competicao_edicao" violates foreign key constraint "competicao_competicao_edicao_fk"
  1218. DETAIL:  Key (seq_competicao)=(2) is not present in table "competicao".
  1219.     Command was: ALTER TABLE ONLY public.competicao_edicao
  1220.     ADD CONSTRAINT competicao_competicao_edicao_fk FOREIGN KEY (seq_competicao) REFERENCES public.competicao(seq_competicao);
  1221.  
  1222.  
  1223.  
  1224. pg_restore: creating FK CONSTRAINT "public.evento_produto evento_evento_produto_fk"
  1225. pg_restore: creating FK CONSTRAINT "public.evento evento_local_evento_fk"
  1226. pg_restore: creating FK CONSTRAINT "public.evento evento_objetivo"
  1227. pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto evento_produto_sessao_evento_produto_fk"
  1228. pg_restore: creating FK CONSTRAINT "public.evento evento_seq_competicao_edicao_fkey"
  1229. pg_restore: creating FK CONSTRAINT "public.conta fk_conta_conta_pai"
  1230. pg_restore: creating FK CONSTRAINT "public.produto fk_produto_configuracao"
  1231. pg_restore: creating FK CONSTRAINT "public.meio_pagamento forma_pagamento_meio_pagamento_fk"
  1232. pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento forma_pagamento_pessoa_dados_pagamento_fk"
  1233. pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_ingresso_fk"
  1234. pg_restore: creating FK CONSTRAINT "public.ingresso ingresso_movimento_item_fk"
  1235. pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento instituicao_financeira_pessoa_dados_pagamento_fk"
  1236. pg_restore: creating FK CONSTRAINT "public.liberacao liberacao_seq_produto_fk"
  1237. pg_restore: creating FK CONSTRAINT "public.cartao matricula_cartao_fk"
  1238. pg_restore: creating FK CONSTRAINT "public.movimento_cobranca matricula_matricula_cobranca_fk"
  1239. pg_restore: creating FK CONSTRAINT "public.obs_matricula matricula_obs_matricula_fk"
  1240. pg_restore: creating FK CONSTRAINT "public.matricula matricula_plano_pgto"
  1241. pg_restore: creating FK CONSTRAINT "public.menu menu_objeto_fkey"
  1242. pg_restore: creating FK CONSTRAINT "public.movimento_cobranca movimento_cobranca_seq_pessoa_fkey"
  1243. pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_movimento_cobranca_fkey"
  1244. pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_item_seq_sessao_evento_produto_fkey"
  1245. pg_restore: creating FK CONSTRAINT "public.movimento_item movimento_movimento_item_fk"
  1246. pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_movimento_pagamento_fk"
  1247. pg_restore: creating FK CONSTRAINT "public.movimento movimento_operador_fkey"
  1248. pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_forma_pagamento_fkey"
  1249. pg_restore: creating FK CONSTRAINT "public.movimento_pagamento movimento_pagamento_seq_meio_pagamento_fkey"
  1250. pg_restore: creating FK CONSTRAINT "public.movimento movimento_seq_pessoa_fkey"
  1251. pg_restore: creating FK CONSTRAINT "public.perfil_objeto objeto_perfil_objeto_fk"
  1252. pg_restore: creating FK CONSTRAINT "public.perfil_objeto perfil_perfil_objeto_fk"
  1253. pg_restore: creating FK CONSTRAINT "public.usuario perfil_usuario_fk"
  1254. pg_restore: creating FK CONSTRAINT "public.matricula pessoa_dados_pagamento_matricula"
  1255. pg_restore: creating FK CONSTRAINT "public.ingresso pessoa_ingresso_fk"
  1256. pg_restore: creating FK CONSTRAINT "public.matricula pessoa_matricula_fk"
  1257. pg_restore: creating FK CONSTRAINT "public.pessoa_dados_pagamento pessoa_pessoa_dados_pagamento_fk"
  1258. pg_restore: creating FK CONSTRAINT "public.usuario pessoa_usuario_fk"
  1259. pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_pessoa_fk"
  1260. pg_restore: creating FK CONSTRAINT "public.pessoa_vinculo pessoa_vinculo_vinculo_fk"
  1261. pg_restore: creating FK CONSTRAINT "public.plano_pgto plano_pgto_seq_produto_fkey"
  1262. pg_restore: creating FK CONSTRAINT "public.catraca portao_catraca_fk"
  1263. pg_restore: [archiver (db)] Error from TOC entry 6409; 2606 49606943 FK CONSTRAINT catraca portao_catraca_fk postgres
  1264. pg_restore: [archiver (db)] could not execute query: ERROR:  insert or update on table "catraca" violates foreign key constraint "portao_catraca_fk"
  1265. DETAIL:  Key (seq_portao)=(3) is not present in table "portao".
  1266.     Command was: ALTER TABLE ONLY public.catraca
  1267.     ADD CONSTRAINT portao_catraca_fk FOREIGN KEY (seq_portao) REFERENCES public.portao(seq_portao) ON UPDATE CASCADE;
  1268.  
  1269.  
  1270.  
  1271. pg_restore: creating FK CONSTRAINT "public.produto produto_contrato_produto_fk"
  1272. pg_restore: creating FK CONSTRAINT "public.evento_produto produto_evento_produto_fk"
  1273. pg_restore: creating FK CONSTRAINT "public.matricula produto_matricula_fk"
  1274. pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_plano_pgto_fkey"
  1275. pg_restore: creating FK CONSTRAINT "public.produto_plano_pgto produto_plano_pgto_seq_produto_taxa_fkey"
  1276. pg_restore: creating FK CONSTRAINT "public.produto_catraca produto_produto_catraca_fk"
  1277. pg_restore: creating FK CONSTRAINT "public.produto_taxa produto_produto_taxa_fk"
  1278. pg_restore: creating FK CONSTRAINT "public.produto_escolinha_turma produto_produto_taxa_fk"
  1279. pg_restore: creating FK CONSTRAINT "public.movimento_cobranca produto_taxa_matricula_cobranca_fk"
  1280. pg_restore: creating FK CONSTRAINT "public.movimento_item produto_taxa_movimento_item_fk"
  1281. pg_restore: creating FK CONSTRAINT "public.pessoa profissao_pessoa_fk"
  1282. pg_restore: creating FK CONSTRAINT "public.cobranca_titulo remessa_cobranca_titulo_fk"
  1283. pg_restore: creating FK CONSTRAINT "public.sangria sessao_sangria_fk"
  1284. pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto sessao_sessao_evento_produto_fk"
  1285. pg_restore: creating FK CONSTRAINT "public.troco sessao_troco_fk"
  1286. pg_restore: creating FK CONSTRAINT "public.assento setor_assento_fk"
  1287. pg_restore: creating FK CONSTRAINT "public.portao setor_portao_fk"
  1288. pg_restore: creating FK CONSTRAINT "public.produto_taxa taxa_produto_taxa_fk"
  1289. pg_restore: creating FK CONSTRAINT "public.sangria usuario_sangria_fk"
  1290. pg_restore: creating FK CONSTRAINT "public.sessao_evento_produto usuario_sessao_evento_produto_fk"
  1291. pg_restore: creating FK CONSTRAINT "public.sessao usuario_sessao_fk"
  1292. pg_restore: creating FK CONSTRAINT "public.usuario usuario_tipo_usuario_fk"
  1293. pg_restore: creating FK CONSTRAINT "public.troco usuario_troco_fk"
  1294. WARNING: errors ignored on restore: 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement