I know that this is fairly old question and in the majority case I agree with Chris that it's not something you would actually want to do (since any foreign keys will present problems unless you restore tables in the exact order); however since it's a fairly high result in a google search for the question I asked and no-one actually gave an answer to the question itself, this might be helpful with the caveat that you probably shouldn't use it unless you know what you're doing...
This bash script (I won't call it a one-liner because it's not really, although it will work if you just paste it into the command line) outputs the table list (for the public schema) from psql and runs each table separately through pg_dump, then merges the constraints into the main table definition, outputting each table result to a file named based on the tablename.
You could also SELECT from the schema tables to grab the table names rather than parsing the output from \dt; I reckon it's probably about as difficult to remember how to do one as the other.
It's what I needed for my particular application, I make no guarantees that it will work for yours (or indeed for a particular version of pg_dump), but you shouldn't have many problems modifying it. There are certainly better ways to do the second part (using awk, probably) but this was simple and did the job. I ignore everything except the table creation, constraints and ownership; if you want to add other lines then you need to add extra tests to the /OWNER TO/ line...
DB=mydb; s=1; psql -tA -F, -c '\dt public.*' $DB | cut -f2 -d, | while read t ; do
(
rm -f "$t.sql2"; pg_dump -sx -t "$t" $DB | grep -v -e '^--' -e '^set' -i | while read a; do
if [ $s -eq 1 ] ; then
if [ "a$a" = 'a);' ] ; then s=2 ; else echo $a ; fi;
elif [ $s -eq 2 ] ; then
b=$(echo $a | sed -e 's/\s*ADD CONSTRAINT\(.*\);/CONSTRAINT \1/')
if [ "a$b" != "a$a" ] ; then
echo ",$b"
elif [ "a$a" != "a${a/OWNER TO/}" ] ; then
echo $a >> "$t.sql2"
fi
fi
done
echo ");"
) > "$t.sql"
if test -f "$t.sql2" ; then cat "$t.sql2" >> "$t.sql"; rm -f "$t.sql2"; fi
done