我正在处理pg_dump
。以下是开始时的日志:
pg_dump: reading schemas
pg_dump: reading user-defined functions
pg_dump: reading user-defined types
pg_dump: reading procedural languages
pg_dump: reading user-defined aggregate functions
pg_dump: reading user-defined operators
pg_dump: reading user-defined operator classes
pg_dump: reading user-defined operator families
pg_dump: reading user-defined conversions
pg_dump: reading user-defined tables
pg_dump: reading table inheritance information
pg_dump: reading rewrite rules
pg_dump: reading type casts
pg_dump: finding inheritance relationships
pg_dump: reading column info for interesting tables
pg_dump:...............
pg_dump:...............
pg_dump: reading column info for interesting tables
pg_dump:...............
是什么
正在读取感兴趣的表的列信息
刻薄?
它没有读取所有表的此信息吗?同样在我的pg_dump
中,我已经执行了两次。为什么会这样?
此消息在执行getTableAttrs
功能之前,以pg_dump
的verbose
模式发出。此函数收集有关所有可转储表的所有属性(列)的信息,从而显示消息"…for interest tables"。
函数getTableAttrs
是从这里调用的(这个是消息的来源),在getSchemaData
函数内部,这意味着数据是按模式处理的。
我假设您的作用域中有两个模式,因此您会看到两次此消息。