Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several changes #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Several changes #4

wants to merge 4 commits into from

Conversation

mangust404
Copy link

Hi!

At first thank you for the nice script :-)

I'm facing a problem of making a small development snapshot from my production database and then I've found your script at stackoverflow. It has almost solve my problem except few little things.

I hope you will like these changes.

Sorry for my dump style, I'm not a perl developer and it's my second attempt to make something in it :-)
So if you want to make some syntax fixes, I will not mind.

postgres and others added 4 commits April 28, 2015 11:45
----

Move all tables affected by limit rules to the end of the sample dump because they may contains a subquery to tables in sample dump.
Added bypass to disable binmode when it's a utf-8 but it's not a solution
@mla
Copy link
Owner

mla commented Apr 30, 2015

Hey there. Thanks very much for this. I'll try to take a look at them over
the weekend.

You did vote for my solution on SO? ;)

Best,

Maurice

On Tue, Apr 28, 2015 at 5:06 AM, Eric [email protected] wrote:

Hi!

At first thank you for the nice script :-)

I'm facing a problem of making a small development snapshot from my
production database and then I've found your script at stackoverflow. It
has almost solve my problem except few little things.

I hope you will like these changes.

Sorry for my dump style, I'm not a perl developer and it's my second
attempt to make something in it :-)

So if you want to make some syntax fixes, I will not mind.

You can view, comment on, or merge this pull request online at:

#4
Commit Summary

  • added posibility to specify order by primary key
  • Subquery-friendly limit rules.
  • Support of nested tables

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#4.

@mla
Copy link
Owner

mla commented May 3, 2015

What's the deal with the binmode issue? I tried --encoding=utf8 and --encoding=utf-8 and it seemed to work fine.

You're seeing problems with it? What Perl version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants