Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

390
Visualizações
PSQL \COPY output encoding issue

I have a weird situation where \COPY command is creating files encoded in USASCII even though I specify the encoding to be LATIN1. Since I am using Amazon RDS this is the only way for me to extract data out of RDS and load into Redshift. Has anyone come across this? Any guidance on this.

Tried using PGCLIENTENCODING and setting it to LATIN1 and executed the shell script but no luck.

Per the documentation of \COPY command it pipes output of SQL to STDOUT and pipes it out to file. I was expecting to get consistent file encoding, but I am not getting which is not helping character conversion on Redshift end.

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda