From 91571cd318008d527758d473fc682e354d6efd6d Mon Sep 17 00:00:00 2001 From: Brady Bonnette Date: Thu, 12 Feb 2026 17:30:13 -0500 Subject: [PATCH 1/3] License updates first pass --- .licensure.yml | 13 ++++++++++--- Dockerfile.try | 6 ++++++ plrust-tests/run-tests.sh | 6 ++++++ plrust-tests/src/alter.rs | 4 ++-- plrust-tests/src/argument.rs | 4 ++-- plrust-tests/src/basic.rs | 4 ++-- plrust-tests/src/blocked_code.rs | 4 ++-- plrust-tests/src/borrow_mut_error.rs | 4 ++-- plrust-tests/src/ddl.rs | 4 ++-- plrust-tests/src/dependencies.rs | 4 ++-- plrust-tests/src/fn_call.rs | 14 +++++++------- plrust-tests/src/lib.rs | 18 +++++++++--------- plrust-tests/src/matches.rs | 4 ++-- plrust-tests/src/panics.rs | 4 ++-- plrust-tests/src/range.rs | 4 ++-- plrust-tests/src/recursion.rs | 4 ++-- plrust-tests/src/return_values.rs | 4 ++-- plrust-tests/src/round_trip.rs | 4 ++-- plrust-tests/src/time_and_dates.rs | 4 ++-- plrust-tests/src/trusted.rs | 4 ++-- plrust-tests/src/user_defined_types.rs | 4 ++-- plrust-tests/src/versioning.rs | 4 ++-- plrust-trusted-pgrx/src/lib.rs | 7 +++++++ plrust/build | 6 ++++++ plrust/build.rs | 4 ++-- plrust/src/allow_list.rs | 7 +++++++ plrust/src/error.rs | 7 +++++++ plrust/src/gucs.rs | 6 +++--- plrust/src/hooks.rs | 4 ++-- plrust/src/lib.rs | 4 ++-- plrust/src/logging.rs | 7 +++++++ plrust/src/pgproc.rs | 7 +++++++ plrust/src/plrust.rs | 8 ++++---- plrust/src/prosrc.rs | 7 +++++++ plrust/src/target.rs | 7 +++++++ plrust/src/tests.rs | 4 ++-- plrust/src/user_crate/build.rs | 7 +++++++ plrust/src/user_crate/capabilities.rs | 7 +++++++ plrust/src/user_crate/cargo.rs | 7 +++++++ plrust/src/user_crate/crate_variant.rs | 7 +++++++ plrust/src/user_crate/crating.rs | 7 +++++++ plrust/src/user_crate/lint.rs | 7 +++++++ plrust/src/user_crate/loading.rs | 7 +++++++ plrust/src/user_crate/mod.rs | 7 +++++++ plrust/src/user_crate/ready.rs | 7 +++++++ plrust/src/user_crate/validate.rs | 7 +++++++ plrust/src/user_crate/verify.rs | 7 +++++++ plrustc/build.sh | 6 ++++++ plrustc/plrustc/src/lints/async_await.rs | 7 +++++++ plrustc/plrustc/src/lints/autotrait_impls.rs | 7 +++++++ plrustc/plrustc/src/lints/builtin_macros.rs | 7 +++++++ .../plrustc/src/lints/closure_trait_impl.rs | 7 +++++++ plrustc/plrustc/src/lints/extern_blocks.rs | 7 +++++++ plrustc/plrustc/src/lints/external_mod.rs | 7 +++++++ plrustc/plrustc/src/lints/fn_ptr.rs | 7 +++++++ plrustc/plrustc/src/lints/force_ice.rs | 7 +++++++ plrustc/plrustc/src/lints/leaky.rs | 7 +++++++ .../plrustc/src/lints/lifetime_param_trait.rs | 7 +++++++ plrustc/plrustc/src/lints/mod.rs | 7 +++++++ plrustc/plrustc/src/lints/print_macros.rs | 7 +++++++ plrustc/plrustc/src/lints/static_impls.rs | 7 +++++++ plrustc/plrustc/src/lints/stdio.rs | 7 +++++++ plrustc/plrustc/src/lints/sus_trait_object.rs | 7 +++++++ plrustc/plrustc/src/lints/utils.rs | 7 +++++++ plrustc/plrustc/src/main.rs | 7 +++++++ plrustc/plrustc/tests/uitests.rs | 7 +++++++ plrustc/plrustc/uitests/async_await.rs | 7 +++++++ plrustc/plrustc/uitests/async_await.stderr | 6 ++++++ plrustc/plrustc/uitests/extern_block.rs | 7 +++++++ plrustc/plrustc/uitests/extern_block.stderr | 6 ++++++ plrustc/plrustc/uitests/external_mod.rs | 7 +++++++ plrustc/plrustc/uitests/external_mod.stderr | 6 ++++++ .../uitests/external_mod_included_file.txt | 6 ++++++ plrustc/plrustc/uitests/fn_pointer.rs | 7 +++++++ plrustc/plrustc/uitests/fn_pointer.stderr | 6 ++++++ plrustc/plrustc/uitests/fn_traits.rs | 7 +++++++ plrustc/plrustc/uitests/fn_traits.stderr | 6 ++++++ plrustc/plrustc/uitests/fs_macros.rs | 7 +++++++ plrustc/plrustc/uitests/fs_macros.stderr | 6 ++++++ .../uitests/fs_macros_included_file.txt | 6 ++++++ plrustc/plrustc/uitests/ice_hook.rs | 7 +++++++ plrustc/plrustc/uitests/ice_hook.stderr | 6 ++++++ plrustc/plrustc/uitests/impl_auto_trait.rs | 7 +++++++ plrustc/plrustc/uitests/impl_auto_trait.stderr | 6 ++++++ plrustc/plrustc/uitests/leaky.rs | 7 +++++++ plrustc/plrustc/uitests/leaky.stderr | 6 ++++++ plrustc/plrustc/uitests/lifetime_trait.rs | 7 +++++++ plrustc/plrustc/uitests/lifetime_trait.stderr | 6 ++++++ plrustc/plrustc/uitests/print_macros.rs | 7 +++++++ plrustc/plrustc/uitests/print_macros.stderr | 6 ++++++ plrustc/plrustc/uitests/static_closure.rs | 7 +++++++ plrustc/plrustc/uitests/static_closure.stderr | 6 ++++++ plrustc/plrustc/uitests/static_impl_etc.rs | 7 +++++++ plrustc/plrustc/uitests/static_impl_etc.stderr | 6 ++++++ plrustc/plrustc/uitests/static_impl_unsound.rs | 7 +++++++ .../plrustc/uitests/static_impl_unsound.stderr | 6 ++++++ plrustc/plrustc/uitests/stdio.rs | 7 +++++++ plrustc/plrustc/uitests/stdio.stderr | 6 ++++++ plrustc/plrustc/uitests/sus_trait_obj_alias.rs | 7 +++++++ .../plrustc/uitests/sus_trait_obj_alias.stderr | 6 ++++++ plrustc/plrustc/uitests/sus_trait_obj_items.rs | 7 +++++++ .../plrustc/uitests/sus_trait_obj_items.stderr | 6 ++++++ .../plrustc/uitests/sus_trait_obj_transmute.rs | 7 +++++++ .../uitests/sus_trait_obj_transmute.stderr | 6 ++++++ .../plrustc/uitests/sus_trait_object_gat.rs | 7 +++++++ .../uitests/sus_trait_object_gat.stderr | 6 ++++++ .../uitests/tuple_struct_self_pat_box.rs | 7 +++++++ .../uitests/tuple_struct_self_pat_box.stderr | 6 ++++++ .../tuple_struct_self_pat_local_priv.rs | 7 +++++++ .../tuple_struct_self_pat_local_priv.stderr | 6 ++++++ .../tuple_struct_self_pat_should_pass.rs | 7 +++++++ publish.sh | 7 +++---- sql/plrust--1.0--1.1.sql | 7 +++++++ update-version.sh | 7 +++---- upgrade-deps.sh | 6 ++++++ 115 files changed, 662 insertions(+), 76 deletions(-) diff --git a/.licensure.yml b/.licensure.yml index 0915449a..66cd8fb1 100644 --- a/.licensure.yml +++ b/.licensure.yml @@ -2,9 +2,12 @@ change_in_place: true excludes: - Cargo.toml - Cargo.lock + - rust-toolchain.toml - LICENSE - ".envrc" - ".gitignore" + - ".dockerignore" + - "doc/book.toml" - "flake\\..*" - "logo.*" - ".github/**/*" @@ -14,6 +17,7 @@ excludes: - ".*\\.md" - ".*\\.nix" - ".*\\.yml" + - ".*\\.png" licenses: - files: any ident: PostgreSQL @@ -21,9 +25,12 @@ licenses: - name: Technology Concepts & Design, Inc. email: opensource@tcdi.com template: | - Copyright 2021-2023 Technology Concepts & Design, Inc. - - Use of this source code is governed by the [ident] license that can be found in the LICENSE.md file. + Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + + All rights reserved. + + Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. + comments: - columns: 120 extensions: diff --git a/Dockerfile.try b/Dockerfile.try index 3d13ce5b..3e497d56 100644 --- a/Dockerfile.try +++ b/Dockerfile.try @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. # Example of how to build and run this Dockerfile: # docker build -f Dockerfile.try -t tcdi/try-plrust . # Build the container # docker run -it tcdi/try-plrust # Run the container diff --git a/plrust-tests/run-tests.sh b/plrust-tests/run-tests.sh index a90e6067..de984cf5 100755 --- a/plrust-tests/run-tests.sh +++ b/plrust-tests/run-tests.sh @@ -1,4 +1,10 @@ #! /bin/bash +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. VERSION=$1 diff --git a/plrust-tests/src/alter.rs b/plrust-tests/src/alter.rs index 78216270..ac5ee141 100644 --- a/plrust-tests/src/alter.rs +++ b/plrust-tests/src/alter.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/argument.rs b/plrust-tests/src/argument.rs index 1bc2a270..5b7952ee 100644 --- a/plrust-tests/src/argument.rs +++ b/plrust-tests/src/argument.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/basic.rs b/plrust-tests/src/basic.rs index 10e882d7..46d1a024 100644 --- a/plrust-tests/src/basic.rs +++ b/plrust-tests/src/basic.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/blocked_code.rs b/plrust-tests/src/blocked_code.rs index 3376dfe6..206cd8a3 100644 --- a/plrust-tests/src/blocked_code.rs +++ b/plrust-tests/src/blocked_code.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/borrow_mut_error.rs b/plrust-tests/src/borrow_mut_error.rs index d78162f9..0796e353 100644 --- a/plrust-tests/src/borrow_mut_error.rs +++ b/plrust-tests/src/borrow_mut_error.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/ddl.rs b/plrust-tests/src/ddl.rs index 44fb1383..6143c8c9 100644 --- a/plrust-tests/src/ddl.rs +++ b/plrust-tests/src/ddl.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/dependencies.rs b/plrust-tests/src/dependencies.rs index 08a20180..2b0c44d0 100644 --- a/plrust-tests/src/dependencies.rs +++ b/plrust-tests/src/dependencies.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/fn_call.rs b/plrust-tests/src/fn_call.rs index b17ddcdc..26349af3 100644 --- a/plrust-tests/src/fn_call.rs +++ b/plrust-tests/src/fn_call.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] @@ -17,16 +17,16 @@ mod tests { fn plrust_fn_call() -> spi::Result<()> { let sql = r#" CREATE FUNCTION dynamic_function(i int) RETURNS int LANGUAGE plrust AS $$ Ok(i) $$; - + CREATE FUNCTION test_plrust_fn_call() RETURNS int LANGUAGE plrust - AS $$ + AS $$ let result = fn_call("dynamic_function", &[&Arg::Value(42i32)]); - + assert_eq!(result, Ok(Some(42i32))); - + Ok(None) $$; - + SELECT test_plrust_fn_call(); "#; Spi::run(sql) diff --git a/plrust-tests/src/lib.rs b/plrust-tests/src/lib.rs index b0e72743..5f3d7a6f 100644 --- a/plrust-tests/src/lib.rs +++ b/plrust-tests/src/lib.rs @@ -1,3 +1,12 @@ +/* +Portions Copyright 2020-2021 ZomboDB, LLC. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +*/ + mod alter; mod argument; mod basic; @@ -21,15 +30,6 @@ use pgrx::prelude::*; pgrx::pg_module_magic!(); -/* -Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ - #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/plrust-tests/src/matches.rs b/plrust-tests/src/matches.rs index 13c7b56a..d47621bb 100644 --- a/plrust-tests/src/matches.rs +++ b/plrust-tests/src/matches.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/panics.rs b/plrust-tests/src/panics.rs index 9db4b48d..660dd85a 100644 --- a/plrust-tests/src/panics.rs +++ b/plrust-tests/src/panics.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/range.rs b/plrust-tests/src/range.rs index eacbbb1f..e4e1273b 100644 --- a/plrust-tests/src/range.rs +++ b/plrust-tests/src/range.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/recursion.rs b/plrust-tests/src/recursion.rs index 12817423..8046a107 100644 --- a/plrust-tests/src/recursion.rs +++ b/plrust-tests/src/recursion.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/return_values.rs b/plrust-tests/src/return_values.rs index 0e4b79a8..2a76adaa 100644 --- a/plrust-tests/src/return_values.rs +++ b/plrust-tests/src/return_values.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/round_trip.rs b/plrust-tests/src/round_trip.rs index dbb2eab4..24d796bb 100644 --- a/plrust-tests/src/round_trip.rs +++ b/plrust-tests/src/round_trip.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/time_and_dates.rs b/plrust-tests/src/time_and_dates.rs index 472ae381..dfc170ef 100644 --- a/plrust-tests/src/time_and_dates.rs +++ b/plrust-tests/src/time_and_dates.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/trusted.rs b/plrust-tests/src/trusted.rs index 33b373a6..ec39d5d8 100644 --- a/plrust-tests/src/trusted.rs +++ b/plrust-tests/src/trusted.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/user_defined_types.rs b/plrust-tests/src/user_defined_types.rs index 18ae7d2f..887b7598 100644 --- a/plrust-tests/src/user_defined_types.rs +++ b/plrust-tests/src/user_defined_types.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/versioning.rs b/plrust-tests/src/versioning.rs index 69d4147d..d345974a 100644 --- a/plrust-tests/src/versioning.rs +++ b/plrust-tests/src/versioning.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-trusted-pgrx/src/lib.rs b/plrust-trusted-pgrx/src/lib.rs index 3a223b3a..600ee67f 100644 --- a/plrust-trusted-pgrx/src/lib.rs +++ b/plrust-trusted-pgrx/src/lib.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ //! `plrust-trusted-pgrx` is a re-export crate based on [pgrx](https://crates.io/crates/pgrx) which exposes //! the minimal set of `pgrx` internals necessary for `plrust` function compilation. `plrust-trusted-pgrx` //! also includes a number of Rust types for interoperating with Postgres types, access to Postgres' diff --git a/plrust/build b/plrust/build index 678bcfec..00b7336b 100755 --- a/plrust/build +++ b/plrust/build @@ -1,4 +1,10 @@ #!/usr/bin/env bash +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. set -xe if [ -z "$STD_TARGETS" ]; then diff --git a/plrust/build.rs b/plrust/build.rs index c0a786e0..62b6e8ad 100644 --- a/plrust/build.rs +++ b/plrust/build.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ use std::error::Error; use std::process::Command; diff --git a/plrust/src/allow_list.rs b/plrust/src/allow_list.rs index 09fce51f..ea606f81 100644 --- a/plrust/src/allow_list.rs +++ b/plrust/src/allow_list.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use crate::gucs::PLRUST_ALLOWED_DEPENDENCIES; use semver::{BuildMetadata, Comparator, Op, Version, VersionReq}; use std::cmp::Ordering; diff --git a/plrust/src/error.rs b/plrust/src/error.rs index 66f787ce..33bde633 100644 --- a/plrust/src/error.rs +++ b/plrust/src/error.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/gucs.rs b/plrust/src/gucs.rs index a165e89c..f48111c4 100644 --- a/plrust/src/gucs.rs +++ b/plrust/src/gucs.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ use std::ffi::CStr; @@ -57,7 +57,7 @@ pub(crate) fn init() { ); GucRegistry::define_string_guc( - "plrust.PATH_override", + "plrust.PATH_override", "The $PATH setting to use for building plrust user functions", "It may be necessary to override $PATH in order to find compilation dependencies such as `cargo`, `cc`, etc", &PLRUST_PATH_OVERRIDE, diff --git a/plrust/src/hooks.rs b/plrust/src/hooks.rs index a4e35e04..9d3ceb36 100644 --- a/plrust/src/hooks.rs +++ b/plrust/src/hooks.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ use std::ffi::CStr; diff --git a/plrust/src/lib.rs b/plrust/src/lib.rs index b0a19fc9..e759bfad 100644 --- a/plrust/src/lib.rs +++ b/plrust/src/lib.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #![doc = include_str!("../../README.md")] diff --git a/plrust/src/logging.rs b/plrust/src/logging.rs index 1132485a..4765447b 100644 --- a/plrust/src/logging.rs +++ b/plrust/src/logging.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/pgproc.rs b/plrust/src/pgproc.rs index 1f09048c..c46683ce 100644 --- a/plrust/src/pgproc.rs +++ b/plrust/src/pgproc.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/plrust.rs b/plrust/src/plrust.rs index ad1abaeb..eea5439b 100644 --- a/plrust/src/plrust.rs +++ b/plrust/src/plrust.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ use std::rc::Rc; @@ -51,8 +51,8 @@ pub(crate) unsafe fn evaluate_function( let user_crate_loaded = if let Some(current) = loaded_symbols_handle.get_mut(&fn_oid) { let current_generation_number = PgProc::new(fn_oid)?.generation_number(); - // `generation_number`` represents the transaction id and command id that inserted this - // row (in this case into pg_catalog.pg_proc). So if it's changed from the last time we + // `generation_number`` represents the transaction id and command id that inserted this + // row (in this case into pg_catalog.pg_proc). So if it's changed from the last time we // loaded the function then we have more work to do... if current.generation_number() != current_generation_number { // the function, which we've previously loaded, was changed by a concurrent session. diff --git a/plrust/src/prosrc.rs b/plrust/src/prosrc.rs index ef8fb6c1..50a38ae3 100644 --- a/plrust/src/prosrc.rs +++ b/plrust/src/prosrc.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/target.rs b/plrust/src/target.rs index 71411c70..0ff06a98 100644 --- a/plrust/src/target.rs +++ b/plrust/src/target.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/tests.rs b/plrust/src/tests.rs index 6ff17da4..ba6974c3 100644 --- a/plrust/src/tests.rs +++ b/plrust/src/tests.rs @@ -1,10 +1,10 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust/src/user_crate/build.rs b/plrust/src/user_crate/build.rs index 29c28602..d241fd3e 100644 --- a/plrust/src/user_crate/build.rs +++ b/plrust/src/user_crate/build.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/user_crate/capabilities.rs b/plrust/src/user_crate/capabilities.rs index 548034e0..f25dd55e 100644 --- a/plrust/src/user_crate/capabilities.rs +++ b/plrust/src/user_crate/capabilities.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use serde::{Deserialize, Serialize}; use std::collections::BTreeSet; diff --git a/plrust/src/user_crate/cargo.rs b/plrust/src/user_crate/cargo.rs index 35684b54..31dfd7f5 100644 --- a/plrust/src/user_crate/cargo.rs +++ b/plrust/src/user_crate/cargo.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/user_crate/crate_variant.rs b/plrust/src/user_crate/crate_variant.rs index 7b646726..9c8a25d4 100644 --- a/plrust/src/user_crate/crate_variant.rs +++ b/plrust/src/user_crate/crate_variant.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/user_crate/crating.rs b/plrust/src/user_crate/crating.rs index d48cc9fe..0b04de49 100644 --- a/plrust/src/user_crate/crating.rs +++ b/plrust/src/user_crate/crating.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/user_crate/lint.rs b/plrust/src/user_crate/lint.rs index 7bc7cecf..81a294c8 100644 --- a/plrust/src/user_crate/lint.rs +++ b/plrust/src/user_crate/lint.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use std::borrow::Borrow; use std::collections::BTreeSet; use std::fmt::{Display, Formatter}; diff --git a/plrust/src/user_crate/loading.rs b/plrust/src/user_crate/loading.rs index 9cbea2e1..e42901e3 100644 --- a/plrust/src/user_crate/loading.rs +++ b/plrust/src/user_crate/loading.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/user_crate/mod.rs b/plrust/src/user_crate/mod.rs index 2adb4a29..1708bd2a 100644 --- a/plrust/src/user_crate/mod.rs +++ b/plrust/src/user_crate/mod.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/user_crate/ready.rs b/plrust/src/user_crate/ready.rs index 7817a376..180e9916 100644 --- a/plrust/src/user_crate/ready.rs +++ b/plrust/src/user_crate/ready.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust/src/user_crate/validate.rs b/plrust/src/user_crate/validate.rs index a85fea5e..7f2a4cbf 100644 --- a/plrust/src/user_crate/validate.rs +++ b/plrust/src/user_crate/validate.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use pgrx::pg_sys; use crate::error::PlRustError; diff --git a/plrust/src/user_crate/verify.rs b/plrust/src/user_crate/verify.rs index b27cae3b..e9f94158 100644 --- a/plrust/src/user_crate/verify.rs +++ b/plrust/src/user_crate/verify.rs @@ -1,4 +1,11 @@ /* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ +/* Copyright 2021-2023 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrustc/build.sh b/plrustc/build.sh index 42315378..c51ac71f 100755 --- a/plrustc/build.sh +++ b/plrustc/build.sh @@ -1,4 +1,10 @@ #!/usr/bin/env bash +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. set -e # set -x diff --git a/plrustc/plrustc/src/lints/async_await.rs b/plrustc/plrustc/src/lints/async_await.rs index eaca931b..d6848576 100644 --- a/plrustc/plrustc/src/lints/async_await.rs +++ b/plrustc/plrustc/src/lints/async_await.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_ast as ast; use rustc_lint::{EarlyContext, EarlyLintPass, LintContext}; use rustc_span::Span; diff --git a/plrustc/plrustc/src/lints/autotrait_impls.rs b/plrustc/plrustc/src/lints/autotrait_impls.rs index 5f33b04c..37a536b0 100644 --- a/plrustc/plrustc/src/lints/autotrait_impls.rs +++ b/plrustc/plrustc/src/lints/autotrait_impls.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; use rustc_span::Span; diff --git a/plrustc/plrustc/src/lints/builtin_macros.rs b/plrustc/plrustc/src/lints/builtin_macros.rs index 123c4fb1..428df5c9 100644 --- a/plrustc/plrustc/src/lints/builtin_macros.rs +++ b/plrustc/plrustc/src/lints/builtin_macros.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use super::utils; use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/closure_trait_impl.rs b/plrustc/plrustc/src/lints/closure_trait_impl.rs index d0a66370..871071d0 100644 --- a/plrustc/plrustc/src/lints/closure_trait_impl.rs +++ b/plrustc/plrustc/src/lints/closure_trait_impl.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ //! Trait objects are [often inferred as 'static][trait-obj-default], //! which can result, when combined with things like boxed closures, //! in an incorrect lifetime also being inferred for the return type. diff --git a/plrustc/plrustc/src/lints/extern_blocks.rs b/plrustc/plrustc/src/lints/extern_blocks.rs index 5c387338..0300e231 100644 --- a/plrustc/plrustc/src/lints/extern_blocks.rs +++ b/plrustc/plrustc/src/lints/extern_blocks.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/external_mod.rs b/plrustc/plrustc/src/lints/external_mod.rs index 82f61be8..b1fa0683 100644 --- a/plrustc/plrustc/src/lints/external_mod.rs +++ b/plrustc/plrustc/src/lints/external_mod.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_ast as ast; use rustc_lint::{EarlyContext, EarlyLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/fn_ptr.rs b/plrustc/plrustc/src/lints/fn_ptr.rs index bfae9899..0223c8b2 100644 --- a/plrustc/plrustc/src/lints/fn_ptr.rs +++ b/plrustc/plrustc/src/lints/fn_ptr.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/force_ice.rs b/plrustc/plrustc/src/lints/force_ice.rs index e1c436b2..85397dba 100644 --- a/plrustc/plrustc/src/lints/force_ice.rs +++ b/plrustc/plrustc/src/lints/force_ice.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_ast as ast; use rustc_lint::{EarlyContext, EarlyLintPass}; use rustc_span::Span; diff --git a/plrustc/plrustc/src/lints/leaky.rs b/plrustc/plrustc/src/lints/leaky.rs index 7880b9ca..71f2b314 100644 --- a/plrustc/plrustc/src/lints/leaky.rs +++ b/plrustc/plrustc/src/lints/leaky.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/lifetime_param_trait.rs b/plrustc/plrustc/src/lints/lifetime_param_trait.rs index 01ffe81a..08e05a62 100644 --- a/plrustc/plrustc/src/lints/lifetime_param_trait.rs +++ b/plrustc/plrustc/src/lints/lifetime_param_trait.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/mod.rs b/plrustc/plrustc/src/lints/mod.rs index 3f3eda90..4782b9e6 100644 --- a/plrustc/plrustc/src/lints/mod.rs +++ b/plrustc/plrustc/src/lints/mod.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use once_cell::sync::Lazy; use rustc_lint::LintStore; use rustc_lint_defs::{Lint, LintId}; diff --git a/plrustc/plrustc/src/lints/print_macros.rs b/plrustc/plrustc/src/lints/print_macros.rs index 1d0852f4..75db9031 100644 --- a/plrustc/plrustc/src/lints/print_macros.rs +++ b/plrustc/plrustc/src/lints/print_macros.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; use rustc_span::Span; diff --git a/plrustc/plrustc/src/lints/static_impls.rs b/plrustc/plrustc/src/lints/static_impls.rs index 2c0a31ca..97b2632a 100644 --- a/plrustc/plrustc/src/lints/static_impls.rs +++ b/plrustc/plrustc/src/lints/static_impls.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/stdio.rs b/plrustc/plrustc/src/lints/stdio.rs index 63bea0d7..1c279e63 100644 --- a/plrustc/plrustc/src/lints/stdio.rs +++ b/plrustc/plrustc/src/lints/stdio.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/sus_trait_object.rs b/plrustc/plrustc/src/lints/sus_trait_object.rs index 3d72959a..864aa3ff 100644 --- a/plrustc/plrustc/src/lints/sus_trait_object.rs +++ b/plrustc/plrustc/src/lints/sus_trait_object.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; use rustc_middle::ty; diff --git a/plrustc/plrustc/src/lints/utils.rs b/plrustc/plrustc/src/lints/utils.rs index cbeb77fa..43b63063 100644 --- a/plrustc/plrustc/src/lints/utils.rs +++ b/plrustc/plrustc/src/lints/utils.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use hir::{def::Res, def_id::DefId}; use rustc_hir as hir; use rustc_lint::LateContext; diff --git a/plrustc/plrustc/src/main.rs b/plrustc/plrustc/src/main.rs index 2d712d6e..bb370e8b 100644 --- a/plrustc/plrustc/src/main.rs +++ b/plrustc/plrustc/src/main.rs @@ -1,4 +1,11 @@ #![feature(rustc_private)] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ extern crate rustc_ast; extern crate rustc_driver; extern crate rustc_errors; diff --git a/plrustc/plrustc/tests/uitests.rs b/plrustc/plrustc/tests/uitests.rs index c465bae3..6f2da643 100644 --- a/plrustc/plrustc/tests/uitests.rs +++ b/plrustc/plrustc/tests/uitests.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use std::path::PathBuf; #[test] diff --git a/plrustc/plrustc/uitests/async_await.rs b/plrustc/plrustc/uitests/async_await.rs index 3c514449..c70f9ade 100644 --- a/plrustc/plrustc/uitests/async_await.rs +++ b/plrustc/plrustc/uitests/async_await.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ async fn foo() {} diff --git a/plrustc/plrustc/uitests/async_await.stderr b/plrustc/plrustc/uitests/async_await.stderr index 566482fd..f4a54d85 100644 --- a/plrustc/plrustc/uitests/async_await.stderr +++ b/plrustc/plrustc/uitests/async_await.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: Use of async/await is forbidden in PL/Rust --> $DIR/async_await.rs:3:1 | diff --git a/plrustc/plrustc/uitests/extern_block.rs b/plrustc/plrustc/uitests/extern_block.rs index 8276572f..76b0092d 100644 --- a/plrustc/plrustc/uitests/extern_block.rs +++ b/plrustc/plrustc/uitests/extern_block.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ extern "C" {} extern "Rust" {} #[rustfmt::skip] diff --git a/plrustc/plrustc/uitests/extern_block.stderr b/plrustc/plrustc/uitests/extern_block.stderr index 4d663c11..7ceb890f 100644 --- a/plrustc/plrustc/uitests/extern_block.stderr +++ b/plrustc/plrustc/uitests/extern_block.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: `extern` blocks are not allowed in PL/Rust --> $DIR/extern_block.rs:2:1 | diff --git a/plrustc/plrustc/uitests/external_mod.rs b/plrustc/plrustc/uitests/external_mod.rs index 09edb10b..e3c9e98c 100644 --- a/plrustc/plrustc/uitests/external_mod.rs +++ b/plrustc/plrustc/uitests/external_mod.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ // Should be allowed. pub mod blah {} diff --git a/plrustc/plrustc/uitests/external_mod.stderr b/plrustc/plrustc/uitests/external_mod.stderr index ce3a2133..f0ce41de 100644 --- a/plrustc/plrustc/uitests/external_mod.stderr +++ b/plrustc/plrustc/uitests/external_mod.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: Use of external modules is forbidden in PL/Rust --> $DIR/external_mod.rs:8:1 | diff --git a/plrustc/plrustc/uitests/external_mod_included_file.txt b/plrustc/plrustc/uitests/external_mod_included_file.txt index a991e5bf..64f7b88d 100644 --- a/plrustc/plrustc/uitests/external_mod_included_file.txt +++ b/plrustc/plrustc/uitests/external_mod_included_file.txt @@ -1 +1,7 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. // This is valid rust syntax, but is meaningless. diff --git a/plrustc/plrustc/uitests/fn_pointer.rs b/plrustc/plrustc/uitests/fn_pointer.rs index 2a366cb5..c16b398f 100644 --- a/plrustc/plrustc/uitests/fn_pointer.rs +++ b/plrustc/plrustc/uitests/fn_pointer.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ pub fn foobar<'short, T>(r: &'short T) -> &'static T { fn foo<'out, 'input, T>(_dummy: &'out (), value: &'input T) -> (&'out &'input (), &'out T) { diff --git a/plrustc/plrustc/uitests/fn_pointer.stderr b/plrustc/plrustc/uitests/fn_pointer.stderr index c10fbaa8..7487801a 100644 --- a/plrustc/plrustc/uitests/fn_pointer.stderr +++ b/plrustc/plrustc/uitests/fn_pointer.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: Use of function pointers is forbidden in PL/Rust --> $DIR/fn_pointer.rs:7:15 | diff --git a/plrustc/plrustc/uitests/fn_traits.rs b/plrustc/plrustc/uitests/fn_traits.rs index 5ba7dc1a..dc78003b 100644 --- a/plrustc/plrustc/uitests/fn_traits.rs +++ b/plrustc/plrustc/uitests/fn_traits.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ fn blah() { let _a: &dyn Fn() = &|| {}; diff --git a/plrustc/plrustc/uitests/fn_traits.stderr b/plrustc/plrustc/uitests/fn_traits.stderr index 0b8fb083..3f7a12e5 100644 --- a/plrustc/plrustc/uitests/fn_traits.stderr +++ b/plrustc/plrustc/uitests/fn_traits.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: Use of function trait objects is forbidden in PL/Rust --> $DIR/fn_traits.rs:4:14 | diff --git a/plrustc/plrustc/uitests/fs_macros.rs b/plrustc/plrustc/uitests/fs_macros.rs index 41ee9431..9aeb3d7f 100644 --- a/plrustc/plrustc/uitests/fs_macros.rs +++ b/plrustc/plrustc/uitests/fs_macros.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ const _A: &str = include_str!("fs_macros_included_file.txt"); diff --git a/plrustc/plrustc/uitests/fs_macros.stderr b/plrustc/plrustc/uitests/fs_macros.stderr index f2b2c741..5deae9ba 100644 --- a/plrustc/plrustc/uitests/fs_macros.stderr +++ b/plrustc/plrustc/uitests/fs_macros.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: the `include_str`, `include_bytes`, and `include` macros are forbidden in PL/Rust --> $DIR/fs_macros.rs:3:18 | diff --git a/plrustc/plrustc/uitests/fs_macros_included_file.txt b/plrustc/plrustc/uitests/fs_macros_included_file.txt index ce013625..3ba3794d 100644 --- a/plrustc/plrustc/uitests/fs_macros_included_file.txt +++ b/plrustc/plrustc/uitests/fs_macros_included_file.txt @@ -1 +1,7 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. hello diff --git a/plrustc/plrustc/uitests/ice_hook.rs b/plrustc/plrustc/uitests/ice_hook.rs index bd552fdc..1cb51394 100644 --- a/plrustc/plrustc/uitests/ice_hook.rs +++ b/plrustc/plrustc/uitests/ice_hook.rs @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ // rustc-env:RUST_BACKTRACE=0 // rustc-env:PLRUSTC_INCLUDE_TEST_ONLY_LINTS=1 // normalize-stderr-test: "plrustc version: .*" -> "plrustc version: " diff --git a/plrustc/plrustc/uitests/ice_hook.stderr b/plrustc/plrustc/uitests/ice_hook.stderr index 74149be3..5dce10e7 100644 --- a/plrustc/plrustc/uitests/ice_hook.stderr +++ b/plrustc/plrustc/uitests/ice_hook.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. thread 'rustc' panicked at 'Here is your ICE', plrustc/src/lints/force_ice.rs note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace diff --git a/plrustc/plrustc/uitests/impl_auto_trait.rs b/plrustc/plrustc/uitests/impl_auto_trait.rs index bddddce1..fa10746c 100644 --- a/plrustc/plrustc/uitests/impl_auto_trait.rs +++ b/plrustc/plrustc/uitests/impl_auto_trait.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ pub struct Foo(pub std::cell::Cell, pub std::marker::PhantomPinned); diff --git a/plrustc/plrustc/uitests/impl_auto_trait.stderr b/plrustc/plrustc/uitests/impl_auto_trait.stderr index 5eddd700..fe80b56b 100644 --- a/plrustc/plrustc/uitests/impl_auto_trait.stderr +++ b/plrustc/plrustc/uitests/impl_auto_trait.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: explicit implementations of auto traits are forbidden in PL/Rust --> $DIR/impl_auto_trait.rs:5:1 | diff --git a/plrustc/plrustc/uitests/leaky.rs b/plrustc/plrustc/uitests/leaky.rs index 559dff68..508d3d46 100644 --- a/plrustc/plrustc/uitests/leaky.rs +++ b/plrustc/plrustc/uitests/leaky.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ fn _f() { let a = Box::new(1u32); diff --git a/plrustc/plrustc/uitests/leaky.stderr b/plrustc/plrustc/uitests/leaky.stderr index b0882a5b..3461ef78 100644 --- a/plrustc/plrustc/uitests/leaky.stderr +++ b/plrustc/plrustc/uitests/leaky.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: Leaky functions are forbidden in PL/Rust --> $DIR/leaky.rs:5:14 | diff --git a/plrustc/plrustc/uitests/lifetime_trait.rs b/plrustc/plrustc/uitests/lifetime_trait.rs index 83385096..788028f5 100644 --- a/plrustc/plrustc/uitests/lifetime_trait.rs +++ b/plrustc/plrustc/uitests/lifetime_trait.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ // #![forbid(plrust_lifetime_parameterized_traits)] trait Foo<'a> {} diff --git a/plrustc/plrustc/uitests/lifetime_trait.stderr b/plrustc/plrustc/uitests/lifetime_trait.stderr index 237df151..24ed39f6 100644 --- a/plrustc/plrustc/uitests/lifetime_trait.stderr +++ b/plrustc/plrustc/uitests/lifetime_trait.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: PL/Rust forbids declaring traits with generic lifetime parameters --> $DIR/lifetime_trait.rs:3:1 | diff --git a/plrustc/plrustc/uitests/print_macros.rs b/plrustc/plrustc/uitests/print_macros.rs index b1dbe548..a1e9ad33 100644 --- a/plrustc/plrustc/uitests/print_macros.rs +++ b/plrustc/plrustc/uitests/print_macros.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ fn _foo() { print!("hello"); diff --git a/plrustc/plrustc/uitests/print_macros.stderr b/plrustc/plrustc/uitests/print_macros.stderr index d51890ae..c8ec7d34 100644 --- a/plrustc/plrustc/uitests/print_macros.stderr +++ b/plrustc/plrustc/uitests/print_macros.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: the printing macros are forbidden in PL/Rust, consider using `pgrx::log!()` instead --> $DIR/print_macros.rs:4:5 | diff --git a/plrustc/plrustc/uitests/static_closure.rs b/plrustc/plrustc/uitests/static_closure.rs index beb3fe60..1b2c5a2c 100644 --- a/plrustc/plrustc/uitests/static_closure.rs +++ b/plrustc/plrustc/uitests/static_closure.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use std::fmt; trait Trait { type Associated; diff --git a/plrustc/plrustc/uitests/static_closure.stderr b/plrustc/plrustc/uitests/static_closure.stderr index b403c47a..a88ebc26 100644 --- a/plrustc/plrustc/uitests/static_closure.stderr +++ b/plrustc/plrustc/uitests/static_closure.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: trait impls bounded on function traits are forbidden in PL/Rust --> $DIR/static_closure.rs:7:10 | diff --git a/plrustc/plrustc/uitests/static_impl_etc.rs b/plrustc/plrustc/uitests/static_impl_etc.rs index d3a1aed2..48d1ca07 100644 --- a/plrustc/plrustc/uitests/static_impl_etc.rs +++ b/plrustc/plrustc/uitests/static_impl_etc.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ trait Foo {} struct Bar(core::marker::PhantomData<(A, B)>); diff --git a/plrustc/plrustc/uitests/static_impl_etc.stderr b/plrustc/plrustc/uitests/static_impl_etc.stderr index 9fe60181..790da693 100644 --- a/plrustc/plrustc/uitests/static_impl_etc.stderr +++ b/plrustc/plrustc/uitests/static_impl_etc.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: `impl` blocks for types containing `'static` references are not allowed in PL/Rust --> $DIR/static_impl_etc.rs:8:17 | diff --git a/plrustc/plrustc/uitests/static_impl_unsound.rs b/plrustc/plrustc/uitests/static_impl_unsound.rs index 352ff108..cac6ffd0 100644 --- a/plrustc/plrustc/uitests/static_impl_unsound.rs +++ b/plrustc/plrustc/uitests/static_impl_unsound.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use std::fmt::Display; diff --git a/plrustc/plrustc/uitests/static_impl_unsound.stderr b/plrustc/plrustc/uitests/static_impl_unsound.stderr index 3e6fcb4d..f3f4e02b 100644 --- a/plrustc/plrustc/uitests/static_impl_unsound.stderr +++ b/plrustc/plrustc/uitests/static_impl_unsound.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: `impl` blocks for types containing `'static` references are not allowed in PL/Rust --> $DIR/static_impl_unsound.rs:11:34 | diff --git a/plrustc/plrustc/uitests/stdio.rs b/plrustc/plrustc/uitests/stdio.rs index 3b45d3e9..869c73fb 100644 --- a/plrustc/plrustc/uitests/stdio.rs +++ b/plrustc/plrustc/uitests/stdio.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ fn _foo() { let _out = std::io::stdout(); diff --git a/plrustc/plrustc/uitests/stdio.stderr b/plrustc/plrustc/uitests/stdio.stderr index e123eb3d..57eecd6c 100644 --- a/plrustc/plrustc/uitests/stdio.stderr +++ b/plrustc/plrustc/uitests/stdio.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: the standard streams are forbidden in PL/Rust, consider using `pgrx::log!()` instead --> $DIR/stdio.rs:4:16 | diff --git a/plrustc/plrustc/uitests/sus_trait_obj_alias.rs b/plrustc/plrustc/uitests/sus_trait_obj_alias.rs index 7487408d..707d2217 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_alias.rs +++ b/plrustc/plrustc/uitests/sus_trait_obj_alias.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ trait Object { type Output; } diff --git a/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr b/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr index ed486feb..3184209f 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr +++ b/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: using trait objects in turbofish position is forbidden by PL/Rust --> $DIR/sus_trait_obj_alias.rs:17:5 | diff --git a/plrustc/plrustc/uitests/sus_trait_obj_items.rs b/plrustc/plrustc/uitests/sus_trait_obj_items.rs index f4693812..cc8f1b19 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_items.rs +++ b/plrustc/plrustc/uitests/sus_trait_obj_items.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ pub trait Foo {} diff --git a/plrustc/plrustc/uitests/sus_trait_obj_items.stderr b/plrustc/plrustc/uitests/sus_trait_obj_items.stderr index 75bb4069..7732d96f 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_items.stderr +++ b/plrustc/plrustc/uitests/sus_trait_obj_items.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: trait objects in generic defaults are forbidden --> $DIR/sus_trait_obj_items.rs:5:1 | diff --git a/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs b/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs index 22ddd3ed..53f0431e 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs +++ b/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ trait Object { type Output; diff --git a/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr b/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr index 2e2ae79a..285693c1 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr +++ b/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: using trait objects in turbofish position is forbidden by PL/Rust --> $DIR/sus_trait_obj_transmute.rs:16:5 | diff --git a/plrustc/plrustc/uitests/sus_trait_object_gat.rs b/plrustc/plrustc/uitests/sus_trait_object_gat.rs index c1be16f4..2c85e231 100644 --- a/plrustc/plrustc/uitests/sus_trait_object_gat.rs +++ b/plrustc/plrustc/uitests/sus_trait_object_gat.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ trait Object { type Output; diff --git a/plrustc/plrustc/uitests/sus_trait_object_gat.stderr b/plrustc/plrustc/uitests/sus_trait_object_gat.stderr index e94571b6..e2868023 100644 --- a/plrustc/plrustc/uitests/sus_trait_object_gat.stderr +++ b/plrustc/plrustc/uitests/sus_trait_object_gat.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error: using trait objects in turbofish position is forbidden by PL/Rust --> $DIR/sus_trait_object_gat.rs:24:5 | diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs index d4b00408..4311ed2b 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ use core::ptr::NonNull; diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr index 90ffcbfa..6d81ad97 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error[E0603]: tuple struct constructor `std::boxed::Box` is private --> $DIR/tuple_struct_self_pat_box.rs:10:13 | diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs index d16dcc22..31c58ba2 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ mod my { pub struct Foo(&'static str); diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr index 52b82ceb..a5612572 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr @@ -1,3 +1,9 @@ +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. error[E0603]: tuple struct constructor `my::Foo` is private --> $DIR/tuple_struct_self_pat_local_priv.rs:8:13 | diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs b/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs index 7bcc1bd2..9bfe6360 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs @@ -1,4 +1,11 @@ #![crate_type = "lib"] +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ pub struct Foo(&'static str); diff --git a/publish.sh b/publish.sh index 51de9a8e..d4608888 100755 --- a/publish.sh +++ b/publish.sh @@ -1,12 +1,11 @@ #!/usr/bin/env bash # Portions Copyright 2019-2021 ZomboDB, LLC. -# Portions Copyright 2021-2022 Technology Concepts & Design, Inc. -# +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. # # All rights reserved. # -# Use of this source code is governed by the MIT license that can be found in -# the LICENSE file. +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. set -x cd plrust-trusted-pgrx && cargo publish --no-verify diff --git a/sql/plrust--1.0--1.1.sql b/sql/plrust--1.0--1.1.sql index d3562aeb..11d632aa 100644 --- a/sql/plrust--1.0--1.1.sql +++ b/sql/plrust--1.0--1.1.sql @@ -1,3 +1,10 @@ +/* +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. + +All rights reserved. + +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +*/ DROP FUNCTION IF EXISTS plrust.list_allowed_dependencies(); -- plrust/src/lib.rs:197 diff --git a/update-version.sh b/update-version.sh index e62f16ac..416fd48f 100755 --- a/update-version.sh +++ b/update-version.sh @@ -1,12 +1,11 @@ #!/usr/bin/env bash # Portions Copyright 2019-2021 ZomboDB, LLC. -# Portions Copyright 2021-2022 Technology Concepts & Design, Inc. -# +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. # # All rights reserved. # -# Use of this source code is governed by the MIT license that can be found in -# the LICENSE file. +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. ## ## This script requires `cargo install cargo-workspace-version` from https://crates.io/crates/cargo-workspace-version diff --git a/upgrade-deps.sh b/upgrade-deps.sh index cd43ff62..ba30cd14 100755 --- a/upgrade-deps.sh +++ b/upgrade-deps.sh @@ -1,4 +1,10 @@ #! /bin/bash +# Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +# +# All rights reserved. +# +# Use of this source code is governed by the PostgreSQL license that can be +# found in the LICENSE file. # requires: "cargo install cargo-edit" from https://github.com/killercup/cargo-edit From 646af8f3431a683feb947f3c0b8beca19715e120 Mon Sep 17 00:00:00 2001 From: Brady Bonnette Date: Thu, 12 Feb 2026 17:35:45 -0500 Subject: [PATCH 2/3] LICENSE -> LICENSE.md --- .licensure.yml | 2 +- Dockerfile.try | 2 +- plrust-tests/run-tests.sh | 2 +- plrust-tests/src/alter.rs | 2 +- plrust-tests/src/argument.rs | 2 +- plrust-tests/src/basic.rs | 2 +- plrust-tests/src/blocked_code.rs | 2 +- plrust-tests/src/borrow_mut_error.rs | 2 +- plrust-tests/src/ddl.rs | 2 +- plrust-tests/src/dependencies.rs | 2 +- plrust-tests/src/fn_call.rs | 2 +- plrust-tests/src/matches.rs | 2 +- plrust-tests/src/panics.rs | 2 +- plrust-tests/src/range.rs | 2 +- plrust-tests/src/recursion.rs | 2 +- plrust-tests/src/return_values.rs | 2 +- plrust-tests/src/round_trip.rs | 2 +- plrust-tests/src/time_and_dates.rs | 2 +- plrust-tests/src/trusted.rs | 2 +- plrust-tests/src/user_defined_types.rs | 2 +- plrust-tests/src/versioning.rs | 2 +- plrust-trusted-pgrx/src/lib.rs | 2 +- plrust/build | 2 +- plrust/build.rs | 2 +- plrust/src/allow_list.rs | 2 +- plrust/src/error.rs | 2 +- plrust/src/gucs.rs | 2 +- plrust/src/hooks.rs | 2 +- plrust/src/lib.rs | 2 +- plrust/src/logging.rs | 2 +- plrust/src/pgproc.rs | 2 +- plrust/src/plrust.rs | 2 +- plrust/src/prosrc.rs | 2 +- plrust/src/target.rs | 2 +- plrust/src/tests.rs | 2 +- plrust/src/user_crate/build.rs | 2 +- plrust/src/user_crate/capabilities.rs | 2 +- plrust/src/user_crate/cargo.rs | 2 +- plrust/src/user_crate/crate_variant.rs | 2 +- plrust/src/user_crate/crating.rs | 2 +- plrust/src/user_crate/lint.rs | 2 +- plrust/src/user_crate/loading.rs | 2 +- plrust/src/user_crate/mod.rs | 2 +- plrust/src/user_crate/ready.rs | 2 +- plrust/src/user_crate/validate.rs | 2 +- plrust/src/user_crate/verify.rs | 2 +- plrustc/build.sh | 2 +- plrustc/plrustc/src/lints/async_await.rs | 2 +- plrustc/plrustc/src/lints/autotrait_impls.rs | 2 +- plrustc/plrustc/src/lints/builtin_macros.rs | 2 +- plrustc/plrustc/src/lints/closure_trait_impl.rs | 2 +- plrustc/plrustc/src/lints/extern_blocks.rs | 2 +- plrustc/plrustc/src/lints/external_mod.rs | 2 +- plrustc/plrustc/src/lints/fn_ptr.rs | 2 +- plrustc/plrustc/src/lints/force_ice.rs | 2 +- plrustc/plrustc/src/lints/leaky.rs | 2 +- plrustc/plrustc/src/lints/lifetime_param_trait.rs | 2 +- plrustc/plrustc/src/lints/mod.rs | 2 +- plrustc/plrustc/src/lints/print_macros.rs | 2 +- plrustc/plrustc/src/lints/static_impls.rs | 2 +- plrustc/plrustc/src/lints/stdio.rs | 2 +- plrustc/plrustc/src/lints/sus_trait_object.rs | 2 +- plrustc/plrustc/src/lints/utils.rs | 2 +- plrustc/plrustc/src/main.rs | 2 +- plrustc/plrustc/tests/uitests.rs | 2 +- plrustc/plrustc/uitests/async_await.rs | 2 +- plrustc/plrustc/uitests/async_await.stderr | 2 +- plrustc/plrustc/uitests/extern_block.rs | 2 +- plrustc/plrustc/uitests/extern_block.stderr | 2 +- plrustc/plrustc/uitests/external_mod.rs | 2 +- plrustc/plrustc/uitests/external_mod.stderr | 2 +- plrustc/plrustc/uitests/external_mod_included_file.txt | 2 +- plrustc/plrustc/uitests/fn_pointer.rs | 2 +- plrustc/plrustc/uitests/fn_pointer.stderr | 2 +- plrustc/plrustc/uitests/fn_traits.rs | 2 +- plrustc/plrustc/uitests/fn_traits.stderr | 2 +- plrustc/plrustc/uitests/fs_macros.rs | 2 +- plrustc/plrustc/uitests/fs_macros.stderr | 2 +- plrustc/plrustc/uitests/fs_macros_included_file.txt | 2 +- plrustc/plrustc/uitests/ice_hook.rs | 2 +- plrustc/plrustc/uitests/ice_hook.stderr | 2 +- plrustc/plrustc/uitests/impl_auto_trait.rs | 2 +- plrustc/plrustc/uitests/impl_auto_trait.stderr | 2 +- plrustc/plrustc/uitests/leaky.rs | 2 +- plrustc/plrustc/uitests/leaky.stderr | 2 +- plrustc/plrustc/uitests/lifetime_trait.rs | 2 +- plrustc/plrustc/uitests/lifetime_trait.stderr | 2 +- plrustc/plrustc/uitests/print_macros.rs | 2 +- plrustc/plrustc/uitests/print_macros.stderr | 2 +- plrustc/plrustc/uitests/static_closure.rs | 2 +- plrustc/plrustc/uitests/static_closure.stderr | 2 +- plrustc/plrustc/uitests/static_impl_etc.rs | 2 +- plrustc/plrustc/uitests/static_impl_etc.stderr | 2 +- plrustc/plrustc/uitests/static_impl_unsound.rs | 2 +- plrustc/plrustc/uitests/static_impl_unsound.stderr | 2 +- plrustc/plrustc/uitests/stdio.rs | 2 +- plrustc/plrustc/uitests/stdio.stderr | 2 +- plrustc/plrustc/uitests/sus_trait_obj_alias.rs | 2 +- plrustc/plrustc/uitests/sus_trait_obj_alias.stderr | 2 +- plrustc/plrustc/uitests/sus_trait_obj_items.rs | 2 +- plrustc/plrustc/uitests/sus_trait_obj_items.stderr | 2 +- plrustc/plrustc/uitests/sus_trait_obj_transmute.rs | 2 +- plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr | 2 +- plrustc/plrustc/uitests/sus_trait_object_gat.rs | 2 +- plrustc/plrustc/uitests/sus_trait_object_gat.stderr | 2 +- plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs | 2 +- plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr | 2 +- plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs | 2 +- plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr | 2 +- plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs | 2 +- publish.sh | 2 +- sql/plrust--1.0--1.1.sql | 2 +- update-version.sh | 2 +- upgrade-deps.sh | 2 +- 114 files changed, 114 insertions(+), 114 deletions(-) diff --git a/.licensure.yml b/.licensure.yml index 66cd8fb1..2f597f54 100644 --- a/.licensure.yml +++ b/.licensure.yml @@ -29,7 +29,7 @@ licenses: All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. + Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. comments: - columns: 120 diff --git a/Dockerfile.try b/Dockerfile.try index 3e497d56..d56bc469 100644 --- a/Dockerfile.try +++ b/Dockerfile.try @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. # Example of how to build and run this Dockerfile: # docker build -f Dockerfile.try -t tcdi/try-plrust . # Build the container # docker run -it tcdi/try-plrust # Run the container diff --git a/plrust-tests/run-tests.sh b/plrust-tests/run-tests.sh index de984cf5..9b70aceb 100755 --- a/plrust-tests/run-tests.sh +++ b/plrust-tests/run-tests.sh @@ -4,7 +4,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. VERSION=$1 diff --git a/plrust-tests/src/alter.rs b/plrust-tests/src/alter.rs index ac5ee141..3b9d394e 100644 --- a/plrust-tests/src/alter.rs +++ b/plrust-tests/src/alter.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/argument.rs b/plrust-tests/src/argument.rs index 5b7952ee..f61b063e 100644 --- a/plrust-tests/src/argument.rs +++ b/plrust-tests/src/argument.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/basic.rs b/plrust-tests/src/basic.rs index 46d1a024..36067b7d 100644 --- a/plrust-tests/src/basic.rs +++ b/plrust-tests/src/basic.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/blocked_code.rs b/plrust-tests/src/blocked_code.rs index 206cd8a3..331bc77f 100644 --- a/plrust-tests/src/blocked_code.rs +++ b/plrust-tests/src/blocked_code.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/borrow_mut_error.rs b/plrust-tests/src/borrow_mut_error.rs index 0796e353..ea5b44d4 100644 --- a/plrust-tests/src/borrow_mut_error.rs +++ b/plrust-tests/src/borrow_mut_error.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/ddl.rs b/plrust-tests/src/ddl.rs index 6143c8c9..f1324514 100644 --- a/plrust-tests/src/ddl.rs +++ b/plrust-tests/src/ddl.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/dependencies.rs b/plrust-tests/src/dependencies.rs index 2b0c44d0..28eacd4b 100644 --- a/plrust-tests/src/dependencies.rs +++ b/plrust-tests/src/dependencies.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/fn_call.rs b/plrust-tests/src/fn_call.rs index 26349af3..1b8616ff 100644 --- a/plrust-tests/src/fn_call.rs +++ b/plrust-tests/src/fn_call.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/matches.rs b/plrust-tests/src/matches.rs index d47621bb..10fdce92 100644 --- a/plrust-tests/src/matches.rs +++ b/plrust-tests/src/matches.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/panics.rs b/plrust-tests/src/panics.rs index 660dd85a..fd7e386b 100644 --- a/plrust-tests/src/panics.rs +++ b/plrust-tests/src/panics.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/range.rs b/plrust-tests/src/range.rs index e4e1273b..6688a9d7 100644 --- a/plrust-tests/src/range.rs +++ b/plrust-tests/src/range.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/recursion.rs b/plrust-tests/src/recursion.rs index 8046a107..e7bb35fb 100644 --- a/plrust-tests/src/recursion.rs +++ b/plrust-tests/src/recursion.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/return_values.rs b/plrust-tests/src/return_values.rs index 2a76adaa..555ff4cf 100644 --- a/plrust-tests/src/return_values.rs +++ b/plrust-tests/src/return_values.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/round_trip.rs b/plrust-tests/src/round_trip.rs index 24d796bb..deea1e88 100644 --- a/plrust-tests/src/round_trip.rs +++ b/plrust-tests/src/round_trip.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/time_and_dates.rs b/plrust-tests/src/time_and_dates.rs index dfc170ef..130ab6ab 100644 --- a/plrust-tests/src/time_and_dates.rs +++ b/plrust-tests/src/time_and_dates.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/trusted.rs b/plrust-tests/src/trusted.rs index ec39d5d8..1b8daec7 100644 --- a/plrust-tests/src/trusted.rs +++ b/plrust-tests/src/trusted.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/user_defined_types.rs b/plrust-tests/src/user_defined_types.rs index 887b7598..8917580f 100644 --- a/plrust-tests/src/user_defined_types.rs +++ b/plrust-tests/src/user_defined_types.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-tests/src/versioning.rs b/plrust-tests/src/versioning.rs index d345974a..10925f6b 100644 --- a/plrust-tests/src/versioning.rs +++ b/plrust-tests/src/versioning.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust-trusted-pgrx/src/lib.rs b/plrust-trusted-pgrx/src/lib.rs index 600ee67f..e8bd5964 100644 --- a/plrust-trusted-pgrx/src/lib.rs +++ b/plrust-trusted-pgrx/src/lib.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ //! `plrust-trusted-pgrx` is a re-export crate based on [pgrx](https://crates.io/crates/pgrx) which exposes //! the minimal set of `pgrx` internals necessary for `plrust` function compilation. `plrust-trusted-pgrx` diff --git a/plrust/build b/plrust/build index 00b7336b..f4467c6d 100755 --- a/plrust/build +++ b/plrust/build @@ -4,7 +4,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. set -xe if [ -z "$STD_TARGETS" ]; then diff --git a/plrust/build.rs b/plrust/build.rs index 62b6e8ad..8e7ec6c7 100644 --- a/plrust/build.rs +++ b/plrust/build.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::error::Error; use std::process::Command; diff --git a/plrust/src/allow_list.rs b/plrust/src/allow_list.rs index ea606f81..31c8e960 100644 --- a/plrust/src/allow_list.rs +++ b/plrust/src/allow_list.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use crate::gucs::PLRUST_ALLOWED_DEPENDENCIES; use semver::{BuildMetadata, Comparator, Op, Version, VersionReq}; diff --git a/plrust/src/error.rs b/plrust/src/error.rs index 33bde633..06950f52 100644 --- a/plrust/src/error.rs +++ b/plrust/src/error.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/gucs.rs b/plrust/src/gucs.rs index f48111c4..45bc4770 100644 --- a/plrust/src/gucs.rs +++ b/plrust/src/gucs.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::ffi::CStr; diff --git a/plrust/src/hooks.rs b/plrust/src/hooks.rs index 9d3ceb36..3abc4780 100644 --- a/plrust/src/hooks.rs +++ b/plrust/src/hooks.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::ffi::CStr; diff --git a/plrust/src/lib.rs b/plrust/src/lib.rs index e759bfad..e4780d18 100644 --- a/plrust/src/lib.rs +++ b/plrust/src/lib.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #![doc = include_str!("../../README.md")] diff --git a/plrust/src/logging.rs b/plrust/src/logging.rs index 4765447b..501e81bc 100644 --- a/plrust/src/logging.rs +++ b/plrust/src/logging.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/pgproc.rs b/plrust/src/pgproc.rs index c46683ce..1ff02243 100644 --- a/plrust/src/pgproc.rs +++ b/plrust/src/pgproc.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/plrust.rs b/plrust/src/plrust.rs index eea5439b..ec16b1cd 100644 --- a/plrust/src/plrust.rs +++ b/plrust/src/plrust.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::rc::Rc; diff --git a/plrust/src/prosrc.rs b/plrust/src/prosrc.rs index 50a38ae3..4ddf9fdb 100644 --- a/plrust/src/prosrc.rs +++ b/plrust/src/prosrc.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/target.rs b/plrust/src/target.rs index 0ff06a98..a280dec8 100644 --- a/plrust/src/target.rs +++ b/plrust/src/target.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/tests.rs b/plrust/src/tests.rs index ba6974c3..6f0b6c2b 100644 --- a/plrust/src/tests.rs +++ b/plrust/src/tests.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ #[cfg(any(test, feature = "pg_test"))] diff --git a/plrust/src/user_crate/build.rs b/plrust/src/user_crate/build.rs index d241fd3e..073f895c 100644 --- a/plrust/src/user_crate/build.rs +++ b/plrust/src/user_crate/build.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/user_crate/capabilities.rs b/plrust/src/user_crate/capabilities.rs index f25dd55e..f2134805 100644 --- a/plrust/src/user_crate/capabilities.rs +++ b/plrust/src/user_crate/capabilities.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use serde::{Deserialize, Serialize}; use std::collections::BTreeSet; diff --git a/plrust/src/user_crate/cargo.rs b/plrust/src/user_crate/cargo.rs index 31dfd7f5..8c7cdc55 100644 --- a/plrust/src/user_crate/cargo.rs +++ b/plrust/src/user_crate/cargo.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/user_crate/crate_variant.rs b/plrust/src/user_crate/crate_variant.rs index 9c8a25d4..00115d71 100644 --- a/plrust/src/user_crate/crate_variant.rs +++ b/plrust/src/user_crate/crate_variant.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/user_crate/crating.rs b/plrust/src/user_crate/crating.rs index 0b04de49..01193a7a 100644 --- a/plrust/src/user_crate/crating.rs +++ b/plrust/src/user_crate/crating.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/user_crate/lint.rs b/plrust/src/user_crate/lint.rs index 81a294c8..bfb5d419 100644 --- a/plrust/src/user_crate/lint.rs +++ b/plrust/src/user_crate/lint.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::borrow::Borrow; use std::collections::BTreeSet; diff --git a/plrust/src/user_crate/loading.rs b/plrust/src/user_crate/loading.rs index e42901e3..3b1cc55d 100644 --- a/plrust/src/user_crate/loading.rs +++ b/plrust/src/user_crate/loading.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/user_crate/mod.rs b/plrust/src/user_crate/mod.rs index 1708bd2a..d26272d3 100644 --- a/plrust/src/user_crate/mod.rs +++ b/plrust/src/user_crate/mod.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/user_crate/ready.rs b/plrust/src/user_crate/ready.rs index 180e9916..040b0d83 100644 --- a/plrust/src/user_crate/ready.rs +++ b/plrust/src/user_crate/ready.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrust/src/user_crate/validate.rs b/plrust/src/user_crate/validate.rs index 7f2a4cbf..3d20322f 100644 --- a/plrust/src/user_crate/validate.rs +++ b/plrust/src/user_crate/validate.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use pgrx::pg_sys; diff --git a/plrust/src/user_crate/verify.rs b/plrust/src/user_crate/verify.rs index e9f94158..cc78dfda 100644 --- a/plrust/src/user_crate/verify.rs +++ b/plrust/src/user_crate/verify.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ /* Copyright 2021-2023 Technology Concepts & Design, Inc. diff --git a/plrustc/build.sh b/plrustc/build.sh index c51ac71f..30a538f6 100755 --- a/plrustc/build.sh +++ b/plrustc/build.sh @@ -4,7 +4,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. set -e # set -x diff --git a/plrustc/plrustc/src/lints/async_await.rs b/plrustc/plrustc/src/lints/async_await.rs index d6848576..5c28cffa 100644 --- a/plrustc/plrustc/src/lints/async_await.rs +++ b/plrustc/plrustc/src/lints/async_await.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_ast as ast; use rustc_lint::{EarlyContext, EarlyLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/autotrait_impls.rs b/plrustc/plrustc/src/lints/autotrait_impls.rs index 37a536b0..80bb7e73 100644 --- a/plrustc/plrustc/src/lints/autotrait_impls.rs +++ b/plrustc/plrustc/src/lints/autotrait_impls.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/builtin_macros.rs b/plrustc/plrustc/src/lints/builtin_macros.rs index 428df5c9..c0d95cd3 100644 --- a/plrustc/plrustc/src/lints/builtin_macros.rs +++ b/plrustc/plrustc/src/lints/builtin_macros.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use super::utils; use rustc_hir as hir; diff --git a/plrustc/plrustc/src/lints/closure_trait_impl.rs b/plrustc/plrustc/src/lints/closure_trait_impl.rs index 871071d0..bbe85efd 100644 --- a/plrustc/plrustc/src/lints/closure_trait_impl.rs +++ b/plrustc/plrustc/src/lints/closure_trait_impl.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ //! Trait objects are [often inferred as 'static][trait-obj-default], //! which can result, when combined with things like boxed closures, diff --git a/plrustc/plrustc/src/lints/extern_blocks.rs b/plrustc/plrustc/src/lints/extern_blocks.rs index 0300e231..49945158 100644 --- a/plrustc/plrustc/src/lints/extern_blocks.rs +++ b/plrustc/plrustc/src/lints/extern_blocks.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/external_mod.rs b/plrustc/plrustc/src/lints/external_mod.rs index b1fa0683..b00d7f7d 100644 --- a/plrustc/plrustc/src/lints/external_mod.rs +++ b/plrustc/plrustc/src/lints/external_mod.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_ast as ast; use rustc_lint::{EarlyContext, EarlyLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/fn_ptr.rs b/plrustc/plrustc/src/lints/fn_ptr.rs index 0223c8b2..7d1460e0 100644 --- a/plrustc/plrustc/src/lints/fn_ptr.rs +++ b/plrustc/plrustc/src/lints/fn_ptr.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/force_ice.rs b/plrustc/plrustc/src/lints/force_ice.rs index 85397dba..2fd57b9b 100644 --- a/plrustc/plrustc/src/lints/force_ice.rs +++ b/plrustc/plrustc/src/lints/force_ice.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_ast as ast; use rustc_lint::{EarlyContext, EarlyLintPass}; diff --git a/plrustc/plrustc/src/lints/leaky.rs b/plrustc/plrustc/src/lints/leaky.rs index 71f2b314..6841185e 100644 --- a/plrustc/plrustc/src/lints/leaky.rs +++ b/plrustc/plrustc/src/lints/leaky.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/lifetime_param_trait.rs b/plrustc/plrustc/src/lints/lifetime_param_trait.rs index 08e05a62..f9d7035a 100644 --- a/plrustc/plrustc/src/lints/lifetime_param_trait.rs +++ b/plrustc/plrustc/src/lints/lifetime_param_trait.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/mod.rs b/plrustc/plrustc/src/lints/mod.rs index 4782b9e6..d05706fa 100644 --- a/plrustc/plrustc/src/lints/mod.rs +++ b/plrustc/plrustc/src/lints/mod.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use once_cell::sync::Lazy; use rustc_lint::LintStore; diff --git a/plrustc/plrustc/src/lints/print_macros.rs b/plrustc/plrustc/src/lints/print_macros.rs index 75db9031..79272a4a 100644 --- a/plrustc/plrustc/src/lints/print_macros.rs +++ b/plrustc/plrustc/src/lints/print_macros.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/static_impls.rs b/plrustc/plrustc/src/lints/static_impls.rs index 97b2632a..0c490371 100644 --- a/plrustc/plrustc/src/lints/static_impls.rs +++ b/plrustc/plrustc/src/lints/static_impls.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/stdio.rs b/plrustc/plrustc/src/lints/stdio.rs index 1c279e63..c594044a 100644 --- a/plrustc/plrustc/src/lints/stdio.rs +++ b/plrustc/plrustc/src/lints/stdio.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/sus_trait_object.rs b/plrustc/plrustc/src/lints/sus_trait_object.rs index 864aa3ff..79e8fcdf 100644 --- a/plrustc/plrustc/src/lints/sus_trait_object.rs +++ b/plrustc/plrustc/src/lints/sus_trait_object.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use rustc_hir as hir; use rustc_lint::{LateContext, LateLintPass, LintContext}; diff --git a/plrustc/plrustc/src/lints/utils.rs b/plrustc/plrustc/src/lints/utils.rs index 43b63063..c472bff6 100644 --- a/plrustc/plrustc/src/lints/utils.rs +++ b/plrustc/plrustc/src/lints/utils.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use hir::{def::Res, def_id::DefId}; use rustc_hir as hir; diff --git a/plrustc/plrustc/src/main.rs b/plrustc/plrustc/src/main.rs index bb370e8b..044d47e7 100644 --- a/plrustc/plrustc/src/main.rs +++ b/plrustc/plrustc/src/main.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ extern crate rustc_ast; extern crate rustc_driver; diff --git a/plrustc/plrustc/tests/uitests.rs b/plrustc/plrustc/tests/uitests.rs index 6f2da643..fc2563b6 100644 --- a/plrustc/plrustc/tests/uitests.rs +++ b/plrustc/plrustc/tests/uitests.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::path::PathBuf; diff --git a/plrustc/plrustc/uitests/async_await.rs b/plrustc/plrustc/uitests/async_await.rs index c70f9ade..1cb94543 100644 --- a/plrustc/plrustc/uitests/async_await.rs +++ b/plrustc/plrustc/uitests/async_await.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ async fn foo() {} diff --git a/plrustc/plrustc/uitests/async_await.stderr b/plrustc/plrustc/uitests/async_await.stderr index f4a54d85..c9c5dd31 100644 --- a/plrustc/plrustc/uitests/async_await.stderr +++ b/plrustc/plrustc/uitests/async_await.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: Use of async/await is forbidden in PL/Rust --> $DIR/async_await.rs:3:1 | diff --git a/plrustc/plrustc/uitests/extern_block.rs b/plrustc/plrustc/uitests/extern_block.rs index 76b0092d..c3f32206 100644 --- a/plrustc/plrustc/uitests/extern_block.rs +++ b/plrustc/plrustc/uitests/extern_block.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ extern "C" {} extern "Rust" {} diff --git a/plrustc/plrustc/uitests/extern_block.stderr b/plrustc/plrustc/uitests/extern_block.stderr index 7ceb890f..60d1f31c 100644 --- a/plrustc/plrustc/uitests/extern_block.stderr +++ b/plrustc/plrustc/uitests/extern_block.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: `extern` blocks are not allowed in PL/Rust --> $DIR/extern_block.rs:2:1 | diff --git a/plrustc/plrustc/uitests/external_mod.rs b/plrustc/plrustc/uitests/external_mod.rs index e3c9e98c..7b8066ba 100644 --- a/plrustc/plrustc/uitests/external_mod.rs +++ b/plrustc/plrustc/uitests/external_mod.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ // Should be allowed. diff --git a/plrustc/plrustc/uitests/external_mod.stderr b/plrustc/plrustc/uitests/external_mod.stderr index f0ce41de..571f0e86 100644 --- a/plrustc/plrustc/uitests/external_mod.stderr +++ b/plrustc/plrustc/uitests/external_mod.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: Use of external modules is forbidden in PL/Rust --> $DIR/external_mod.rs:8:1 | diff --git a/plrustc/plrustc/uitests/external_mod_included_file.txt b/plrustc/plrustc/uitests/external_mod_included_file.txt index 64f7b88d..4188cccf 100644 --- a/plrustc/plrustc/uitests/external_mod_included_file.txt +++ b/plrustc/plrustc/uitests/external_mod_included_file.txt @@ -3,5 +3,5 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. // This is valid rust syntax, but is meaningless. diff --git a/plrustc/plrustc/uitests/fn_pointer.rs b/plrustc/plrustc/uitests/fn_pointer.rs index c16b398f..cccf2b92 100644 --- a/plrustc/plrustc/uitests/fn_pointer.rs +++ b/plrustc/plrustc/uitests/fn_pointer.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ pub fn foobar<'short, T>(r: &'short T) -> &'static T { diff --git a/plrustc/plrustc/uitests/fn_pointer.stderr b/plrustc/plrustc/uitests/fn_pointer.stderr index 7487801a..2ffa78cd 100644 --- a/plrustc/plrustc/uitests/fn_pointer.stderr +++ b/plrustc/plrustc/uitests/fn_pointer.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: Use of function pointers is forbidden in PL/Rust --> $DIR/fn_pointer.rs:7:15 | diff --git a/plrustc/plrustc/uitests/fn_traits.rs b/plrustc/plrustc/uitests/fn_traits.rs index dc78003b..c3b54eb1 100644 --- a/plrustc/plrustc/uitests/fn_traits.rs +++ b/plrustc/plrustc/uitests/fn_traits.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ fn blah() { diff --git a/plrustc/plrustc/uitests/fn_traits.stderr b/plrustc/plrustc/uitests/fn_traits.stderr index 3f7a12e5..b876a001 100644 --- a/plrustc/plrustc/uitests/fn_traits.stderr +++ b/plrustc/plrustc/uitests/fn_traits.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: Use of function trait objects is forbidden in PL/Rust --> $DIR/fn_traits.rs:4:14 | diff --git a/plrustc/plrustc/uitests/fs_macros.rs b/plrustc/plrustc/uitests/fs_macros.rs index 9aeb3d7f..77e7841d 100644 --- a/plrustc/plrustc/uitests/fs_macros.rs +++ b/plrustc/plrustc/uitests/fs_macros.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ const _A: &str = include_str!("fs_macros_included_file.txt"); diff --git a/plrustc/plrustc/uitests/fs_macros.stderr b/plrustc/plrustc/uitests/fs_macros.stderr index 5deae9ba..a4911795 100644 --- a/plrustc/plrustc/uitests/fs_macros.stderr +++ b/plrustc/plrustc/uitests/fs_macros.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: the `include_str`, `include_bytes`, and `include` macros are forbidden in PL/Rust --> $DIR/fs_macros.rs:3:18 | diff --git a/plrustc/plrustc/uitests/fs_macros_included_file.txt b/plrustc/plrustc/uitests/fs_macros_included_file.txt index 3ba3794d..7ba580fd 100644 --- a/plrustc/plrustc/uitests/fs_macros_included_file.txt +++ b/plrustc/plrustc/uitests/fs_macros_included_file.txt @@ -3,5 +3,5 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. hello diff --git a/plrustc/plrustc/uitests/ice_hook.rs b/plrustc/plrustc/uitests/ice_hook.rs index 1cb51394..da4618de 100644 --- a/plrustc/plrustc/uitests/ice_hook.rs +++ b/plrustc/plrustc/uitests/ice_hook.rs @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ // rustc-env:RUST_BACKTRACE=0 // rustc-env:PLRUSTC_INCLUDE_TEST_ONLY_LINTS=1 diff --git a/plrustc/plrustc/uitests/ice_hook.stderr b/plrustc/plrustc/uitests/ice_hook.stderr index 5dce10e7..f89c17d6 100644 --- a/plrustc/plrustc/uitests/ice_hook.stderr +++ b/plrustc/plrustc/uitests/ice_hook.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. thread 'rustc' panicked at 'Here is your ICE', plrustc/src/lints/force_ice.rs note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace diff --git a/plrustc/plrustc/uitests/impl_auto_trait.rs b/plrustc/plrustc/uitests/impl_auto_trait.rs index fa10746c..70096327 100644 --- a/plrustc/plrustc/uitests/impl_auto_trait.rs +++ b/plrustc/plrustc/uitests/impl_auto_trait.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ pub struct Foo(pub std::cell::Cell, pub std::marker::PhantomPinned); diff --git a/plrustc/plrustc/uitests/impl_auto_trait.stderr b/plrustc/plrustc/uitests/impl_auto_trait.stderr index fe80b56b..e5f1a94c 100644 --- a/plrustc/plrustc/uitests/impl_auto_trait.stderr +++ b/plrustc/plrustc/uitests/impl_auto_trait.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: explicit implementations of auto traits are forbidden in PL/Rust --> $DIR/impl_auto_trait.rs:5:1 | diff --git a/plrustc/plrustc/uitests/leaky.rs b/plrustc/plrustc/uitests/leaky.rs index 508d3d46..dc3357dc 100644 --- a/plrustc/plrustc/uitests/leaky.rs +++ b/plrustc/plrustc/uitests/leaky.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ fn _f() { diff --git a/plrustc/plrustc/uitests/leaky.stderr b/plrustc/plrustc/uitests/leaky.stderr index 3461ef78..5f372e26 100644 --- a/plrustc/plrustc/uitests/leaky.stderr +++ b/plrustc/plrustc/uitests/leaky.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: Leaky functions are forbidden in PL/Rust --> $DIR/leaky.rs:5:14 | diff --git a/plrustc/plrustc/uitests/lifetime_trait.rs b/plrustc/plrustc/uitests/lifetime_trait.rs index 788028f5..e1a84c42 100644 --- a/plrustc/plrustc/uitests/lifetime_trait.rs +++ b/plrustc/plrustc/uitests/lifetime_trait.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ // #![forbid(plrust_lifetime_parameterized_traits)] trait Foo<'a> {} diff --git a/plrustc/plrustc/uitests/lifetime_trait.stderr b/plrustc/plrustc/uitests/lifetime_trait.stderr index 24ed39f6..a6b75588 100644 --- a/plrustc/plrustc/uitests/lifetime_trait.stderr +++ b/plrustc/plrustc/uitests/lifetime_trait.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: PL/Rust forbids declaring traits with generic lifetime parameters --> $DIR/lifetime_trait.rs:3:1 | diff --git a/plrustc/plrustc/uitests/print_macros.rs b/plrustc/plrustc/uitests/print_macros.rs index a1e9ad33..af0696a2 100644 --- a/plrustc/plrustc/uitests/print_macros.rs +++ b/plrustc/plrustc/uitests/print_macros.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ fn _foo() { diff --git a/plrustc/plrustc/uitests/print_macros.stderr b/plrustc/plrustc/uitests/print_macros.stderr index c8ec7d34..1865ad5c 100644 --- a/plrustc/plrustc/uitests/print_macros.stderr +++ b/plrustc/plrustc/uitests/print_macros.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: the printing macros are forbidden in PL/Rust, consider using `pgrx::log!()` instead --> $DIR/print_macros.rs:4:5 | diff --git a/plrustc/plrustc/uitests/static_closure.rs b/plrustc/plrustc/uitests/static_closure.rs index 1b2c5a2c..291ed594 100644 --- a/plrustc/plrustc/uitests/static_closure.rs +++ b/plrustc/plrustc/uitests/static_closure.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::fmt; trait Trait { diff --git a/plrustc/plrustc/uitests/static_closure.stderr b/plrustc/plrustc/uitests/static_closure.stderr index a88ebc26..1d979e6a 100644 --- a/plrustc/plrustc/uitests/static_closure.stderr +++ b/plrustc/plrustc/uitests/static_closure.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: trait impls bounded on function traits are forbidden in PL/Rust --> $DIR/static_closure.rs:7:10 | diff --git a/plrustc/plrustc/uitests/static_impl_etc.rs b/plrustc/plrustc/uitests/static_impl_etc.rs index 48d1ca07..81a28b51 100644 --- a/plrustc/plrustc/uitests/static_impl_etc.rs +++ b/plrustc/plrustc/uitests/static_impl_etc.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ trait Foo {} diff --git a/plrustc/plrustc/uitests/static_impl_etc.stderr b/plrustc/plrustc/uitests/static_impl_etc.stderr index 790da693..bcc338ec 100644 --- a/plrustc/plrustc/uitests/static_impl_etc.stderr +++ b/plrustc/plrustc/uitests/static_impl_etc.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: `impl` blocks for types containing `'static` references are not allowed in PL/Rust --> $DIR/static_impl_etc.rs:8:17 | diff --git a/plrustc/plrustc/uitests/static_impl_unsound.rs b/plrustc/plrustc/uitests/static_impl_unsound.rs index cac6ffd0..465479d9 100644 --- a/plrustc/plrustc/uitests/static_impl_unsound.rs +++ b/plrustc/plrustc/uitests/static_impl_unsound.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use std::fmt::Display; diff --git a/plrustc/plrustc/uitests/static_impl_unsound.stderr b/plrustc/plrustc/uitests/static_impl_unsound.stderr index f3f4e02b..40fd6d79 100644 --- a/plrustc/plrustc/uitests/static_impl_unsound.stderr +++ b/plrustc/plrustc/uitests/static_impl_unsound.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: `impl` blocks for types containing `'static` references are not allowed in PL/Rust --> $DIR/static_impl_unsound.rs:11:34 | diff --git a/plrustc/plrustc/uitests/stdio.rs b/plrustc/plrustc/uitests/stdio.rs index 869c73fb..4ccbb718 100644 --- a/plrustc/plrustc/uitests/stdio.rs +++ b/plrustc/plrustc/uitests/stdio.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ fn _foo() { diff --git a/plrustc/plrustc/uitests/stdio.stderr b/plrustc/plrustc/uitests/stdio.stderr index 57eecd6c..3477125b 100644 --- a/plrustc/plrustc/uitests/stdio.stderr +++ b/plrustc/plrustc/uitests/stdio.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: the standard streams are forbidden in PL/Rust, consider using `pgrx::log!()` instead --> $DIR/stdio.rs:4:16 | diff --git a/plrustc/plrustc/uitests/sus_trait_obj_alias.rs b/plrustc/plrustc/uitests/sus_trait_obj_alias.rs index 707d2217..75615428 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_alias.rs +++ b/plrustc/plrustc/uitests/sus_trait_obj_alias.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ trait Object { type Output; diff --git a/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr b/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr index 3184209f..a944a811 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr +++ b/plrustc/plrustc/uitests/sus_trait_obj_alias.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: using trait objects in turbofish position is forbidden by PL/Rust --> $DIR/sus_trait_obj_alias.rs:17:5 | diff --git a/plrustc/plrustc/uitests/sus_trait_obj_items.rs b/plrustc/plrustc/uitests/sus_trait_obj_items.rs index cc8f1b19..7c007cfc 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_items.rs +++ b/plrustc/plrustc/uitests/sus_trait_obj_items.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ pub trait Foo {} diff --git a/plrustc/plrustc/uitests/sus_trait_obj_items.stderr b/plrustc/plrustc/uitests/sus_trait_obj_items.stderr index 7732d96f..cd0b678f 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_items.stderr +++ b/plrustc/plrustc/uitests/sus_trait_obj_items.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: trait objects in generic defaults are forbidden --> $DIR/sus_trait_obj_items.rs:5:1 | diff --git a/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs b/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs index 53f0431e..b35d5050 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs +++ b/plrustc/plrustc/uitests/sus_trait_obj_transmute.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ trait Object { diff --git a/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr b/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr index 285693c1..12ed905f 100644 --- a/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr +++ b/plrustc/plrustc/uitests/sus_trait_obj_transmute.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: using trait objects in turbofish position is forbidden by PL/Rust --> $DIR/sus_trait_obj_transmute.rs:16:5 | diff --git a/plrustc/plrustc/uitests/sus_trait_object_gat.rs b/plrustc/plrustc/uitests/sus_trait_object_gat.rs index 2c85e231..99a5d5d6 100644 --- a/plrustc/plrustc/uitests/sus_trait_object_gat.rs +++ b/plrustc/plrustc/uitests/sus_trait_object_gat.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ trait Object { diff --git a/plrustc/plrustc/uitests/sus_trait_object_gat.stderr b/plrustc/plrustc/uitests/sus_trait_object_gat.stderr index e2868023..af358139 100644 --- a/plrustc/plrustc/uitests/sus_trait_object_gat.stderr +++ b/plrustc/plrustc/uitests/sus_trait_object_gat.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error: using trait objects in turbofish position is forbidden by PL/Rust --> $DIR/sus_trait_object_gat.rs:24:5 | diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs index 4311ed2b..9c8a6161 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ use core::ptr::NonNull; diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr index 6d81ad97..14329963 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_box.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error[E0603]: tuple struct constructor `std::boxed::Box` is private --> $DIR/tuple_struct_self_pat_box.rs:10:13 | diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs index 31c58ba2..de1267dc 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ mod my { diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr index a5612572..bbd18740 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.stderr @@ -3,7 +3,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. error[E0603]: tuple struct constructor `my::Foo` is private --> $DIR/tuple_struct_self_pat_local_priv.rs:8:13 | diff --git a/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs b/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs index 9bfe6360..a24633a1 100644 --- a/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs +++ b/plrustc/plrustc/uitests/tuple_struct_self_pat_should_pass.rs @@ -4,7 +4,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ pub struct Foo(&'static str); diff --git a/publish.sh b/publish.sh index d4608888..62aa1985 100755 --- a/publish.sh +++ b/publish.sh @@ -5,7 +5,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. set -x cd plrust-trusted-pgrx && cargo publish --no-verify diff --git a/sql/plrust--1.0--1.1.sql b/sql/plrust--1.0--1.1.sql index 11d632aa..4cb8ce56 100644 --- a/sql/plrust--1.0--1.1.sql +++ b/sql/plrust--1.0--1.1.sql @@ -3,7 +3,7 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE file. +Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ DROP FUNCTION IF EXISTS plrust.list_allowed_dependencies(); diff --git a/update-version.sh b/update-version.sh index 416fd48f..626d1b23 100755 --- a/update-version.sh +++ b/update-version.sh @@ -5,7 +5,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. ## ## This script requires `cargo install cargo-workspace-version` from https://crates.io/crates/cargo-workspace-version diff --git a/upgrade-deps.sh b/upgrade-deps.sh index ba30cd14..421a7c25 100755 --- a/upgrade-deps.sh +++ b/upgrade-deps.sh @@ -4,7 +4,7 @@ # All rights reserved. # # Use of this source code is governed by the PostgreSQL license that can be -# found in the LICENSE file. +# found in the LICENSE.md file. # requires: "cargo install cargo-edit" from https://github.com/killercup/cargo-edit From fa3e4443758cce85e42bf1aa528fd92857624369 Mon Sep 17 00:00:00 2001 From: John Ballard <1420634+johnrballard@users.noreply.github.com> Date: Fri, 27 Feb 2026 12:04:21 -0500 Subject: [PATCH 3/3] Removed some additional email addresses and duplicate copyrights. --- .github/docker/Dockerfile.debian-artifact-build | 2 +- .licensure.yml | 1 - CONTRIBUTING.md | 2 +- LICENSE.md | 2 +- README.md | 5 ----- doc/src/plrust.md | 3 --- plrust-tests/src/lib.rs | 2 +- plrust-trusted-pgrx/Cargo.toml | 2 +- plrust/Cargo.toml | 2 +- plrust/src/error.rs | 7 ------- plrust/src/logging.rs | 7 ------- plrust/src/pgproc.rs | 7 ------- plrust/src/prosrc.rs | 7 ------- plrust/src/target.rs | 7 ------- plrust/src/user_crate/build.rs | 7 ------- plrust/src/user_crate/cargo.rs | 7 ------- plrust/src/user_crate/crate_variant.rs | 7 ------- plrust/src/user_crate/crating.rs | 7 ------- plrust/src/user_crate/loading.rs | 7 ------- plrust/src/user_crate/mod.rs | 7 ------- plrust/src/user_crate/ready.rs | 7 ------- plrust/src/user_crate/verify.rs | 7 ------- plrustc/plrustc/Cargo.toml | 2 +- 23 files changed, 7 insertions(+), 107 deletions(-) diff --git a/.github/docker/Dockerfile.debian-artifact-build b/.github/docker/Dockerfile.debian-artifact-build index 7a5c6cb2..e30fe2a7 100644 --- a/.github/docker/Dockerfile.debian-artifact-build +++ b/.github/docker/Dockerfile.debian-artifact-build @@ -169,7 +169,7 @@ RUN TOOLCHAIN_VER=$(' \ + -m 'Technology Concepts & Design, Inc.' \ --description 'PL/Rust is a loadable procedural language that enables writing PostgreSQL functions in the Rust programming language.' \ -v ${PLRUST_VER} \ --url 'https://github.com/tcdi/plrust' \ diff --git a/.licensure.yml b/.licensure.yml index 2f597f54..800feeac 100644 --- a/.licensure.yml +++ b/.licensure.yml @@ -23,7 +23,6 @@ licenses: ident: PostgreSQL authors: - name: Technology Concepts & Design, Inc. - email: opensource@tcdi.com template: | Portions Copyright 2021-2025 Technology Concepts & Design, Inc. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e73045ae..ae5d81d9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -94,7 +94,7 @@ and that you are satisfied with the existing copyright notice as of opening your ``` Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. ``` It is the latter to which copyrights for all merged code is assigned. diff --git a/LICENSE.md b/LICENSE.md index f6fbd4dc..fb4d64e8 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The PostgreSQL License -Copyright (c): Portions Copyright 2020-2021 ZomboDB, LLC. Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Copyright (c): Portions Copyright 2020-2021 ZomboDB, LLC. Portions Copyright 2021-2025 Technology Concepts & Design, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. diff --git a/README.md b/README.md index f1662f3d..2a1400e0 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,6 @@ PL/Rust's [documentation](https://tcdi.github.io/plrust) can be found at https:/ Head on over to the PL/Rust [releases page](https://github.com/tcdi/plrust/releases) to get the latest release and check out [the documentation page](https://tcdi.github.io/plrust/install-plrust-on-debian-ubuntu.html) to get started with PL/Rust. -# Join our Community - -The PL/Rust team at [TCDI](https://www.tcdi.com/) manages a Discord server where we discuss PL/Rust and related technologies -such as [`pgrx`](https://github.com/tcdi/pgrx), Rust, and Postgres. Feel free to join: https://discord.gg/mHKrj55zyh - # Quick Example An example PL/Rust function: diff --git a/doc/src/plrust.md b/doc/src/plrust.md index 4389a9cd..d00410ff 100644 --- a/doc/src/plrust.md +++ b/doc/src/plrust.md @@ -61,9 +61,6 @@ is developed by [TCDI](https://www.tcdi.com). The following sections discuss PL/Rusts safety guarantees, configuration settings, and installation instructions. - - - # General Safety, by Rust Quoted from the "Rustonomicon": diff --git a/plrust-tests/src/lib.rs b/plrust-tests/src/lib.rs index 5f3d7a6f..43d46f47 100644 --- a/plrust-tests/src/lib.rs +++ b/plrust-tests/src/lib.rs @@ -1,6 +1,6 @@ /* Portions Copyright 2020-2021 ZomboDB, LLC. -Portions Copyright 2021-2025 Technology Concepts & Design, Inc. +Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. diff --git a/plrust-trusted-pgrx/Cargo.toml b/plrust-trusted-pgrx/Cargo.toml index 12e20e9b..07f6d650 100644 --- a/plrust-trusted-pgrx/Cargo.toml +++ b/plrust-trusted-pgrx/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "plrust-trusted-pgrx" version = "1.2.8" -authors = ["TCDI "] +authors = ["TCDI"] edition = "2021" license = "PostgreSQL" description = "Minimal set of `pgrx` rexports for plrust, which the authors have deemed trusted" diff --git a/plrust/Cargo.toml b/plrust/Cargo.toml index 43fb5a02..7df4b3c2 100644 --- a/plrust/Cargo.toml +++ b/plrust/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "plrust" version = "1.2.8" -authors = ["TCDI "] +authors = ["TCDI"] edition = "2021" license = "PostgreSQL Open Source License" description = "A Trusted Rust procedural language for PostgreSQL" diff --git a/plrust/src/error.rs b/plrust/src/error.rs index 06950f52..cdf5688c 100644 --- a/plrust/src/error.rs +++ b/plrust/src/error.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/logging.rs b/plrust/src/logging.rs index 501e81bc..47d49e7c 100644 --- a/plrust/src/logging.rs +++ b/plrust/src/logging.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/pgproc.rs b/plrust/src/pgproc.rs index 1ff02243..219f160b 100644 --- a/plrust/src/pgproc.rs +++ b/plrust/src/pgproc.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/prosrc.rs b/plrust/src/prosrc.rs index 4ddf9fdb..908d9683 100644 --- a/plrust/src/prosrc.rs +++ b/plrust/src/prosrc.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/target.rs b/plrust/src/target.rs index a280dec8..5d1ff65f 100644 --- a/plrust/src/target.rs +++ b/plrust/src/target.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/user_crate/build.rs b/plrust/src/user_crate/build.rs index 073f895c..067a8f34 100644 --- a/plrust/src/user_crate/build.rs +++ b/plrust/src/user_crate/build.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/user_crate/cargo.rs b/plrust/src/user_crate/cargo.rs index 8c7cdc55..4e242573 100644 --- a/plrust/src/user_crate/cargo.rs +++ b/plrust/src/user_crate/cargo.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ //! Helper functions for figuring out how to configure the `cargo` execution environment diff --git a/plrust/src/user_crate/crate_variant.rs b/plrust/src/user_crate/crate_variant.rs index 00115d71..40cad42f 100644 --- a/plrust/src/user_crate/crate_variant.rs +++ b/plrust/src/user_crate/crate_variant.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/user_crate/crating.rs b/plrust/src/user_crate/crating.rs index 01193a7a..9668e698 100644 --- a/plrust/src/user_crate/crating.rs +++ b/plrust/src/user_crate/crating.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/user_crate/loading.rs b/plrust/src/user_crate/loading.rs index 3b1cc55d..e49fef02 100644 --- a/plrust/src/user_crate/loading.rs +++ b/plrust/src/user_crate/loading.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/user_crate/mod.rs b/plrust/src/user_crate/mod.rs index d26272d3..e84cb0f5 100644 --- a/plrust/src/user_crate/mod.rs +++ b/plrust/src/user_crate/mod.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/user_crate/ready.rs b/plrust/src/user_crate/ready.rs index 040b0d83..e873ec3b 100644 --- a/plrust/src/user_crate/ready.rs +++ b/plrust/src/user_crate/ready.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrust/src/user_crate/verify.rs b/plrust/src/user_crate/verify.rs index cc78dfda..f7090aec 100644 --- a/plrust/src/user_crate/verify.rs +++ b/plrust/src/user_crate/verify.rs @@ -3,13 +3,6 @@ Portions Copyright 2021-2025 Technology Concepts & Design, Inc. All rights reserved. -Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. -*/ -/* -Copyright 2021-2023 Technology Concepts & Design, Inc. - -All rights reserved. - Use of this source code is governed by the PostgreSQL license that can be found in the LICENSE.md file. */ diff --git a/plrustc/plrustc/Cargo.toml b/plrustc/plrustc/Cargo.toml index de66ade0..7e902973 100644 --- a/plrustc/plrustc/Cargo.toml +++ b/plrustc/plrustc/Cargo.toml @@ -4,7 +4,7 @@ version = "1.2.8" edition = "2021" description = "`rustc_driver` wrapper for plrust" license = "PostgreSQL" -authors = ["TCDI "] +authors = ["TCDI"] homepage = "https://github.com/tcdi/plrust/" repository = "https://github.com/tcdi/plrust/"