dbTalk Databases Forums  

(newbie) I'd like pg_dump to act like mysqldump

comp.databases.postgresql.questions comp.databases.postgresql.questions


Discuss (newbie) I'd like pg_dump to act like mysqldump in the comp.databases.postgresql.questions forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bobb
 
Posts: n/a

Default (newbie) I'd like pg_dump to act like mysqldump - 05-25-2004 , 07:31 PM






Hi, we're converting from mysql to postgres...
Today I syncronize many databases using a "where" clause to get complete
inserts to insert to other databases from the
command line as follows... (actually, I don't do it, but my python scripts
do

mysqldump -hhost -uuser -ppassword -c -t "--where=field=value" database
table > tabledumpwithwhereclause.sql

Is there any way to do this in postgres, or is a paradigm shift that I have
to worry about?
tia

bobb





Reply With Quote
  #2  
Old   
bobb
 
Posts: n/a

Default Re: (newbie) I'd like pg_dump to act like mysqldump - 06-01-2004 , 07:09 AM






Ok maybe not....
Can i pipe a select into pg_dump as input?

hello? is this thing on?


Quote:
inserts to insert to other databases from the
command line as follows... (actually, I don't do it, but my python scripts
do

mysqldump -hhost -uuser -ppassword -c -t "--where=field=value" database
table > tabledumpwithwhereclause.sql

Is there any way to do this in postgres, or is a paradigm shift that I
have
to worry about?
tia

bobb







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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.