pgrx icon indicating copy to clipboard operation
pgrx copied to clipboard

Rename `pgx-utils` into something more meaningful, such as `pgx-sqlgen` or equivalent

Open BradyBonnette opened this issue 2 years ago • 2 comments

Some work was done to remove a lot of dependencies out of the critical build path, as a result of https://github.com/tcdi/pgx/pull/645

Essentially pgx-utils was stripped of functionality that really could be implemented other spots. At the end of the day, pgx-utils now only contains code that handles internal SQL entities parsing/mappings.

Even though this would be a small refactor, it lends itself to something being named appropriately instead of generically.

BradyBonnette avatar Aug 26 '22 14:08 BradyBonnette

<joke>pgx-compiler</joke>

workingjubilee avatar Sep 02 '22 02:09 workingjubilee

@workingjubilee I think it could be billed as a transpiler. :smirk:

Hoverbear avatar Sep 09 '22 20:09 Hoverbear

@eeeebbbbrrrr weighed in and thinks that it might be preferable to keep pgx-utils for another round and try to whittle all of the crate down to nothing, moving components into pgx-macros, cargo-pgx, and pgx-pg-sys as appropriate.

workingjubilee avatar Oct 06 '22 00:10 workingjubilee