xxd -ps -c 16 -l $bignum < /dev/urandom | (echo '\copy random_data from stdin'; cat) | psql
shuf -i 1-$bignum
shuf -i 1-$bignum -r -n $bignum