Unix Technical Forum

exporting table for load into oracle

This is a discussion on exporting table for load into oracle within the Pgsql General forums, part of the PostgreSQL category; --> hi everybody first, it is not that i'm migrating from postgresql to oracle, it's just that we have a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 07:48 PM
miguel angel rojas aquino
 
Posts: n/a
Default exporting table for load into oracle

hi everybody

first, it is not that i'm migrating from postgresql to oracle, it's just
that we have a payroll system (we are a software development company)
that currently runs on postgresql, but the goal is that it runs on other
databases too (for our internal needs it runs on postgresql, and two of
our clients run in postgresql too), so now i need to test it on oracle

i've done a dump of our data, but we are having troubles with the date
fields, as pg_dump just dumps dates as 'yyyy-mm-dd', but when loading
into oracle, it just can't handle dates this way, it needs an explicit
mask (to_date....) when importing the sql dump

so the question is, there is a way to instruct pg_dump to dump dates
with the to_date function included?

i've searched in the pg_dump docs, but didn't find any wat to achieve my
goal

thanks in advance for your responses, and best wishes


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com