Hubert 'depesz' Lubaczewski:如何获取一行及其所有依赖项?
This question was asked at least twice on some support channel. Getting a row is trivial: select * from table where id = ?. But what about dependencies – the rows that this exported row...
通过创建函数export_row、get_row_data和export_data,可以实现从多个表中导出数据,并且可以跟踪单列的外键,可以下载所有函数文件,使用起来方便快捷。