Closed joelonsql closed 4 months ago
--extension-name
New
cargo-pgrx
execute
extension_name
create_crate_template
create_control_file
create_lib_rs
name
This change allows users to specify a different PostgreSQL extension name when creating a new extension crate using pgrx new.
pgrx new
--extension-name
parameter to theNew
struct incargo-pgrx
.execute
method to use the providedextension_name
if available, defaulting to the crate name otherwise.create_crate_template
to passextension_name
to template functions.create_control_file
,create_lib_rs
, and template files to useextension_name
instead ofname
.This change allows users to specify a different PostgreSQL extension name when creating a new extension crate using
pgrx new
.