pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Leandro Rodrigo Saad Cruz <leandro@ibnetwork.com.br>
To: pgsql-admin@postgresql.org
Subject: problems using pg_dump and datestyle format
Date: Wed, 12 Sep 2001 15:16:23 -0300
Message-ID: <3B9FA677.E5808687@ibnetwork.com.br> (raw)

Hi all, I have changed the host I run PostgreSQL using pg_dump to move
the data.
Is there any issue related to datastyle or locales and pg_dump ??
I think that all dates on my columns got modified some how !
I used to make a query like 

set datestyle 'sql,european'; select * from mytbl where date <
'dd/mm/yyyy';
but that's not working anymore because I'm getting a 
PostgreSQL Error: 1 (ERROR: Bad date external representation
'08/18/2001' )

please help !

-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)

Attachments:

leandro.vcf (text/x-vcard, 186B) download begin:vcard n:Saad Cruz;Leandro x-mozilla-html:FALSE org:Inter Business;IT adr:;;;;;; version:2.1 email;internet:leandro@ibnetwork.com.br x-mozilla-cpt:;0 fn:Leandro Saad Cruz end:vcard

Message-ID: <3B9FA677.E5808687@ibnetwork.com.br>
Permalink:  ../3B9FA677.E5808687@ibnetwork.com.br/
Also on:    postgresql.org/message-id/3B9FA677.E5808687@ibnetwork.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: leandro@ibnetwork.com.br
  Subject: Re: problems using pg_dump and datestyle format
  In-Reply-To: <3B9FA677.E5808687@ibnetwork.com.br>
  References: <3B9FA677.E5808687@ibnetwork.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox