On Wed, Mar 2, 2016 at 4:56 PM, drum(dot)lucas(at)gmail(dot)com <drum(dot)lucas(at)gmail(dot)com>
wrote:
> I wanna do a minimal dump DB file. (I'm using PostgreSQL 9.2)
> So I was thinking about getting the last 1000 rows data from some
> tables....
>
Have a look at pg_sample, it should do exactly what you are looking to do.
https://github.com/mla/pg_sample