testdb=# \df
List of functions
Schema | Name | Result data type | Argument data types | Type
--------+-----------------+------------------+---------------------+------
func1 | sample_func | SETOF integer | text | func
public | log_time_writer | trigger | | func
(2 rows)
testdb=# SELECT * FROM sample ORDER BY id;
id | cutomer | staff
----+---------+-------
1| 顧客A | 佐藤
4| 顧客B | 佐藤
6| 顧客D | 渡辺
(3 rows)