BEGIN;
DROP TABLE IF EXISTS mytable;
CREATE TABLE mytable (
	id serial,
	text varchar(100)
);

INSERT INTO mytable(text)
SELECT md5(random()::text) FROM generate_series(1, 10)
-- returning *
;
COMMIT;
