filecoin-project / sentinel-drone

An analytics capture agent for lotus daemon which is forked from Telegraf (https://github.com/influxdata/telegraf) to support custom input/output plugins.
MIT License
6 stars 4 forks source link

don't use dots #9

Closed coryschwartz closed 4 years ago

coryschwartz commented 4 years ago

It is unusual to have relations with dots in the name.

> select * from chain.block;
ERROR:  relation "chain.block" does not exist
LINE 1: select * from chain.block;
                      ^

Of course this works if you quote, but this is a minor annoyance. You have to make the selection like this.

> select * from "chain.block";
...

Dots are typically used to delineate components of the database, such as table_name.column_name so it just looks strange.