postgresql中的替代变量实现
postgres=# select * from tab_lei_1; c1 | c2 ----+---- (0 rows) postgres=# \set abc 'tab_lei_1' postgres=# select * from :abc; c1 | c2 ----+---- (0 rows) postgres=#
postgresql中的替代变量实现
postgres=# select * from tab_lei_1; c1 | c2 ----+---- (0 rows) postgres=# \set abc 'tab_lei_1' postgres=# select * from :abc; c1 | c2 ----+---- (0 rows) postgres=#