0
我使用postgresql和timecaledb fork一起工作(它的性能非常令人印象深刻)
我得到一个脚本,用于下载数据,修改它并放入csv文件。 然后,PSQL调用脚本来创建数据插入到数据库中
Postgresql/Timescaledb错误:不应该使用不推荐的触发器函数
psql -U postgres -d q1 -c "CREATE TABLE tmpp (time bigint NOT NULL, ask real NOT NULL, bid real NOT NULL)"
psql -U postgres -d q1 -c "\copy tmpp (time, ask, bid) from '/sth/sth.csv' delimiter ',' CSV"
psql -U postgres -d q1 -c "insert into realfun select * from tmpp"
psql -U postgres -d q1 -c "DROP TABLE tmpp"
有趣的是一个临时表,它之前为我工作,但现在我得到了一个错误:
ERROR: Deprecated trigger function should not be invoked
我一定有搞砸了,但不知道它是什么[原创]
我会很乐意提供更多的细节,如果需要
我找不到任何类似的谷歌,请告知
它现在的作品,非常感谢! – krq