Dear all.

 

I suggest adding a limit option to the copy function that limits count of input/output.

I think this will be useful for testing with sample data.

Usage is similar to SELECT LIMIT.

 

COPY TO : COPY (Table) TO '(File)' CSV LIMIT (count);

COPY FROM : COPY (Table) FROM '(File)' BINARY LIMIT (count);

 

Attachment: copy-limit-feature.patch
Description: Binary data

Reply via email to