pg_sample icon indicating copy to clipboard operation
pg_sample copied to clipboard

Several changes

Open mangust404 opened this issue 11 years ago • 2 comments

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.

mangust404 avatar Apr 28 '15 12:04 mangust404

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:

https://github.com/mla/pg_sample/pull/4 Commit Summary

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

File Changes

  • M pg_sample https://github.com/mla/pg_sample/pull/4/files#diff-0 (129)

Patch Links:

  • https://github.com/mla/pg_sample/pull/4.patch
  • https://github.com/mla/pg_sample/pull/4.diff

— Reply to this email directly or view it on GitHub https://github.com/mla/pg_sample/pull/4.

mla avatar Apr 30 '15 06:04 mla

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?

mla avatar May 03 '15 03:05 mla