Where in the system catalog is the function body stored?

前端 未结 2 1374
小鲜肉
小鲜肉 2021-01-24 22:56

I am trying to build a documentation system for my database and I would like to include the source of my functions and triggers.

I managed to find all of the metadata on

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-24 23:08

    For such thing I used pg_dump --schema_only [database] but now I use my specialized tool to report schema in easy to compare format:

    http://code.activestate.com/recipes/576557-dump-postgresql-db-schema-to-text/

    Of course it reads function/procedure bodies/

提交回复
热议问题