ナガノです。自己レスです。 > ERROR: function setval("unknown", numeric) does not exist > HINT: No function matches the given name and argument types. You may need to ad > d explicit type casts. シーケンスを使っているカラムの型をnumericに変更していました。integerにす れば問題ないかもしれない・・・。やっぱり初歩的なミス。やってしまいました。