Merge pull request #16127 from Envek/fix_16111

Dump PostgreSQL primary key with custom function as a default.

Conflicts:
	activerecord/CHANGELOG.md
	activerecord/test/cases/adapters/postgresql/uuid_test.rb