timescaledb-toolkit icon indicating copy to clipboard operation
timescaledb-toolkit copied to clipboard

use pgx::prelude::* instead of pgx::*

Open syvb opened this issue 2 years ago • 0 comments

pgx 0.5.0 adds a prelude. Instead of importing pgx::* everywhere, we can now do use pgx::prelude::* instead and not import everything (importing everything pollutes the scope of the importer and makes it less clear where an item came from).

We should update Toolkit to use the prelude everywhere and remove all glob imports of pgx::*.

syvb avatar Oct 18 '22 16:10 syvb