daily pastebin goal
86%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CD diretorio  
  2.    SET PGUSER=usuario  
  3.    SET PGPASSWORD=senha  
  4.    pg_dump --host=ipDoServidor -p 5432 -v -f base.dump nomeDaBase
  5.      
  6. pg_dump: copiando conteúdo da tabela tabelaA
  7. pg_dump: copiando conteúdo da tabela tabelaB
  8. pg_dump: copiando conteúdo da tabela tabelaC
  9.      
  10. CREATE TABLE resultadopasso
  11. (
  12.   rsp_id integer serial,
  13.   exp_id integer NOT NULL, -- Identificador sequencial interno da execução passo
  14.   rsp_dataregistro date NOT NULL, -- Data de registro do resultado do passo
  15.   rsp_descricao text -- Descricao do resultado do passo
  16. )
  17. WITH (
  18.   OIDS=FALSE
  19. );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top