pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: COPY and custom datestyles. Or some other technique?
Date: Wed, 29 Mar 2023 20:44:56 -0500
Message-ID: <79caca69-54c5-1129-fa35-94c4a07b5608@gmail.com> (raw)
In-Reply-To: <906ddad7-43a9-b9bd-e75b-fae24ed5d3fa@evolvis.org>
References: <c1b6aa5b-61ca-1ab6-6295-172fbc0f6c21@gmail.com>
	<906ddad7-43a9-b9bd-e75b-fae24ed5d3fa@evolvis.org>

On 3/29/23 19:20, Thorsten Glaser wrote:
> On Wed, 29 Mar 2023, Ron wrote:
>
>> There are 550+ tables, so something that I can do once on this end would make
>> my life a lot easier.
> Some quick perl or awk or shell job to batch-change the field
> to an accepted syntax is probably quicker.

Even easier would be to create views on the source which cast from DATE VMS 
to TIMESTAMP(2).

Whatever the method, it all added up to lots places where I can make an 
error or overlook something.

-- 
Born in Arizona, moved to Babylonia.





view thread (9+ messages)  latest in thread

Message-ID: <79caca69-54c5-1129-fa35-94c4a07b5608@gmail.com>
Permalink:  ../79caca69-54c5-1129-fa35-94c4a07b5608@gmail.com/
Also on:    postgresql.org/message-id/79caca69-54c5-1129-fa35-94c4a07b5608@gmail.com

 · 

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-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: COPY and custom datestyles. Or some other technique?
  In-Reply-To: <79caca69-54c5-1129-fa35-94c4a07b5608@gmail.com>
  References: <c1b6aa5b-61ca-1ab6-6295-172fbc0f6c21@gmail.com> <906ddad7-43a9-b9bd-e75b-fae24ed5d3fa@evolvis.org> <79caca69-54c5-1129-fa35-94c4a07b5608@gmail.com>

* 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