List all schema’s function code:

 psql -U postgres my_db  -c '\df+ partman.*'| \
cut -d '|' -f2,10|sed -s 's/                               //g'|less