diff --git a/.licensure.yml b/.licensure.yml index 2300014aa..bd934075a 100644 --- a/.licensure.yml +++ b/.licensure.yml @@ -1,16 +1,18 @@ change_in_place: true excludes: - - Cargo.toml - Cargo.lock - LICENSE - pgrx-sql-entity-graph/assets/ansi.tmTheme - ".envrc" - ".gitignore" + - ".dockerignore" - "flake\\..*" - "logo.*" + - "rustfmt.toml" - ".github/**/*" - - ".cargo/config" + - ".cargo/config.toml" - "cargo-pgrx/src/templates/*" + - "cargo-pgrx/tests/fixtures/macos-universal-binary" - ".*\\.control" - ".*\\.md" - ".*\\.nix" @@ -19,39 +21,35 @@ licenses: - files: any ident: MIT authors: - - name: Technology Concepts & Design, Inc. - email: support@tcdi.com - template: | + - name: PgCentral Foundation, Inc. + email: contact@pgcentral.org + template: |- Portions Copyright 2019-2021 ZomboDB, LLC. - Portions Copyright 2021-[year] [name of author] + Portions Copyright 2021-2023 Technology Concepts & Design, Inc. + Portions Copyright 2023-[year] [name of author] All rights reserved. - Use of this source code is governed by the [ident] license that can be found in the LICENSE file. comments: - - columns: 120 - extensions: + - extensions: - rs - c - h - - sql + trailing_lines: 0 commenter: - type: block - start_block_char: "/*\n" - end_block_char: "\n*/\n" - - columns: 120 - extension: html + type: line + comment_char: "//LICENSE" + - extension: sql + trailing_lines: 0 commenter: - type: block - start_block_char: "" - - columns: 80 - extension: any + type: line + comment_char: "--LICENSE" + - extension: any + trailing_lines: 0 commenter: type: line - comment_char: "#" - trailing_lines: 0 - \ No newline at end of file + comment_char: "#LICENSE" + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b2c3308f2..a59c0c8d9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ System Requirements: If you want to be ready to open a PR, you will want to run ```bash -git clone --branch develop "https://github.com/tcdi/pgrx" +git clone --branch develop "https://github.com/pgcentralfoundation/pgrx" cd pgrx ``` That will put you in a cloned repository with the *develop* branch opened, @@ -98,7 +98,7 @@ Do this *in order*: ## Licensing -You agree that all code you submit in pull requests to https://github.com/tcdi/pgrx/pulls +You agree that all code you submit in pull requests to https://github.com/pgcentralfoundation/pgrx/pulls is offered according to the MIT License, thus may be freely relicensed and sublicensed, and that you are satisfied with the existing copyright notice as of opening your PR. diff --git a/Cargo.toml b/Cargo.toml index ab7a634ee..e51a8df65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [workspace] resolver = "2" members = [ diff --git a/DESIGN-DECISIONS.md b/DESIGN-DECISIONS.md index 5316c7dfb..ffe5ad3c4 100644 --- a/DESIGN-DECISIONS.md +++ b/DESIGN-DECISIONS.md @@ -344,7 +344,7 @@ Perhaps a `serde::Deserialize` implementation that understands the JSONB format ## `cargo-pgrx` is Your Friend -Please see the [cargo-pgrx documentation](https://github.com/tcdi/pgrx/blob/master/cargo-pgrx/README.md) +Please see the [cargo-pgrx documentation](https://github.com/pgcentralfoundation/pgrx/blob/master/cargo-pgrx/README.md) ## `postgrestd` Interactions diff --git a/HOW_TO_CUT_A_PGRX_RELEASE.md b/HOW_TO_CUT_A_PGRX_RELEASE.md index 7062bacef..8a5b656fb 100644 --- a/HOW_TO_CUT_A_PGRX_RELEASE.md +++ b/HOW_TO_CUT_A_PGRX_RELEASE.md @@ -3,7 +3,7 @@ ``` - go make a PR to `develop` on GitHub -- start "draft new release" on GitHub to ask it to "Generate release notes". Make sure to choose the `develop` branch to get the full set of changes.: https://github.com/tcdi/pgrx/releases/new +- start "draft new release" on GitHub to ask it to "Generate release notes". Make sure to choose the `develop` branch to get the full set of changes.: https://github.com/pgcentralfoundation/pgrx/releases/new - paste them into the PR you made above - edit them as best as you can while channeling @workingjubilee's spirit - request a review diff --git a/LICENSE b/LICENSE index b194cb3c4..646fa420c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,9 @@ MIT License Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. . +Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2023 PgCentral Foundation, Inc. + All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/README.md b/README.md index b4fa4c2a5..4c4b8f9fd 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ > Build Postgres Extensions with Rust! -![cargo test --all](https://github.com/tcdi/pgrx/workflows/cargo%20test%20--all/badge.svg) +![cargo test --all](https://github.com/pgcentralfoundation/pgrx/workflows/cargo%20test%20--all/badge.svg) [![crates.io badge](https://img.shields.io/crates/v/pgrx.svg)](https://crates.io/crates/pgrx) [![docs.rs badge](https://docs.rs/pgrx/badge.svg)](https://docs.rs/pgrx) -[![Twitter Follow](https://img.shields.io/twitter/follow/zombodb.svg?style=flat)](https://twitter.com/zombodb) +[![Twitter Follow](https://img.shields.io/twitter/follow/pgrx_rs.svg?style=flat)](https://twitter.com/pgrx_rs) [![Discord Chat](https://img.shields.io/discord/561648697805504526.svg)][Discord] @@ -243,8 +243,11 @@ There's probably more than are listed here, but a primary things of note are: There's a few things on our immediate TODO list - - Automatic extension schema upgrade scripts, based on diffs from a previous git tag and HEAD. Likely, this -will be built into the `cargo-pgrx` subcommand and make use of https://github.com/zombodb/postgres-parser. + - Automatic extension schema upgrade scripts + - Improved unit testing framework + - Better/Safer API for Datum management + - Improved generated bindings organization + - Safely wrap more Postgres internal APIs - More examples -- especially around memory management and the various derive macros `#[derive(PostgresType/Enum)]` @@ -306,7 +309,9 @@ This approach can also be used in extensions to ensure a matching version of `ca ``` Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. . +Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +Portions Copyright 2023 PgCentral Foundation, Inc. + All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file. ``` diff --git a/art/LICENSE b/art/LICENSE index ad395e529..48028a2d9 100644 --- a/art/LICENSE +++ b/art/LICENSE @@ -1,4 +1,4 @@ -pgrx-logos (c) by Technology Concepts & Design, Inc. +pgrx-logos (c) by PgCentral Foundation, Inc. pgrx-logos is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. diff --git a/articles/forging-sql-from-rust.md b/articles/forging-sql-from-rust.md index a7fcd8711..fc2d98f82 100644 --- a/articles/forging-sql-from-rust.md +++ b/articles/forging-sql-from-rust.md @@ -1,7 +1,7 @@ # Forging SQL from Rust -PostgreSQL offers an extension interface, and it's my belief that Rust is a fantastic language to write extensions for it. [Eric Ridge](https://twitter.com/zombodb) thought so too, and started [`pgrx`](https://github.com/tcdi/pgrx) awhile back. I've been working with him to improve the toolkit, and wanted to share about one of our latest hacks: improving the generation of extension SQL code to interface with Rust. +PostgreSQL offers an extension interface, and it's my belief that Rust is a fantastic language to write extensions for it. [Eric Ridge](https://twitter.com/zombodb) thought so too, and started [`pgrx`](https://github.com/pgcentralfoundation/pgrx/) awhile back. I've been working with him to improve the toolkit, and wanted to share about one of our latest hacks: improving the generation of extension SQL code to interface with Rust. This post is more on the advanced side, as it assumes knowledge of both Rust and PostgreSQL. We'll approach topics like foreign functions, dynamic linking, procedural macros, and linkers. diff --git a/articles/postgresql-aggregates-with-rust.md b/articles/postgresql-aggregates-with-rust.md index e67baf809..1bd905951 100644 --- a/articles/postgresql-aggregates-with-rust.md +++ b/articles/postgresql-aggregates-with-rust.md @@ -914,8 +914,8 @@ Moving-aggregate mode is pretty new to me, and I'm still learning about it! If y If you're looking for more materials about aggregates, the TimescaleDB folks wrote about aggregates and how they impacted their hyperfunctions in [this article][timescaledb-article-aggregation]. Also, My pal [Tim McNamara][timclicks] wrote about how to implement harmonic and geometric means as aggregates in [this article][timclicks-article-aggregates]. -[pgrx]: https://github.com/tcdi/pgrx -[pgrx-issues]: https://github.com/tcdi/pgrx/issues +[pgrx]: https://github.com/pgcentralfoundation/pgrx/ +[pgrx-issues]: https://github.com/pgcentralfoundation/pgrx/issues [pgrx-aggregate-aggregate]: https://docs.rs/pgrx/0.3.0/pgrx/aggregate/trait.Aggregate.html [pgrx-aggregate-aggregate-finalize]: https://docs.rs/pgrx/0.3.0/pgrx/aggregate/trait.Aggregate.html#tymethod.finalize [pgrx-aggregate-aggregate-state]: https://docs.rs/pgrx/0.3.0/pgrx/aggregate/trait.Aggregate.html#associatedtype.State @@ -930,7 +930,7 @@ If you're looking for more materials about aggregates, the TimescaleDB folks wro [pgrx::datum::Internal]: https://docs.rs/pgrx/0.3.0/pgrx/datum/struct.Internal.html [pgrx-pg_aggregate]: https://docs.rs/pgrx/0.3.0/pgrx/attr.pg_aggregate.html [pgrx-postgrestype]: https://docs.rs/pgrx/0.3.0/pgrx/derive.PostgresType.html -[pgrx-system-requirements]: https://github.com/tcdi/pgrx#system-requirements +[pgrx-system-requirements]: https://github.com/pgcentralfoundation/pgrx/#system-requirements [plrust]: https://github.com/zombodb/plrust [rustup-rs]: https://rustup.rs/ [wsl]: https://docs.microsoft.com/en-us/windows/wsl/install diff --git a/cargo-pgrx/Cargo.toml b/cargo-pgrx/Cargo.toml index 6e579c38f..2e448b6cb 100644 --- a/cargo-pgrx/Cargo.toml +++ b/cargo-pgrx/Cargo.toml @@ -1,11 +1,21 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "cargo-pgrx" version = "0.9.7" authors = ["ZomboDB, LLC "] license = "MIT" description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy" -homepage = "https://github.com/tcdi/pgrx" -repository = "https://github.com/tcdi/pgrx" +homepage = "https://github.com/pgcentralfoundation/pgrx/" +repository = "https://github.com/pgcentralfoundation/pgrx/" documentation = "https://docs.rs/cargo-pgrx" categories = ["development-tools::cargo-plugins", "command-line-utilities", "database"] keywords = ["database", "postgres", "postgresql", "extension"] diff --git a/cargo-pgrx/README.md b/cargo-pgrx/README.md index f5b7ac5dd..444040b6f 100644 --- a/cargo-pgrx/README.md +++ b/cargo-pgrx/README.md @@ -849,5 +849,5 @@ If you are certain that in this case, it is fine, you may set and the check will be bypassed. However, note that while the check is not fool-proof, it tries to be fairly liberal in what it allows. -See and +See and for further information. diff --git a/cargo-pgrx/build.rs b/cargo-pgrx/build.rs index 42b51369a..4358539d8 100644 --- a/cargo-pgrx/build.rs +++ b/cargo-pgrx/build.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. fn main() { println!("cargo:rerun-if-changed=build.rs"); if let Some(minor_version) = rust_minor_version() { diff --git a/cargo-pgrx/src/command/connect.rs b/cargo-pgrx/src/command/connect.rs index 35a471fc9..ebce59490 100644 --- a/cargo-pgrx/src/command/connect.rs +++ b/cargo-pgrx/src/command/connect.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::get::get_property; use crate::command::run::exec_psql; use crate::command::start::start_postgres; diff --git a/cargo-pgrx/src/command/cross/mod.rs b/cargo-pgrx/src/command/cross/mod.rs index f62cd0fdc..b5772648a 100644 --- a/cargo-pgrx/src/command/cross/mod.rs +++ b/cargo-pgrx/src/command/cross/mod.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::CommandExecute; pub(crate) mod pgrx_target; diff --git a/cargo-pgrx/src/command/cross/pgrx_target.rs b/cargo-pgrx/src/command/cross/pgrx_target.rs index f0e0d2860..26860216b 100644 --- a/cargo-pgrx/src/command/cross/pgrx_target.rs +++ b/cargo-pgrx/src/command/cross/pgrx_target.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::CommandExecute; use eyre::{eyre, Result, WrapErr}; use pgrx_pg_config::PgConfig; @@ -21,7 +22,7 @@ use std::{ /// It is optional, but recommended for most cases (any case where the host and /// target are not identical versions of Debian). /// -/// See the documentation in `CROSS_COMPILE.md` in +/// See the documentation in `CROSS_COMPILE.md` in /// for specifics of this file format and how to use the resulting file. Note /// that this is currently unlikely to be useful on non-Linux targets, as pgrx /// does not yet support cross-compilation on those targets. diff --git a/cargo-pgrx/src/command/get.rs b/cargo-pgrx/src/command/get.rs index 78727c8fa..b21681411 100644 --- a/cargo-pgrx/src/command/get.rs +++ b/cargo-pgrx/src/command/get.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::CommandExecute; use eyre::{eyre, WrapErr}; use std::fs::File; diff --git a/cargo-pgrx/src/command/info.rs b/cargo-pgrx/src/command/info.rs index b20cd9414..68b5febe2 100644 --- a/cargo-pgrx/src/command/info.rs +++ b/cargo-pgrx/src/command/info.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::CommandExecute; use pgrx_pg_config::Pgrx; use std::borrow::Cow; diff --git a/cargo-pgrx/src/command/init.rs b/cargo-pgrx/src/command/init.rs index e852423e1..0711adfa8 100644 --- a/cargo-pgrx/src/command/init.rs +++ b/cargo-pgrx/src/command/init.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::stop::stop_postgres; use crate::command::version::pgrx_default; use crate::CommandExecute; @@ -37,7 +37,7 @@ static PROCESS_ENV_DENYLIST: &'static [&'static str] = &[ "OUT_DIR", "HOST", "NUM_JOBS", - "LIBRARY_PATH", // see https://github.com/tcdi/pgrx/issues/16 + "LIBRARY_PATH", // see https://github.com/pgcentralfoundation/pgrx/issues/16 ]; /// Initialize pgrx development environment for the first time diff --git a/cargo-pgrx/src/command/install.rs b/cargo-pgrx/src/command/install.rs index 39b7e5bd5..c74eadbfc 100644 --- a/cargo-pgrx/src/command/install.rs +++ b/cargo-pgrx/src/command/install.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::get::{find_control_file, get_property}; use crate::manifest::{display_version_info, PgVersionSource}; use crate::profile::CargoProfile; diff --git a/cargo-pgrx/src/command/mod.rs b/cargo-pgrx/src/command/mod.rs index 4a1dcf7c3..f1ecccf75 100644 --- a/cargo-pgrx/src/command/mod.rs +++ b/cargo-pgrx/src/command/mod.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use env_proxy::for_url_str; use ureq::{Agent, AgentBuilder, Proxy}; diff --git a/cargo-pgrx/src/command/new.rs b/cargo-pgrx/src/command/new.rs index 26aa0f689..5c7aa37d2 100644 --- a/cargo-pgrx/src/command/new.rs +++ b/cargo-pgrx/src/command/new.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use eyre::eyre; use std::io::Write; use std::path::PathBuf; diff --git a/cargo-pgrx/src/command/package.rs b/cargo-pgrx/src/command/package.rs index 40d023df1..c0e793520 100644 --- a/cargo-pgrx/src/command/package.rs +++ b/cargo-pgrx/src/command/package.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::install::install_extension; use crate::manifest::{display_version_info, PgVersionSource}; use crate::CommandExecute; diff --git a/cargo-pgrx/src/command/pgrx.rs b/cargo-pgrx/src/command/pgrx.rs index 73b35e13c..24f3dced2 100644 --- a/cargo-pgrx/src/command/pgrx.rs +++ b/cargo-pgrx/src/command/pgrx.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::CommandExecute; use owo_colors::OwoColorize; use std::path::Path; @@ -73,7 +74,7 @@ fn check_for_sql_generator_binary() -> eyre::Result<()> { println!("{}", "\ Found `pgrx` 0.2-0.3 series SQL generation while using `cargo-pgrx` 0.4 series. -We've updated our SQL generation method, it's much faster! Please follow the upgrading steps listed in https://github.com/tcdi/pgrx/releases/tag/v0.4.0. +We've updated our SQL generation method, it's much faster! Please follow the upgrading steps listed in https://github.com/pgcentralfoundation/pgrx/releases/tag/v0.4.0. Already done that? You didn't delete `src/bin/sql-generator.rs` yet, so you're still seeing this message.\ ".red().bold()); diff --git a/cargo-pgrx/src/command/run.rs b/cargo-pgrx/src/command/run.rs index 55e4d3a93..09b099798 100644 --- a/cargo-pgrx/src/command/run.rs +++ b/cargo-pgrx/src/command/run.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::get::get_property; use crate::command::install::install_extension; use crate::command::start::start_postgres; diff --git a/cargo-pgrx/src/command/schema.rs b/cargo-pgrx/src/command/schema.rs index d0f678d5a..cf1323c85 100644 --- a/cargo-pgrx/src/command/schema.rs +++ b/cargo-pgrx/src/command/schema.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::get::{find_control_file, get_property}; use crate::command::install::format_display_path; use crate::pgrx_pg_sys_stub::PgrxPgSysStub; @@ -29,11 +30,11 @@ use alloc::vec::Vec; use std::env; // An apparent bug in `glibc` 2.17 prevents us from safely dropping this -// otherwise users find issues such as https://github.com/tcdi/pgrx/issues/572 +// otherwise users find issues such as https://github.com/pgcentralfoundation/pgrx/issues/572 static POSTMASTER_LIBRARY: OnceCell = OnceCell::new(); // An apparent bug in `glibc` 2.17 prevents us from safely dropping this -// otherwise users find issues such as https://github.com/tcdi/pgrx/issues/572 +// otherwise users find issues such as https://github.com/pgcentralfoundation/pgrx/issues/572 static EXTENSION_LIBRARY: OnceCell = OnceCell::new(); /// Generate extension schema files diff --git a/cargo-pgrx/src/command/start.rs b/cargo-pgrx/src/command/start.rs index 7f46fe7d4..5786cf106 100644 --- a/cargo-pgrx/src/command/start.rs +++ b/cargo-pgrx/src/command/start.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::init::initdb; use crate::command::status::status_postgres; use crate::manifest::{get_package_manifest, pg_config_and_version}; diff --git a/cargo-pgrx/src/command/status.rs b/cargo-pgrx/src/command/status.rs index bef517ccf..f41112c67 100644 --- a/cargo-pgrx/src/command/status.rs +++ b/cargo-pgrx/src/command/status.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use eyre::eyre; use owo_colors::OwoColorize; use pgrx_pg_config::{PgConfig, PgConfigSelector, Pgrx}; diff --git a/cargo-pgrx/src/command/stop.rs b/cargo-pgrx/src/command/stop.rs index 5e70dba7f..6f779e924 100644 --- a/cargo-pgrx/src/command/stop.rs +++ b/cargo-pgrx/src/command/stop.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::command::status::status_postgres; use crate::manifest::{get_package_manifest, pg_config_and_version}; use crate::CommandExecute; diff --git a/cargo-pgrx/src/command/test.rs b/cargo-pgrx/src/command/test.rs index ff4c3c7a7..3103499ef 100644 --- a/cargo-pgrx/src/command/test.rs +++ b/cargo-pgrx/src/command/test.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use eyre::Context; use pgrx_pg_config::{get_target_dir, PgConfig, PgConfigSelector, Pgrx}; use std::path::{Path, PathBuf}; diff --git a/cargo-pgrx/src/command/version.rs b/cargo-pgrx/src/command/version.rs index 39c42bbdc..953bcb6df 100644 --- a/cargo-pgrx/src/command/version.rs +++ b/cargo-pgrx/src/command/version.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx_pg_config::{PgConfig, Pgrx, SUPPORTED_VERSIONS}; pub(crate) fn pgrx_default() -> eyre::Result { diff --git a/cargo-pgrx/src/env.rs b/cargo-pgrx/src/env.rs index b7bd672e4..ea08b1f5a 100644 --- a/cargo-pgrx/src/env.rs +++ b/cargo-pgrx/src/env.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. pub(crate) fn cargo() -> std::process::Command { let cargo = std::env::var_os("CARGO").unwrap_or_else(|| "cargo".into()); std::process::Command::new(cargo) diff --git a/cargo-pgrx/src/main.rs b/cargo-pgrx/src/main.rs index 66c8275e6..ca0e095eb 100644 --- a/cargo-pgrx/src/main.rs +++ b/cargo-pgrx/src/main.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![deny(clippy::perf)] // our compile times are awful #![allow(clippy::or_fun_call)] // often false positives diff --git a/cargo-pgrx/src/manifest.rs b/cargo-pgrx/src/manifest.rs index d0b5fb307..cdaf042b8 100644 --- a/cargo-pgrx/src/manifest.rs +++ b/cargo-pgrx/src/manifest.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use cargo_metadata::Metadata; use cargo_toml::Manifest; use clap_cargo::Features; diff --git a/cargo-pgrx/src/metadata.rs b/cargo-pgrx/src/metadata.rs index fe2d3986d..e3be1d8d4 100644 --- a/cargo-pgrx/src/metadata.rs +++ b/cargo-pgrx/src/metadata.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use cargo_metadata::{Metadata, MetadataCommand}; use eyre::eyre; use semver::VersionReq; diff --git a/cargo-pgrx/src/pgrx_pg_sys_stub.rs b/cargo-pgrx/src/pgrx_pg_sys_stub.rs index 70c762d82..e841c5ae6 100644 --- a/cargo-pgrx/src/pgrx_pg_sys_stub.rs +++ b/cargo-pgrx/src/pgrx_pg_sys_stub.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::collections::HashSet; use std::fs::File; use std::io::Write; diff --git a/cargo-pgrx/src/profile.rs b/cargo-pgrx/src/profile.rs index ec10f2886..aa1646762 100644 --- a/cargo-pgrx/src/profile.rs +++ b/cargo-pgrx/src/profile.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /// Represents a selected cargo profile /// /// Generally chosen from flags like `--release`, `--profile `. diff --git a/finalize-release.sh b/finalize-release.sh index 810a33054..2cd7fd015 100755 --- a/finalize-release.sh +++ b/finalize-release.sh @@ -1,4 +1,14 @@ #! /usr/bin/env bash +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + git switch develop git pull origin develop --ff-only diff --git a/nix/templates/default/Cargo.toml b/nix/templates/default/Cargo.toml index 12887dce1..2521a57ae 100644 --- a/nix/templates/default/Cargo.toml +++ b/nix/templates/default/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx_demo" version = "0.0.1" diff --git a/nix/templates/default/flake.nix b/nix/templates/default/flake.nix index aa47182d1..fa80f8d79 100644 --- a/nix/templates/default/flake.nix +++ b/nix/templates/default/flake.nix @@ -9,7 +9,7 @@ naersk.inputs.nixpkgs.follows = "nixpkgs"; gitignore.url = "github:hercules-ci/gitignore.nix"; gitignore.inputs.nixpkgs.follows = "nixpkgs"; - pgrx.url = "github:tcdi/pgrx"; + pgrx.url = "github:pgcentralfoundation/pgrx"; pgrx.inputs.nixpkgs.follows = "nixpkgs"; pgrx.inputs.naersk.follows = "naersk"; }; diff --git a/nix/templates/default/src/lib.rs b/nix/templates/default/src/lib.rs index 6f8ee1c00..17c5c6874 100644 --- a/nix/templates/default/src/lib.rs +++ b/nix/templates/default/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pgrx::pg_module_magic!(); diff --git a/pgrx-examples/aggregate/Cargo.toml b/pgrx-examples/aggregate/Cargo.toml index 30f4fcd1c..728216f0b 100644 --- a/pgrx-examples/aggregate/Cargo.toml +++ b/pgrx-examples/aggregate/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "aggregate" version = "0.0.0" diff --git a/pgrx-examples/aggregate/src/lib.rs b/pgrx-examples/aggregate/src/lib.rs index 68d4cdc53..c9ba56c1e 100644 --- a/pgrx-examples/aggregate/src/lib.rs +++ b/pgrx-examples/aggregate/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use core::ffi::CStr; use pgrx::aggregate::*; use pgrx::prelude::*; diff --git a/pgrx-examples/arrays/Cargo.toml b/pgrx-examples/arrays/Cargo.toml index 3e6b3a373..a984f240e 100644 --- a/pgrx-examples/arrays/Cargo.toml +++ b/pgrx-examples/arrays/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "arrays" version = "0.1.0" diff --git a/pgrx-examples/arrays/src/lib.rs b/pgrx-examples/arrays/src/lib.rs index 580bb9715..6e30620f4 100644 --- a/pgrx-examples/arrays/src/lib.rs +++ b/pgrx-examples/arrays/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::Array; use serde::*; diff --git a/pgrx-examples/bad_ideas/Cargo.toml b/pgrx-examples/bad_ideas/Cargo.toml index 9f599602d..65023bde8 100644 --- a/pgrx-examples/bad_ideas/Cargo.toml +++ b/pgrx-examples/bad_ideas/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "bad_ideas" version = "0.0.0" diff --git a/pgrx-examples/bad_ideas/src/lib.rs b/pgrx-examples/bad_ideas/src/lib.rs index 78f64742d..9f2d4e9d5 100644 --- a/pgrx-examples/bad_ideas/src/lib.rs +++ b/pgrx-examples/bad_ideas/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{check_for_interrupts, info, register_xact_callback, PgRelation, PgXactCallbackEvent}; use std::fs::File; diff --git a/pgrx-examples/bgworker/Cargo.toml b/pgrx-examples/bgworker/Cargo.toml index 68048116e..5c97d1fcc 100644 --- a/pgrx-examples/bgworker/Cargo.toml +++ b/pgrx-examples/bgworker/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "bgworker" version = "0.0.0" diff --git a/pgrx-examples/bgworker/src/lib.rs b/pgrx-examples/bgworker/src/lib.rs index b60b429b7..9abfdf3ab 100644 --- a/pgrx-examples/bgworker/src/lib.rs +++ b/pgrx-examples/bgworker/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::bgworkers::*; use pgrx::datum::{FromDatum, IntoDatum}; use pgrx::prelude::*; diff --git a/pgrx-examples/bytea/Cargo.toml b/pgrx-examples/bytea/Cargo.toml index 43accab04..dd38ef015 100644 --- a/pgrx-examples/bytea/Cargo.toml +++ b/pgrx-examples/bytea/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "bytea" version = "0.1.0" diff --git a/pgrx-examples/bytea/src/lib.rs b/pgrx-examples/bytea/src/lib.rs index c563358dd..6f9ed6295 100644 --- a/pgrx-examples/bytea/src/lib.rs +++ b/pgrx-examples/bytea/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use libflate::gzip::{Decoder, Encoder}; use pgrx::prelude::*; use std::io::{Read, Write}; diff --git a/pgrx-examples/composite_type/Cargo.toml b/pgrx-examples/composite_type/Cargo.toml index 663273c66..f5b9447a5 100644 --- a/pgrx-examples/composite_type/Cargo.toml +++ b/pgrx-examples/composite_type/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "composite_type" version = "0.0.0" diff --git a/pgrx-examples/composite_type/src/lib.rs b/pgrx-examples/composite_type/src/lib.rs index 49b6d25de..b0d2fc8a3 100644 --- a/pgrx-examples/composite_type/src/lib.rs +++ b/pgrx-examples/composite_type/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /** A guided example of composite types in `pgrx` Composite types in `pgrx` are essentially macros that alias to a [`PgHeapTuple`][pgrx::PgHeapTuple] diff --git a/pgrx-examples/custom_libname/Cargo.toml b/pgrx-examples/custom_libname/Cargo.toml index 2b3fff51f..ff2848da1 100644 --- a/pgrx-examples/custom_libname/Cargo.toml +++ b/pgrx-examples/custom_libname/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "custom_libname" version = "0.1.0" diff --git a/pgrx-examples/custom_libname/src/lib.rs b/pgrx-examples/custom_libname/src/lib.rs index ea28d3ec0..5f9f8e4d6 100644 --- a/pgrx-examples/custom_libname/src/lib.rs +++ b/pgrx-examples/custom_libname/src/lib.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pgrx::pg_module_magic!(); diff --git a/pgrx-examples/custom_sql/Cargo.toml b/pgrx-examples/custom_sql/Cargo.toml index b48d33dc0..9c52382f6 100644 --- a/pgrx-examples/custom_sql/Cargo.toml +++ b/pgrx-examples/custom_sql/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "custom_sql" version = "0.0.0" diff --git a/pgrx-examples/custom_sql/sql/finalizer.sql b/pgrx-examples/custom_sql/sql/finalizer.sql index 6f1ac30f5..480da0ee2 100644 --- a/pgrx-examples/custom_sql/sql/finalizer.sql +++ b/pgrx-examples/custom_sql/sql/finalizer.sql @@ -1,9 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +--LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +--LICENSE +--LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +--LICENSE +--LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +--LICENSE +--LICENSE All rights reserved. +--LICENSE +--LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + -All rights reserved. - -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ INSERT INTO extension_sql VALUES ('finalizer'); diff --git a/pgrx-examples/custom_sql/sql/multiple.sql b/pgrx-examples/custom_sql/sql/multiple.sql index eca36444f..2df36335b 100644 --- a/pgrx-examples/custom_sql/sql/multiple.sql +++ b/pgrx-examples/custom_sql/sql/multiple.sql @@ -1,9 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +--LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +--LICENSE +--LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +--LICENSE +--LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +--LICENSE +--LICENSE All rights reserved. +--LICENSE +--LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + -All rights reserved. - -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ INSERT INTO extension_sql VALUES ('multiple'); diff --git a/pgrx-examples/custom_sql/sql/single.sql b/pgrx-examples/custom_sql/sql/single.sql index 688e94799..30b8e4afa 100644 --- a/pgrx-examples/custom_sql/sql/single.sql +++ b/pgrx-examples/custom_sql/sql/single.sql @@ -1,9 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +--LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +--LICENSE +--LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +--LICENSE +--LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +--LICENSE +--LICENSE All rights reserved. +--LICENSE +--LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + -All rights reserved. - -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ INSERT INTO extension_sql VALUES ('single'); diff --git a/pgrx-examples/custom_sql/src/lib.rs b/pgrx-examples/custom_sql/src/lib.rs index fd84fd031..07aa3eafa 100644 --- a/pgrx-examples/custom_sql/src/lib.rs +++ b/pgrx-examples/custom_sql/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use serde::{Deserialize, Serialize}; diff --git a/pgrx-examples/custom_types/Cargo.toml b/pgrx-examples/custom_types/Cargo.toml index ff001b318..c6b8ca699 100644 --- a/pgrx-examples/custom_types/Cargo.toml +++ b/pgrx-examples/custom_types/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "custom_types" version = "0.1.0" diff --git a/pgrx-examples/custom_types/src/complex.rs b/pgrx-examples/custom_types/src/complex.rs index 2682943f3..028e769dc 100644 --- a/pgrx-examples/custom_types/src/complex.rs +++ b/pgrx-examples/custom_types/src/complex.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use maplit::*; use pgrx::prelude::*; use pgrx::Array; diff --git a/pgrx-examples/custom_types/src/fixed_size.rs b/pgrx-examples/custom_types/src/fixed_size.rs index 027dcf183..0cf02d773 100644 --- a/pgrx-examples/custom_types/src/fixed_size.rs +++ b/pgrx-examples/custom_types/src/fixed_size.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use core::ffi::CStr; use pgrx::prelude::*; use pgrx::{opname, pg_operator, PgVarlena, PgVarlenaInOutFuncs, StringInfo}; diff --git a/pgrx-examples/custom_types/src/generic_enum.rs b/pgrx-examples/custom_types/src/generic_enum.rs index d3f67fc84..32e459e63 100644 --- a/pgrx-examples/custom_types/src/generic_enum.rs +++ b/pgrx-examples/custom_types/src/generic_enum.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use serde::*; use std::fmt::{Display, Formatter}; diff --git a/pgrx-examples/custom_types/src/hexint.rs b/pgrx-examples/custom_types/src/hexint.rs index d478c4982..39d0f3f3e 100644 --- a/pgrx-examples/custom_types/src/hexint.rs +++ b/pgrx-examples/custom_types/src/hexint.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::pg_sys::{Datum, Oid}; use pgrx::pgrx_sql_entity_graph::metadata::{ ArgumentError, Returns, ReturnsError, SqlMapping, SqlTranslatable, diff --git a/pgrx-examples/custom_types/src/hstore_clone.rs b/pgrx-examples/custom_types/src/hstore_clone.rs index 160c9441c..d5f8325f7 100644 --- a/pgrx-examples/custom_types/src/hstore_clone.rs +++ b/pgrx-examples/custom_types/src/hstore_clone.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use maplit::*; use pgrx::prelude::*; use serde::*; diff --git a/pgrx-examples/custom_types/src/lib.rs b/pgrx-examples/custom_types/src/lib.rs index 70ec44951..cdad86803 100644 --- a/pgrx-examples/custom_types/src/lib.rs +++ b/pgrx-examples/custom_types/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. mod complex; mod fixed_size; mod generic_enum; diff --git a/pgrx-examples/custom_types/src/ordered.rs b/pgrx-examples/custom_types/src/ordered.rs index dcbed4a21..9c1684b19 100644 --- a/pgrx-examples/custom_types/src/ordered.rs +++ b/pgrx-examples/custom_types/src/ordered.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use serde::{Deserialize, Serialize}; use std::cmp::Ordering; diff --git a/pgrx-examples/custom_types/src/rust_enum.rs b/pgrx-examples/custom_types/src/rust_enum.rs index 3b578219a..e83db7b55 100644 --- a/pgrx-examples/custom_types/src/rust_enum.rs +++ b/pgrx-examples/custom_types/src/rust_enum.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use serde::*; diff --git a/pgrx-examples/datetime/Cargo.toml b/pgrx-examples/datetime/Cargo.toml index 3da1012bb..68a7759cc 100644 --- a/pgrx-examples/datetime/Cargo.toml +++ b/pgrx-examples/datetime/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "datetime" version = "0.1.0" diff --git a/pgrx-examples/datetime/src/lib.rs b/pgrx-examples/datetime/src/lib.rs index 39c8baf9f..af891c7f4 100644 --- a/pgrx-examples/datetime/src/lib.rs +++ b/pgrx-examples/datetime/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use rand::Rng; diff --git a/pgrx-examples/errors/Cargo.toml b/pgrx-examples/errors/Cargo.toml index 5783dc2ca..7f0aac89f 100644 --- a/pgrx-examples/errors/Cargo.toml +++ b/pgrx-examples/errors/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "errors" version = "0.1.0" diff --git a/pgrx-examples/errors/src/lib.rs b/pgrx-examples/errors/src/lib.rs index 99b1cf7f1..4c0fe36ff 100644 --- a/pgrx-examples/errors/src/lib.rs +++ b/pgrx-examples/errors/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{error, info, warning, PgRelation, FATAL, PANIC}; diff --git a/pgrx-examples/nostd/Cargo.toml b/pgrx-examples/nostd/Cargo.toml index e4edb2735..42a1e7096 100644 --- a/pgrx-examples/nostd/Cargo.toml +++ b/pgrx-examples/nostd/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "nostd" version = "0.0.0" diff --git a/pgrx-examples/nostd/src/lib.rs b/pgrx-examples/nostd/src/lib.rs index d819e2ff8..c1baaeeb6 100644 --- a/pgrx-examples/nostd/src/lib.rs +++ b/pgrx-examples/nostd/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! This exists just to make sure we can compile various things under `#![no_std]` #![no_std] diff --git a/pgrx-examples/numeric/Cargo.toml b/pgrx-examples/numeric/Cargo.toml index aecbbf618..3a0a24de9 100644 --- a/pgrx-examples/numeric/Cargo.toml +++ b/pgrx-examples/numeric/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "numeric" version = "0.0.0" diff --git a/pgrx-examples/numeric/src/lib.rs b/pgrx-examples/numeric/src/lib.rs index ad0b54a57..dee38645e 100644 --- a/pgrx-examples/numeric/src/lib.rs +++ b/pgrx-examples/numeric/src/lib.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pg_module_magic!(); diff --git a/pgrx-examples/operators/Cargo.toml b/pgrx-examples/operators/Cargo.toml index e0b601b9d..c3c412fe6 100644 --- a/pgrx-examples/operators/Cargo.toml +++ b/pgrx-examples/operators/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "operators" version = "0.1.0" diff --git a/pgrx-examples/operators/src/derived.rs b/pgrx-examples/operators/src/derived.rs index cbd81067c..cf1d8c65e 100644 --- a/pgrx-examples/operators/src/derived.rs +++ b/pgrx-examples/operators/src/derived.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use serde::{Deserialize, Serialize}; diff --git a/pgrx-examples/operators/src/lib.rs b/pgrx-examples/operators/src/lib.rs index 8fb3a9baf..89662f881 100644 --- a/pgrx-examples/operators/src/lib.rs +++ b/pgrx-examples/operators/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{opname, pg_operator}; use serde::{Deserialize, Serialize}; diff --git a/pgrx-examples/operators/src/pgvarlena.rs b/pgrx-examples/operators/src/pgvarlena.rs index 19d5c4b7b..255c64d70 100644 --- a/pgrx-examples/operators/src/pgvarlena.rs +++ b/pgrx-examples/operators/src/pgvarlena.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::StringInfo; use serde::{Deserialize, Serialize}; diff --git a/pgrx-examples/pgtrybuilder/Cargo.toml b/pgrx-examples/pgtrybuilder/Cargo.toml index 4a32964e0..dccea7b54 100644 --- a/pgrx-examples/pgtrybuilder/Cargo.toml +++ b/pgrx-examples/pgtrybuilder/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgtrybuilder" version = "0.1.0" diff --git a/pgrx-examples/pgtrybuilder/src/lib.rs b/pgrx-examples/pgtrybuilder/src/lib.rs index 431be1be8..80f2ccdee 100644 --- a/pgrx-examples/pgtrybuilder/src/lib.rs +++ b/pgrx-examples/pgtrybuilder/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::pg_sys::panic::CaughtError; use pgrx::prelude::*; diff --git a/pgrx-examples/range/Cargo.toml b/pgrx-examples/range/Cargo.toml index 98c09ffdc..7de7f6cc2 100644 --- a/pgrx-examples/range/Cargo.toml +++ b/pgrx-examples/range/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "range" version = "0.1.0" diff --git a/pgrx-examples/range/src/lib.rs b/pgrx-examples/range/src/lib.rs index 5972a1586..402971daf 100644 --- a/pgrx-examples/range/src/lib.rs +++ b/pgrx-examples/range/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pgrx::pg_module_magic!(); diff --git a/pgrx-examples/schemas/Cargo.toml b/pgrx-examples/schemas/Cargo.toml index 30bcd6255..d3a847d90 100644 --- a/pgrx-examples/schemas/Cargo.toml +++ b/pgrx-examples/schemas/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "schemas" version = "0.0.0" diff --git a/pgrx-examples/schemas/src/lib.rs b/pgrx-examples/schemas/src/lib.rs index ce98ba469..5e254c6ce 100644 --- a/pgrx-examples/schemas/src/lib.rs +++ b/pgrx-examples/schemas/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /// All top-level pgrx objects, **regardless** of the ".rs" file they're defined in, are created /// in the schema determined by `CREATE EXTENSION`. It could be `public` (the default), or a /// user-specified schema. We have no idea what that is. diff --git a/pgrx-examples/shmem/Cargo.toml b/pgrx-examples/shmem/Cargo.toml index 062f0d2e4..81b702337 100644 --- a/pgrx-examples/shmem/Cargo.toml +++ b/pgrx-examples/shmem/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "shmem" version = "0.1.0" diff --git a/pgrx-examples/shmem/src/lib.rs b/pgrx-examples/shmem/src/lib.rs index bbf14ace2..e34d015a5 100644 --- a/pgrx-examples/shmem/src/lib.rs +++ b/pgrx-examples/shmem/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::atomics::*; use pgrx::lwlock::PgLwLock; use pgrx::prelude::*; diff --git a/pgrx-examples/spi/Cargo.toml b/pgrx-examples/spi/Cargo.toml index a4f9bd019..471d253ab 100644 --- a/pgrx-examples/spi/Cargo.toml +++ b/pgrx-examples/spi/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "spi" version = "0.0.0" diff --git a/pgrx-examples/spi/src/lib.rs b/pgrx-examples/spi/src/lib.rs index 01d85a3f8..bfc1b1b49 100644 --- a/pgrx-examples/spi/src/lib.rs +++ b/pgrx-examples/spi/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{info, spi, IntoDatum}; diff --git a/pgrx-examples/spi_srf/Cargo.toml b/pgrx-examples/spi_srf/Cargo.toml index 2ddcfde95..b04f0c934 100644 --- a/pgrx-examples/spi_srf/Cargo.toml +++ b/pgrx-examples/spi_srf/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "spi_srf" version = "0.0.0" diff --git a/pgrx-examples/spi_srf/src/lib.rs b/pgrx-examples/spi_srf/src/lib.rs index b9a148c9e..a536c2b94 100644 --- a/pgrx-examples/spi_srf/src/lib.rs +++ b/pgrx-examples/spi_srf/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::IntoDatum; diff --git a/pgrx-examples/srf/Cargo.toml b/pgrx-examples/srf/Cargo.toml index 8617ec4b0..d72d777df 100644 --- a/pgrx-examples/srf/Cargo.toml +++ b/pgrx-examples/srf/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "srf" version = "0.1.0" diff --git a/pgrx-examples/srf/src/lib.rs b/pgrx-examples/srf/src/lib.rs index ea7ab6e40..4f4779a01 100644 --- a/pgrx-examples/srf/src/lib.rs +++ b/pgrx-examples/srf/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pgrx::pg_module_magic!(); diff --git a/pgrx-examples/strings/Cargo.toml b/pgrx-examples/strings/Cargo.toml index 0544dc4fd..f4fb83382 100644 --- a/pgrx-examples/strings/Cargo.toml +++ b/pgrx-examples/strings/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "strings" version = "0.1.0" diff --git a/pgrx-examples/strings/src/lib.rs b/pgrx-examples/strings/src/lib.rs index a06cad880..eacd38670 100644 --- a/pgrx-examples/strings/src/lib.rs +++ b/pgrx-examples/strings/src/lib.rs @@ -1,10 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pgrx::pg_module_magic!(); diff --git a/pgrx-examples/triggers/Cargo.toml b/pgrx-examples/triggers/Cargo.toml index 9094c1f57..eaf3fa7d3 100644 --- a/pgrx-examples/triggers/Cargo.toml +++ b/pgrx-examples/triggers/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "triggers" version = "0.0.0" diff --git a/pgrx-examples/triggers/src/lib.rs b/pgrx-examples/triggers/src/lib.rs index 51c4337c9..c8831d293 100644 --- a/pgrx-examples/triggers/src/lib.rs +++ b/pgrx-examples/triggers/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::WhoAllocated; diff --git a/pgrx-examples/versioned_custom_libname_so/Cargo.toml b/pgrx-examples/versioned_custom_libname_so/Cargo.toml index f90bda419..c4aabbe54 100644 --- a/pgrx-examples/versioned_custom_libname_so/Cargo.toml +++ b/pgrx-examples/versioned_custom_libname_so/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "versioned_custom_libname_so" version = "0.0.0" diff --git a/pgrx-examples/versioned_custom_libname_so/src/lib.rs b/pgrx-examples/versioned_custom_libname_so/src/lib.rs index d82f408ed..769b81d8c 100644 --- a/pgrx-examples/versioned_custom_libname_so/src/lib.rs +++ b/pgrx-examples/versioned_custom_libname_so/src/lib.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pgrx::pg_module_magic!(); diff --git a/pgrx-examples/versioned_so/Cargo.toml b/pgrx-examples/versioned_so/Cargo.toml index d539bd55b..4d91176d5 100644 --- a/pgrx-examples/versioned_so/Cargo.toml +++ b/pgrx-examples/versioned_so/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "versioned_so" version = "0.0.0" diff --git a/pgrx-examples/versioned_so/src/lib.rs b/pgrx-examples/versioned_so/src/lib.rs index 165f9411e..18a405d60 100644 --- a/pgrx-examples/versioned_so/src/lib.rs +++ b/pgrx-examples/versioned_so/src/lib.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; pgrx::pg_module_magic!(); diff --git a/pgrx-macros/Cargo.toml b/pgrx-macros/Cargo.toml index 276d8a8de..f490c38a5 100644 --- a/pgrx-macros/Cargo.toml +++ b/pgrx-macros/Cargo.toml @@ -1,11 +1,21 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx-macros" version = "0.9.7" authors = ["ZomboDB, LLC "] license = "MIT" description = "Proc Macros for 'pgrx'" -homepage = "https://github.com/tcdi/pgrx" -repository = "https://github.com/tcdi/pgrx" +homepage = "https://github.com/pgcentralfoundation/pgrx/" +repository = "https://github.com/pgcentralfoundation/pgrx/" documentation = "https://docs.rs/pgrx-macros" readme = "README.md" edition = "2021" diff --git a/pgrx-macros/src/lib.rs b/pgrx-macros/src/lib.rs index 443b08690..bf161e66f 100644 --- a/pgrx-macros/src/lib.rs +++ b/pgrx-macros/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. extern crate proc_macro; use proc_macro::TokenStream; diff --git a/pgrx-macros/src/operators.rs b/pgrx-macros/src/operators.rs index 22588871a..36b2316f0 100644 --- a/pgrx-macros/src/operators.rs +++ b/pgrx-macros/src/operators.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx_sql_entity_graph::{PostgresHash, PostgresOrd}; use crate::{parse_postgres_type_args, PostgresTypeAttribute}; diff --git a/pgrx-macros/src/rewriter.rs b/pgrx-macros/src/rewriter.rs index dd8266430..84683cdc0 100644 --- a/pgrx-macros/src/rewriter.rs +++ b/pgrx-macros/src/rewriter.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. extern crate proc_macro; use proc_macro2::Ident; diff --git a/pgrx-pg-config/Cargo.toml b/pgrx-pg-config/Cargo.toml index 3bb43e1fd..47c954b67 100644 --- a/pgrx-pg-config/Cargo.toml +++ b/pgrx-pg-config/Cargo.toml @@ -1,11 +1,21 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx-pg-config" version = "0.9.7" authors = ["ZomboDB, LLC "] license = "MIT" description = "A Postgres pg_config wrapper for 'pgrx'" -homepage = "https://github.com/tcdi/pgrx" -repository = "https://github.com/tcdi/pgrx" +homepage = "https://github.com/pgcentralfoundation/pgrx/" +repository = "https://github.com/pgcentralfoundation/pgrx/" documentation = "https://docs.rs/pgrx-pg-config" readme = "README.md" edition = "2021" diff --git a/pgrx-pg-config/src/cargo.rs b/pgrx-pg-config/src/cargo.rs index d826fb71c..3f1027e8b 100644 --- a/pgrx-pg-config/src/cargo.rs +++ b/pgrx-pg-config/src/cargo.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::path::Path; use cargo_toml::Manifest; diff --git a/pgrx-pg-config/src/lib.rs b/pgrx-pg-config/src/lib.rs index 47c091805..e22e3c17b 100644 --- a/pgrx-pg-config/src/lib.rs +++ b/pgrx-pg-config/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Wrapper around Postgres' `pg_config` command-line tool use eyre::{eyre, WrapErr}; use owo_colors::OwoColorize; diff --git a/pgrx-pg-config/src/path_methods.rs b/pgrx-pg-config/src/path_methods.rs index d3434d015..0d5b4c376 100644 --- a/pgrx-pg-config/src/path_methods.rs +++ b/pgrx-pg-config/src/path_methods.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use eyre::{eyre, WrapErr}; use serde_json::value::Value as JsonValue; use std::path::PathBuf; diff --git a/pgrx-pg-sys/Cargo.toml b/pgrx-pg-sys/Cargo.toml index d50478ec6..079ee54f1 100644 --- a/pgrx-pg-sys/Cargo.toml +++ b/pgrx-pg-sys/Cargo.toml @@ -1,11 +1,21 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx-pg-sys" version = "0.9.7" authors = ["ZomboDB, LLC "] license = "MIT" description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'" -homepage = "https://github.com/tcdi/pgrx" -repository = "https://github.com/tcdi/pgrx" +homepage = "https://github.com/pgcentralfoundation/pgrx/" +repository = "https://github.com/pgcentralfoundation/pgrx/" documentation = "https://docs.rs/pgrx-pg-sys" readme = "README.md" edition = "2021" diff --git a/pgrx-pg-sys/build.rs b/pgrx-pg-sys/build.rs index bd53569d9..8dc7f7888 100644 --- a/pgrx-pg-sys/build.rs +++ b/pgrx-pg-sys/build.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use bindgen::callbacks::{DeriveTrait, ImplementsTrait, MacroParsingBehavior}; use eyre::{eyre, WrapErr}; use once_cell::sync::Lazy; diff --git a/pgrx-pg-sys/build/sym_blocklist.rs b/pgrx-pg-sys/build/sym_blocklist.rs index 9dddfe025..78d4351c1 100644 --- a/pgrx-pg-sys/build/sym_blocklist.rs +++ b/pgrx-pg-sys/build/sym_blocklist.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2023 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Submodule of `build.rs` /// Hardcoded list of that are known to be from system libraries and other diff --git a/pgrx-pg-sys/cshim/Makefile b/pgrx-pg-sys/cshim/Makefile index 0cb6c4d66..b720ed1d1 100644 --- a/pgrx-pg-sys/cshim/Makefile +++ b/pgrx-pg-sys/cshim/Makefile @@ -1,13 +1,13 @@ -# Portions Copyright 2019-2021 ZomboDB, LLC. -# Portions Copyright 2021-2022 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. - - +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + MODULE_big = pgrx-cshim-${PG_TARGET_VERSION} OBJS = pgrx-cshim.o $(WIN32RES) PGFILEDESC = "pgrx-cshim - C shim to help pgrx" diff --git a/pgrx-pg-sys/cshim/pgrx-cshim.c b/pgrx-pg-sys/cshim/pgrx-cshim.c index eb3bd0e50..18599fca4 100644 --- a/pgrx-pg-sys/cshim/pgrx-cshim.c +++ b/pgrx-pg-sys/cshim/pgrx-cshim.c @@ -1,11 +1,14 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. -All rights reserved. -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ #include "postgres.h" #define IS_PG_11 (PG_VERSION_NUM >= 110000 && PG_VERSION_NUM < 120000) diff --git a/pgrx-pg-sys/include/pg11.h b/pgrx-pg-sys/include/pg11.h index b5980a6b6..89c0ec3bf 100644 --- a/pgrx-pg-sys/include/pg11.h +++ b/pgrx-pg-sys/include/pg11.h @@ -1,11 +1,14 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. -All rights reserved. -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" diff --git a/pgrx-pg-sys/include/pg12.h b/pgrx-pg-sys/include/pg12.h index ddae7188d..ce74c95ea 100644 --- a/pgrx-pg-sys/include/pg12.h +++ b/pgrx-pg-sys/include/pg12.h @@ -1,11 +1,14 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. -All rights reserved. -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" diff --git a/pgrx-pg-sys/include/pg13.h b/pgrx-pg-sys/include/pg13.h index a67000d93..79fb95365 100644 --- a/pgrx-pg-sys/include/pg13.h +++ b/pgrx-pg-sys/include/pg13.h @@ -1,11 +1,14 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. -All rights reserved. -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" diff --git a/pgrx-pg-sys/include/pg14.h b/pgrx-pg-sys/include/pg14.h index a67000d93..79fb95365 100644 --- a/pgrx-pg-sys/include/pg14.h +++ b/pgrx-pg-sys/include/pg14.h @@ -1,11 +1,14 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. -All rights reserved. -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" diff --git a/pgrx-pg-sys/include/pg15.h b/pgrx-pg-sys/include/pg15.h index a67000d93..79fb95365 100644 --- a/pgrx-pg-sys/include/pg15.h +++ b/pgrx-pg-sys/include/pg15.h @@ -1,11 +1,14 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. -All rights reserved. -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" diff --git a/pgrx-pg-sys/include/pg16.h b/pgrx-pg-sys/include/pg16.h index a67000d93..79fb95365 100644 --- a/pgrx-pg-sys/include/pg16.h +++ b/pgrx-pg-sys/include/pg16.h @@ -1,11 +1,14 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 Technology Concepts & Design, Inc. +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. -All rights reserved. -Use of this source code is governed by the MIT license that can be found in the LICENSE file. -*/ #include "postgres.h" #include "pg_config.h" #include "funcapi.h" diff --git a/pgrx-pg-sys/src/lib.rs b/pgrx-pg-sys/src/lib.rs index 7581690f8..092f7a54a 100644 --- a/pgrx-pg-sys/src/lib.rs +++ b/pgrx-pg-sys/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. // // we allow improper_ctypes just to eliminate these warnings: // = note: `#[warn(improper_ctypes)]` on by default @@ -837,7 +837,7 @@ mod internal { // Hack to fix linker errors that we get under amazonlinux2 on some PG versions // due to our wrappers for various system library functions. Should be fairly // harmless, but ideally we would not wrap these functions -// (https://github.com/tcdi/pgrx/issues/730). +// (https://github.com/pgcentralfoundation/pgrx/issues/730). #[cfg(target_os = "linux")] #[link(name = "resolv")] extern "C" {} diff --git a/pgrx-pg-sys/src/pg11.rs b/pgrx-pg-sys/src/pg11.rs index f086b3bde..7064c751a 100644 --- a/pgrx-pg-sys/src/pg11.rs +++ b/pgrx-pg-sys/src/pg11.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate as pg_sys; #[cfg(any( feature = "pg12", diff --git a/pgrx-pg-sys/src/pg11_oids.rs b/pgrx-pg-sys/src/pg11_oids.rs index 4b7a156ef..d62bc3739 100644 --- a/pgrx-pg-sys/src/pg11_oids.rs +++ b/pgrx-pg-sys/src/pg11_oids.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::NotBuiltinOid; #[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)] pub enum BuiltinOid { diff --git a/pgrx-pg-sys/src/pg12.rs b/pgrx-pg-sys/src/pg12.rs index aa7ae07f4..32666e774 100644 --- a/pgrx-pg-sys/src/pg12.rs +++ b/pgrx-pg-sys/src/pg12.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate as pg_sys; #[cfg(any( feature = "pg12", diff --git a/pgrx-pg-sys/src/pg12_oids.rs b/pgrx-pg-sys/src/pg12_oids.rs index fe609303b..97440dd7d 100644 --- a/pgrx-pg-sys/src/pg12_oids.rs +++ b/pgrx-pg-sys/src/pg12_oids.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::NotBuiltinOid; #[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)] pub enum BuiltinOid { diff --git a/pgrx-pg-sys/src/pg13.rs b/pgrx-pg-sys/src/pg13.rs index 58bdac95c..43544a78c 100644 --- a/pgrx-pg-sys/src/pg13.rs +++ b/pgrx-pg-sys/src/pg13.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate as pg_sys; #[cfg(any( feature = "pg12", diff --git a/pgrx-pg-sys/src/pg13_oids.rs b/pgrx-pg-sys/src/pg13_oids.rs index 3924e2650..b87e470e1 100644 --- a/pgrx-pg-sys/src/pg13_oids.rs +++ b/pgrx-pg-sys/src/pg13_oids.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::NotBuiltinOid; #[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)] pub enum BuiltinOid { diff --git a/pgrx-pg-sys/src/pg14.rs b/pgrx-pg-sys/src/pg14.rs index 3df5bd800..31b801f5f 100644 --- a/pgrx-pg-sys/src/pg14.rs +++ b/pgrx-pg-sys/src/pg14.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate as pg_sys; #[cfg(any( feature = "pg12", diff --git a/pgrx-pg-sys/src/pg14_oids.rs b/pgrx-pg-sys/src/pg14_oids.rs index 4ce13f703..8e97ddccc 100644 --- a/pgrx-pg-sys/src/pg14_oids.rs +++ b/pgrx-pg-sys/src/pg14_oids.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::NotBuiltinOid; #[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)] pub enum BuiltinOid { diff --git a/pgrx-pg-sys/src/pg15.rs b/pgrx-pg-sys/src/pg15.rs index 07b0cadd1..62e55ce70 100644 --- a/pgrx-pg-sys/src/pg15.rs +++ b/pgrx-pg-sys/src/pg15.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate as pg_sys; #[cfg(any( feature = "pg12", diff --git a/pgrx-pg-sys/src/pg15_oids.rs b/pgrx-pg-sys/src/pg15_oids.rs index 1b1412cc4..92c8d7e33 100644 --- a/pgrx-pg-sys/src/pg15_oids.rs +++ b/pgrx-pg-sys/src/pg15_oids.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::NotBuiltinOid; #[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)] pub enum BuiltinOid { diff --git a/pgrx-pg-sys/src/pg16.rs b/pgrx-pg-sys/src/pg16.rs index e68c54f94..3ed5953d8 100644 --- a/pgrx-pg-sys/src/pg16.rs +++ b/pgrx-pg-sys/src/pg16.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate as pg_sys; #[cfg(any( feature = "pg12", diff --git a/pgrx-pg-sys/src/pg16_oids.rs b/pgrx-pg-sys/src/pg16_oids.rs index 1b1412cc4..92c8d7e33 100644 --- a/pgrx-pg-sys/src/pg16_oids.rs +++ b/pgrx-pg-sys/src/pg16_oids.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::NotBuiltinOid; #[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)] pub enum BuiltinOid { diff --git a/pgrx-pg-sys/src/submodules/datum.rs b/pgrx-pg-sys/src/submodules/datum.rs index f946fe5d7..52794b430 100644 --- a/pgrx-pg-sys/src/submodules/datum.rs +++ b/pgrx-pg-sys/src/submodules/datum.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. // Polyfill while #![feature(strict_provenance)] is unstable #[cfg(not(nightly))] use sptr::Strict; diff --git a/pgrx-pg-sys/src/submodules/elog.rs b/pgrx-pg-sys/src/submodules/elog.rs index cebb3ce61..8caa0c052 100644 --- a/pgrx-pg-sys/src/submodules/elog.rs +++ b/pgrx-pg-sys/src/submodules/elog.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Access to Postgres' logging system /// Postgres' various logging levels diff --git a/pgrx-pg-sys/src/submodules/errcodes.rs b/pgrx-pg-sys/src/submodules/errcodes.rs index 1fd646987..231bd2ebb 100644 --- a/pgrx-pg-sys/src/submodules/errcodes.rs +++ b/pgrx-pg-sys/src/submodules/errcodes.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::fmt::{Display, Formatter}; /// This list of SQL Error Codes is taken directly from Postgres 12's generated "utils/errcodes.h" diff --git a/pgrx-pg-sys/src/submodules/ffi.rs b/pgrx-pg-sys/src/submodules/ffi.rs index df751dce5..c74f45543 100644 --- a/pgrx-pg-sys/src/submodules/ffi.rs +++ b/pgrx-pg-sys/src/submodules/ffi.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![deny(unsafe_op_in_unsafe_fn)] /** diff --git a/pgrx-pg-sys/src/submodules/htup.rs b/pgrx-pg-sys/src/submodules/htup.rs index e814a0557..d8cfdbd05 100644 --- a/pgrx-pg-sys/src/submodules/htup.rs +++ b/pgrx-pg-sys/src/submodules/htup.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{ bits8, getmissingattr, heap_getsysattr, nocachegetattr, CommandId, Datum, FormData_pg_attribute, FrozenTransactionId, HeapTupleData, HeapTupleHeaderData, TransactionId, diff --git a/pgrx-pg-sys/src/submodules/mod.rs b/pgrx-pg-sys/src/submodules/mod.rs index c62f213eb..4dbbb543c 100644 --- a/pgrx-pg-sys/src/submodules/mod.rs +++ b/pgrx-pg-sys/src/submodules/mod.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. pub mod datum; #[macro_use] pub mod elog; diff --git a/pgrx-pg-sys/src/submodules/oids.rs b/pgrx-pg-sys/src/submodules/oids.rs index eebf09022..d873eecd9 100644 --- a/pgrx-pg-sys/src/submodules/oids.rs +++ b/pgrx-pg-sys/src/submodules/oids.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![allow(non_camel_case_types)] use crate as pg_sys; use crate::BuiltinOid; diff --git a/pgrx-pg-sys/src/submodules/panic.rs b/pgrx-pg-sys/src/submodules/panic.rs index dff49e58f..15858e73e 100644 --- a/pgrx-pg-sys/src/submodules/panic.rs +++ b/pgrx-pg-sys/src/submodules/panic.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![deny(unsafe_op_in_unsafe_fn)] #![allow(non_snake_case)] diff --git a/pgrx-pg-sys/src/submodules/pg_try.rs b/pgrx-pg-sys/src/submodules/pg_try.rs index d4431cda4..b79467523 100644 --- a/pgrx-pg-sys/src/submodules/pg_try.rs +++ b/pgrx-pg-sys/src/submodules/pg_try.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::errcodes::PgSqlErrorCode; use crate::panic::{downcast_panic_payload, CaughtError}; use std::collections::BTreeMap; diff --git a/pgrx-pg-sys/src/submodules/polyfill.rs b/pgrx-pg-sys/src/submodules/polyfill.rs index 9902fe0a4..6afa446cc 100644 --- a/pgrx-pg-sys/src/submodules/polyfill.rs +++ b/pgrx-pg-sys/src/submodules/polyfill.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. // Constants defined in PG13+ mod typalign { pub const TYPALIGN_CHAR: u8 = b'c'; diff --git a/pgrx-pg-sys/src/submodules/sql_translatable.rs b/pgrx-pg-sys/src/submodules/sql_translatable.rs index 684211982..9f159a08c 100644 --- a/pgrx-pg-sys/src/submodules/sql_translatable.rs +++ b/pgrx-pg-sys/src/submodules/sql_translatable.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx_sql_entity_graph::metadata::{ ArgumentError, Returns, ReturnsError, SqlMapping, SqlTranslatable, }; diff --git a/pgrx-pg-sys/src/submodules/thread_check.rs b/pgrx-pg-sys/src/submodules/thread_check.rs index 9849f7c00..4052f821b 100644 --- a/pgrx-pg-sys/src/submodules/thread_check.rs +++ b/pgrx-pg-sys/src/submodules/thread_check.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Enforces thread-safety in `pgrx`. //! //! It's UB to call into Postgres functions from multiple threads. We handle diff --git a/pgrx-pg-sys/src/submodules/tupdesc.rs b/pgrx-pg-sys/src/submodules/tupdesc.rs index 0a3aa157c..51321c2e7 100644 --- a/pgrx-pg-sys/src/submodules/tupdesc.rs +++ b/pgrx-pg-sys/src/submodules/tupdesc.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Provides helper implementations for various `TupleDesc`-related structs use crate::oids::PgOid; diff --git a/pgrx-pg-sys/src/submodules/utils.rs b/pgrx-pg-sys/src/submodules/utils.rs index 214a74dfe..627d2e794 100644 --- a/pgrx-pg-sys/src/submodules/utils.rs +++ b/pgrx-pg-sys/src/submodules/utils.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! General utility functions use crate as pg_sys; diff --git a/pgrx-sql-entity-graph/Cargo.toml b/pgrx-sql-entity-graph/Cargo.toml index 496c633f2..400858bc6 100644 --- a/pgrx-sql-entity-graph/Cargo.toml +++ b/pgrx-sql-entity-graph/Cargo.toml @@ -1,11 +1,21 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx-sql-entity-graph" version = "0.9.7" authors = ["ZomboDB, LLC "] license = "MIT" description = "Sql Entity Graph for `pgrx`" -homepage = "https://github.com/tcdi/pgrx" -repository = "https://github.com/tcdi/pgrx" +homepage = "https://github.com/pgcentralfoundation/pgrx/" +repository = "https://github.com/pgcentralfoundation/pgrx/" documentation = "https://docs.rs/pgrx-sql-entity-graph" readme = "README.md" edition = "2021" diff --git a/pgrx-sql-entity-graph/src/aggregate/aggregate_type.rs b/pgrx-sql-entity-graph/src/aggregate/aggregate_type.rs index d1130aac5..2ab0c2942 100644 --- a/pgrx-sql-entity-graph/src/aggregate/aggregate_type.rs +++ b/pgrx-sql-entity-graph/src/aggregate/aggregate_type.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_aggregate]` related type metadata for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/aggregate/entity.rs b/pgrx-sql-entity-graph/src/aggregate/entity.rs index 62b211734..430a58543 100644 --- a/pgrx-sql-entity-graph/src/aggregate/entity.rs +++ b/pgrx-sql-entity-graph/src/aggregate/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_aggregate]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/aggregate/mod.rs b/pgrx-sql-entity-graph/src/aggregate/mod.rs index 2b46f6340..b446faf39 100644 --- a/pgrx-sql-entity-graph/src/aggregate/mod.rs +++ b/pgrx-sql-entity-graph/src/aggregate/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_aggregate]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/aggregate/options.rs b/pgrx-sql-entity-graph/src/aggregate/options.rs index deed1db02..7b458692b 100644 --- a/pgrx-sql-entity-graph/src/aggregate/options.rs +++ b/pgrx-sql-entity-graph/src/aggregate/options.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_aggregate]` related options for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/control_file.rs b/pgrx-sql-entity-graph/src/control_file.rs index 8105eee3f..0587c23d1 100644 --- a/pgrx-sql-entity-graph/src/control_file.rs +++ b/pgrx-sql-entity-graph/src/control_file.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `pgrx_module_magic!()` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/enrich.rs b/pgrx-sql-entity-graph/src/enrich.rs index 170e08617..4572e73d7 100644 --- a/pgrx-sql-entity-graph/src/enrich.rs +++ b/pgrx-sql-entity-graph/src/enrich.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use proc_macro2::TokenStream as TokenStream2; use quote::{quote, ToTokens, TokenStreamExt}; diff --git a/pgrx-sql-entity-graph/src/extension_sql/entity.rs b/pgrx-sql-entity-graph/src/extension_sql/entity.rs index f7c406c14..2033c29f9 100644 --- a/pgrx-sql-entity-graph/src/extension_sql/entity.rs +++ b/pgrx-sql-entity-graph/src/extension_sql/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `pgrx::extension_sql!()` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/extension_sql/mod.rs b/pgrx-sql-entity-graph/src/extension_sql/mod.rs index d2e0adb15..558e231d9 100644 --- a/pgrx-sql-entity-graph/src/extension_sql/mod.rs +++ b/pgrx-sql-entity-graph/src/extension_sql/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `pgrx::extension_sql!()` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/extern_args.rs b/pgrx-sql-entity-graph/src/extern_args.rs index 6009f79e6..0776af2ef 100644 --- a/pgrx-sql-entity-graph/src/extern_args.rs +++ b/pgrx-sql-entity-graph/src/extern_args.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::PositioningRef; use proc_macro2::{TokenStream, TokenTree}; use quote::{format_ident, quote, ToTokens, TokenStreamExt}; diff --git a/pgrx-sql-entity-graph/src/lib.rs b/pgrx-sql-entity-graph/src/lib.rs index 562f68783..05b64caeb 100644 --- a/pgrx-sql-entity-graph/src/lib.rs +++ b/pgrx-sql-entity-graph/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Rust to SQL mapping support. diff --git a/pgrx-sql-entity-graph/src/lifetimes.rs b/pgrx-sql-entity-graph/src/lifetimes.rs index 6892878b3..cbd36504d 100644 --- a/pgrx-sql-entity-graph/src/lifetimes.rs +++ b/pgrx-sql-entity-graph/src/lifetimes.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::NameMacro; use proc_macro2::TokenStream; diff --git a/pgrx-sql-entity-graph/src/mapping.rs b/pgrx-sql-entity-graph/src/mapping.rs index 0cd743c23..ad6ac97e7 100644 --- a/pgrx-sql-entity-graph/src/mapping.rs +++ b/pgrx-sql-entity-graph/src/mapping.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Rust to SQL mapping support for dependency graph generation diff --git a/pgrx-sql-entity-graph/src/metadata/entity.rs b/pgrx-sql-entity-graph/src/metadata/entity.rs index b411cacf4..31834a9ab 100644 --- a/pgrx-sql-entity-graph/src/metadata/entity.rs +++ b/pgrx-sql-entity-graph/src/metadata/entity.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Function and type level metadata entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/metadata/function_metadata.rs b/pgrx-sql-entity-graph/src/metadata/function_metadata.rs index f6b050f6a..4a5428712 100644 --- a/pgrx-sql-entity-graph/src/metadata/function_metadata.rs +++ b/pgrx-sql-entity-graph/src/metadata/function_metadata.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Function level metadata for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/metadata/mod.rs b/pgrx-sql-entity-graph/src/metadata/mod.rs index c29a8b702..f44fda1a4 100644 --- a/pgrx-sql-entity-graph/src/metadata/mod.rs +++ b/pgrx-sql-entity-graph/src/metadata/mod.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Function and type level metadata for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/metadata/phantomdata_ext.rs b/pgrx-sql-entity-graph/src/metadata/phantomdata_ext.rs index 63d0f61bb..be38c4d5c 100644 --- a/pgrx-sql-entity-graph/src/metadata/phantomdata_ext.rs +++ b/pgrx-sql-entity-graph/src/metadata/phantomdata_ext.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Zero sized type marker metadata for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/metadata/return_variant.rs b/pgrx-sql-entity-graph/src/metadata/return_variant.rs index a90aaaf3e..94be46ae2 100644 --- a/pgrx-sql-entity-graph/src/metadata/return_variant.rs +++ b/pgrx-sql-entity-graph/src/metadata/return_variant.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Return value specific metadata for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/metadata/sql_translatable.rs b/pgrx-sql-entity-graph/src/metadata/sql_translatable.rs index c0003bee8..97be4af5f 100644 --- a/pgrx-sql-entity-graph/src/metadata/sql_translatable.rs +++ b/pgrx-sql-entity-graph/src/metadata/sql_translatable.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! A trait denoting a type can possibly be mapped to an SQL type diff --git a/pgrx-sql-entity-graph/src/pg_extern/argument.rs b/pgrx-sql-entity-graph/src/pg_extern/argument.rs index d91f85d7f..769d04290 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/argument.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/argument.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` related argument macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/attribute.rs b/pgrx-sql-entity-graph/src/pg_extern/attribute.rs index c58964dcc..db1b87889 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/attribute.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/attribute.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` related attributes for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/entity/argument.rs b/pgrx-sql-entity-graph/src/pg_extern/entity/argument.rs index 946608a4d..c4d3a1902 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/entity/argument.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/entity/argument.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` related argument entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/entity/mod.rs b/pgrx-sql-entity-graph/src/pg_extern/entity/mod.rs index 030791966..76239ac67 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/entity/mod.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/entity/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/entity/operator.rs b/pgrx-sql-entity-graph/src/pg_extern/entity/operator.rs index d78f5eecf..5d144a69b 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/entity/operator.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/entity/operator.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` related operator entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/entity/returning.rs b/pgrx-sql-entity-graph/src/pg_extern/entity/returning.rs index c4c7ee134..e004384cc 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/entity/returning.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/entity/returning.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` related return value entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/mod.rs b/pgrx-sql-entity-graph/src/pg_extern/mod.rs index bd7bc2fbf..ed848cf4e 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/mod.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/mod.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/operator.rs b/pgrx-sql-entity-graph/src/pg_extern/operator.rs index 6928f8bea..cd6639545 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/operator.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/operator.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_operator]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/returning.rs b/pgrx-sql-entity-graph/src/pg_extern/returning.rs index a829b2a4d..72683af11 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/returning.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/returning.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` return value related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_extern/search_path.rs b/pgrx-sql-entity-graph/src/pg_extern/search_path.rs index a36fcdf43..ea847e77a 100644 --- a/pgrx-sql-entity-graph/src/pg_extern/search_path.rs +++ b/pgrx-sql-entity-graph/src/pg_extern/search_path.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_extern]` search path related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_trigger/attribute.rs b/pgrx-sql-entity-graph/src/pg_trigger/attribute.rs index 27fe1e91f..74ed01cd1 100644 --- a/pgrx-sql-entity-graph/src/pg_trigger/attribute.rs +++ b/pgrx-sql-entity-graph/src/pg_trigger/attribute.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_trigger]` attribute related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_trigger/entity.rs b/pgrx-sql-entity-graph/src/pg_trigger/entity.rs index 4841a7fca..c69153b3c 100644 --- a/pgrx-sql-entity-graph/src/pg_trigger/entity.rs +++ b/pgrx-sql-entity-graph/src/pg_trigger/entity.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_trigger]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pg_trigger/mod.rs b/pgrx-sql-entity-graph/src/pg_trigger/mod.rs index 6727bf012..d2fee6687 100644 --- a/pgrx-sql-entity-graph/src/pg_trigger/mod.rs +++ b/pgrx-sql-entity-graph/src/pg_trigger/mod.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_trigger]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/pgrx_attribute.rs b/pgrx-sql-entity-graph/src/pgrx_attribute.rs index 737e443e0..f91684028 100644 --- a/pgrx-sql-entity-graph/src/pgrx_attribute.rs +++ b/pgrx-sql-entity-graph/src/pgrx_attribute.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pgrx]` attribute for Rust to SQL mapping support. diff --git a/pgrx-sql-entity-graph/src/pgrx_sql.rs b/pgrx-sql-entity-graph/src/pgrx_sql.rs index c18dc7ce0..6e32fe307 100644 --- a/pgrx-sql-entity-graph/src/pgrx_sql.rs +++ b/pgrx-sql-entity-graph/src/pgrx_sql.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Rust to SQL mapping support. diff --git a/pgrx-sql-entity-graph/src/positioning_ref.rs b/pgrx-sql-entity-graph/src/positioning_ref.rs index d44184420..aff85e661 100644 --- a/pgrx-sql-entity-graph/src/positioning_ref.rs +++ b/pgrx-sql-entity-graph/src/positioning_ref.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Positioning references for Rust to SQL mapping support. diff --git a/pgrx-sql-entity-graph/src/postgres_enum/entity.rs b/pgrx-sql-entity-graph/src/postgres_enum/entity.rs index c6f2eb5e6..579de81bf 100644 --- a/pgrx-sql-entity-graph/src/postgres_enum/entity.rs +++ b/pgrx-sql-entity-graph/src/postgres_enum/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresEnum)]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/postgres_enum/mod.rs b/pgrx-sql-entity-graph/src/postgres_enum/mod.rs index e79684d75..96e6f68f4 100644 --- a/pgrx-sql-entity-graph/src/postgres_enum/mod.rs +++ b/pgrx-sql-entity-graph/src/postgres_enum/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresEnum)]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/postgres_hash/entity.rs b/pgrx-sql-entity-graph/src/postgres_hash/entity.rs index 829dff038..8a65f1aba 100644 --- a/pgrx-sql-entity-graph/src/postgres_hash/entity.rs +++ b/pgrx-sql-entity-graph/src/postgres_hash/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresHash)]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/postgres_hash/mod.rs b/pgrx-sql-entity-graph/src/postgres_hash/mod.rs index 4f7fb66a5..a9e198b1c 100644 --- a/pgrx-sql-entity-graph/src/postgres_hash/mod.rs +++ b/pgrx-sql-entity-graph/src/postgres_hash/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresHash)]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/postgres_ord/entity.rs b/pgrx-sql-entity-graph/src/postgres_ord/entity.rs index 6c13b283b..1cd8d2464 100644 --- a/pgrx-sql-entity-graph/src/postgres_ord/entity.rs +++ b/pgrx-sql-entity-graph/src/postgres_ord/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresOrd)]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/postgres_ord/mod.rs b/pgrx-sql-entity-graph/src/postgres_ord/mod.rs index 8a8c9dbd1..370ceb3c8 100644 --- a/pgrx-sql-entity-graph/src/postgres_ord/mod.rs +++ b/pgrx-sql-entity-graph/src/postgres_ord/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresOrd)]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/postgres_type/entity.rs b/pgrx-sql-entity-graph/src/postgres_type/entity.rs index 91c5e6083..258736bf6 100644 --- a/pgrx-sql-entity-graph/src/postgres_type/entity.rs +++ b/pgrx-sql-entity-graph/src/postgres_type/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresType)]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/postgres_type/mod.rs b/pgrx-sql-entity-graph/src/postgres_type/mod.rs index 24d6737ee..e76477abf 100644 --- a/pgrx-sql-entity-graph/src/postgres_type/mod.rs +++ b/pgrx-sql-entity-graph/src/postgres_type/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[derive(PostgresType)]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/schema/entity.rs b/pgrx-sql-entity-graph/src/schema/entity.rs index feb9e3519..c19d86f72 100644 --- a/pgrx-sql-entity-graph/src/schema/entity.rs +++ b/pgrx-sql-entity-graph/src/schema/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_schema]` related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/schema/mod.rs b/pgrx-sql-entity-graph/src/schema/mod.rs index 45379ae84..940c75ab7 100644 --- a/pgrx-sql-entity-graph/src/schema/mod.rs +++ b/pgrx-sql-entity-graph/src/schema/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `#[pg_schema]` related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/to_sql/entity.rs b/pgrx-sql-entity-graph/src/to_sql/entity.rs index 22a59d1fd..f45385e57 100644 --- a/pgrx-sql-entity-graph/src/to_sql/entity.rs +++ b/pgrx-sql-entity-graph/src/to_sql/entity.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `sql = ...` fragment related entities for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/to_sql/mod.rs b/pgrx-sql-entity-graph/src/to_sql/mod.rs index 3ad8aae03..977ab6147 100644 --- a/pgrx-sql-entity-graph/src/to_sql/mod.rs +++ b/pgrx-sql-entity-graph/src/to_sql/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! `sql = ...` fragment related macro expansion for Rust to SQL translation diff --git a/pgrx-sql-entity-graph/src/used_type.rs b/pgrx-sql-entity-graph/src/used_type.rs index 9a141e493..5c53a1081 100644 --- a/pgrx-sql-entity-graph/src/used_type.rs +++ b/pgrx-sql-entity-graph/src/used_type.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Type level metadata for Rust to SQL generation. diff --git a/pgrx-tests/Cargo.toml b/pgrx-tests/Cargo.toml index 6487d17ed..3a7e2ffb7 100644 --- a/pgrx-tests/Cargo.toml +++ b/pgrx-tests/Cargo.toml @@ -1,11 +1,21 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx-tests" version = "0.9.7" authors = ["ZomboDB, LLC "] license = "MIT" description = "Test framework for 'pgrx'-based Postgres extensions" -homepage = "https://github.com/tcdi/pgrx" -repository = "https://github.com/tcdi/pgrx" +homepage = "https://github.com/pgcentralfoundation/pgrx/" +repository = "https://github.com/pgcentralfoundation/pgrx/" documentation = "https://docs.rs/pgrx-tests" readme = "README.md" edition = "2021" diff --git a/pgrx-tests/src/framework.rs b/pgrx-tests/src/framework.rs index a21a724e3..82b16c3e6 100644 --- a/pgrx-tests/src/framework.rs +++ b/pgrx-tests/src/framework.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::collections::HashSet; use std::process::{Command, Stdio}; diff --git a/pgrx-tests/src/framework/shutdown.rs b/pgrx-tests/src/framework/shutdown.rs index 7c753e7fc..bf6c3da82 100644 --- a/pgrx-tests/src/framework/shutdown.rs +++ b/pgrx-tests/src/framework/shutdown.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::panic::{self, AssertUnwindSafe, Location}; use std::sync::{Mutex, PoisonError}; use std::{any, io, mem, process}; diff --git a/pgrx-tests/src/lib.rs b/pgrx-tests/src/lib.rs index e38bda9dc..af39b6a8a 100644 --- a/pgrx-tests/src/lib.rs +++ b/pgrx-tests/src/lib.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. mod framework; #[cfg(any(test, feature = "pg_test"))] mod tests; diff --git a/pgrx-tests/src/tests/aggregate_tests.rs b/pgrx-tests/src/tests/aggregate_tests.rs index f20be3915..680442969 100644 --- a/pgrx-tests/src/tests/aggregate_tests.rs +++ b/pgrx-tests/src/tests/aggregate_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{Aggregate, Internal, ParallelOption}; use serde::{Deserialize, Serialize}; diff --git a/pgrx-tests/src/tests/anyarray_tests.rs b/pgrx-tests/src/tests/anyarray_tests.rs index e4fd2554b..a049a84e1 100644 --- a/pgrx-tests/src/tests/anyarray_tests.rs +++ b/pgrx-tests/src/tests/anyarray_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{direct_function_call, AnyArray, IntoDatum, Json}; diff --git a/pgrx-tests/src/tests/array_tests.rs b/pgrx-tests/src/tests/array_tests.rs index 0e093cf9d..35e39c4fc 100644 --- a/pgrx-tests/src/tests/array_tests.rs +++ b/pgrx-tests/src/tests/array_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::array::RawArray; use pgrx::prelude::*; use pgrx::PostgresEnum; diff --git a/pgrx-tests/src/tests/attributes_tests.rs b/pgrx-tests/src/tests/attributes_tests.rs index 61e0bedb0..bb4a9c239 100644 --- a/pgrx-tests/src/tests/attributes_tests.rs +++ b/pgrx-tests/src/tests/attributes_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/bgworker_tests.rs b/pgrx-tests/src/tests/bgworker_tests.rs index 5325aad36..71bc04fc2 100644 --- a/pgrx-tests/src/tests/bgworker_tests.rs +++ b/pgrx-tests/src/tests/bgworker_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{FromDatum, IntoDatum, PgOid}; diff --git a/pgrx-tests/src/tests/bytea_tests.rs b/pgrx-tests/src/tests/bytea_tests.rs index 24728d065..56270cefa 100644 --- a/pgrx-tests/src/tests/bytea_tests.rs +++ b/pgrx-tests/src/tests/bytea_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/cfg_tests.rs b/pgrx-tests/src/tests/cfg_tests.rs index e72cf51bd..fb048dfd1 100644 --- a/pgrx-tests/src/tests/cfg_tests.rs +++ b/pgrx-tests/src/tests/cfg_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[cfg(any(test, feature = "pg_test"))] diff --git a/pgrx-tests/src/tests/datetime_tests.rs b/pgrx-tests/src/tests/datetime_tests.rs index fc0122cd2..faaa9fc7f 100644 --- a/pgrx-tests/src/tests/datetime_tests.rs +++ b/pgrx-tests/src/tests/datetime_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pg_extern] diff --git a/pgrx-tests/src/tests/default_arg_value_tests.rs b/pgrx-tests/src/tests/default_arg_value_tests.rs index 3b5b27fae..a4e18e8e7 100644 --- a/pgrx-tests/src/tests/default_arg_value_tests.rs +++ b/pgrx-tests/src/tests/default_arg_value_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pg_extern] diff --git a/pgrx-tests/src/tests/derive_pgtype_lifetimes.rs b/pgrx-tests/src/tests/derive_pgtype_lifetimes.rs index 1b72fc2e7..0e73dce9b 100644 --- a/pgrx-tests/src/tests/derive_pgtype_lifetimes.rs +++ b/pgrx-tests/src/tests/derive_pgtype_lifetimes.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![allow(dead_code)] /// the purpose of this test is to just make sure this code compiles! use pgrx::prelude::*; diff --git a/pgrx-tests/src/tests/enum_type_tests.rs b/pgrx-tests/src/tests/enum_type_tests.rs index 246fc01f9..87e1577f6 100644 --- a/pgrx-tests/src/tests/enum_type_tests.rs +++ b/pgrx-tests/src/tests/enum_type_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[derive(PostgresEnum, PartialEq, Debug)] diff --git a/pgrx-tests/src/tests/fcinfo_tests.rs b/pgrx-tests/src/tests/fcinfo_tests.rs index 9e2294608..7d07f32d4 100644 --- a/pgrx-tests/src/tests/fcinfo_tests.rs +++ b/pgrx-tests/src/tests/fcinfo_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{InOutFuncs, StringInfo}; use serde::{Deserialize, Serialize}; @@ -99,7 +99,7 @@ fn same_name(same_name: &str) -> &str { same_name } -// Tests for regression of https://github.com/tcdi/pgrx/issues/432 +// Tests for regression of https://github.com/pgcentralfoundation/pgrx/issues/432 #[pg_extern] fn fcinfo_renamed_one_arg( _x: PgBox, diff --git a/pgrx-tests/src/tests/from_into_datum_tests.rs b/pgrx-tests/src/tests/from_into_datum_tests.rs index f336229e9..6b11ef729 100644 --- a/pgrx-tests/src/tests/from_into_datum_tests.rs +++ b/pgrx-tests/src/tests/from_into_datum_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/geo_tests.rs b/pgrx-tests/src/tests/geo_tests.rs index 7907bd182..a8833b7a8 100644 --- a/pgrx-tests/src/tests/geo_tests.rs +++ b/pgrx-tests/src/tests/geo_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/guc_tests.rs b/pgrx-tests/src/tests/guc_tests.rs index ad20c3337..f9bc58f8d 100644 --- a/pgrx-tests/src/tests/guc_tests.rs +++ b/pgrx-tests/src/tests/guc_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/heap_tuple.rs b/pgrx-tests/src/tests/heap_tuple.rs index 68b3b8434..ffe2eca5c 100644 --- a/pgrx-tests/src/tests/heap_tuple.rs +++ b/pgrx-tests/src/tests/heap_tuple.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. // This is used by some, but not all, examples below. const DOG_COMPOSITE_TYPE: &str = "Dog"; diff --git a/pgrx-tests/src/tests/hooks_tests.rs b/pgrx-tests/src/tests/hooks_tests.rs index 083b42e91..bc46d2125 100644 --- a/pgrx-tests/src/tests/hooks_tests.rs +++ b/pgrx-tests/src/tests/hooks_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/inet_tests.rs b/pgrx-tests/src/tests/inet_tests.rs index be7a33ae9..050787ae7 100644 --- a/pgrx-tests/src/tests/inet_tests.rs +++ b/pgrx-tests/src/tests/inet_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/internal_tests.rs b/pgrx-tests/src/tests/internal_tests.rs index 28e675e5e..513b2e26f 100644 --- a/pgrx-tests/src/tests/internal_tests.rs +++ b/pgrx-tests/src/tests/internal_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/issue1134.rs b/pgrx-tests/src/tests/issue1134.rs index 44c2eac36..1d100d658 100644 --- a/pgrx-tests/src/tests/issue1134.rs +++ b/pgrx-tests/src/tests/issue1134.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. // If this code doesn't generate a syntax error in the generated SQL then PR #1134 is working as expected use pgrx::{prelude::*, Internal}; diff --git a/pgrx-tests/src/tests/json_tests.rs b/pgrx-tests/src/tests/json_tests.rs index 0f2ed2974..75b9b1a5f 100644 --- a/pgrx-tests/src/tests/json_tests.rs +++ b/pgrx-tests/src/tests/json_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/lifetime_tests.rs b/pgrx-tests/src/tests/lifetime_tests.rs index 6218b7583..4c926aad2 100644 --- a/pgrx-tests/src/tests/lifetime_tests.rs +++ b/pgrx-tests/src/tests/lifetime_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! This file exists just to ensure the code within compiles use pgrx::prelude::*; use serde::{Deserialize, Serialize}; diff --git a/pgrx-tests/src/tests/log_tests.rs b/pgrx-tests/src/tests/log_tests.rs index d76d9c943..079f37c81 100644 --- a/pgrx-tests/src/tests/log_tests.rs +++ b/pgrx-tests/src/tests/log_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/memcxt_tests.rs b/pgrx-tests/src/tests/memcxt_tests.rs index 920b04f13..54aa2e5c2 100644 --- a/pgrx-tests/src/tests/memcxt_tests.rs +++ b/pgrx-tests/src/tests/memcxt_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/mod.rs b/pgrx-tests/src/tests/mod.rs index 547168e6e..3473de908 100644 --- a/pgrx-tests/src/tests/mod.rs +++ b/pgrx-tests/src/tests/mod.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. mod aggregate_tests; mod anyarray_tests; mod array_tests; diff --git a/pgrx-tests/src/tests/name_tests.rs b/pgrx-tests/src/tests/name_tests.rs index c3582a519..6a7272285 100644 --- a/pgrx-tests/src/tests/name_tests.rs +++ b/pgrx-tests/src/tests/name_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pg_extern(name = "renamed_func")] diff --git a/pgrx-tests/src/tests/numeric_tests.rs b/pgrx-tests/src/tests/numeric_tests.rs index 56961a643..565b781c6 100644 --- a/pgrx-tests/src/tests/numeric_tests.rs +++ b/pgrx-tests/src/tests/numeric_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/pg_extern_tests.rs b/pgrx-tests/src/tests/pg_extern_tests.rs index 211e60eef..56df185d3 100644 --- a/pgrx-tests/src/tests/pg_extern_tests.rs +++ b/pgrx-tests/src/tests/pg_extern_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pg_extern(immutable)] diff --git a/pgrx-tests/src/tests/pg_guard_tests.rs b/pgrx-tests/src/tests/pg_guard_tests.rs index 85f5c486c..a1dfe20da 100644 --- a/pgrx-tests/src/tests/pg_guard_tests.rs +++ b/pgrx-tests/src/tests/pg_guard_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pg_extern] diff --git a/pgrx-tests/src/tests/pg_try_tests.rs b/pgrx-tests/src/tests/pg_try_tests.rs index 784a0bac0..120c943fc 100644 --- a/pgrx-tests/src/tests/pg_try_tests.rs +++ b/pgrx-tests/src/tests/pg_try_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; // if our Postgres ERROR and Rust panic!() handling is incorrect, this little bit of useless code diff --git a/pgrx-tests/src/tests/pgbox_tests.rs b/pgrx-tests/src/tests/pgbox_tests.rs index 5b5f7c602..941bdd152 100644 --- a/pgrx-tests/src/tests/pgbox_tests.rs +++ b/pgrx-tests/src/tests/pgbox_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/pgrx_module_qualification.rs b/pgrx-tests/src/tests/pgrx_module_qualification.rs index 5b1124316..0d1c816f1 100644 --- a/pgrx-tests/src/tests/pgrx_module_qualification.rs +++ b/pgrx-tests/src/tests/pgrx_module_qualification.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![forbid(unsafe_op_in_unsafe_fn)] //! If this test compiles, and assuming it includes a usage of all the things pgrx generates code for //! then we know that pgrx has ::fully::qualified::all::its::pgrx::symbols diff --git a/pgrx-tests/src/tests/postgres_type_tests.rs b/pgrx-tests/src/tests/postgres_type_tests.rs index 16d55c3e4..56262a5cd 100644 --- a/pgrx-tests/src/tests/postgres_type_tests.rs +++ b/pgrx-tests/src/tests/postgres_type_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use core::ffi::CStr; use pgrx::prelude::*; use pgrx::{InOutFuncs, PgVarlena, PgVarlenaInOutFuncs, StringInfo}; diff --git a/pgrx-tests/src/tests/range_tests.rs b/pgrx-tests/src/tests/range_tests.rs index cae3b83d6..dfa76c224 100644 --- a/pgrx-tests/src/tests/range_tests.rs +++ b/pgrx-tests/src/tests/range_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pg_extern] diff --git a/pgrx-tests/src/tests/result_tests.rs b/pgrx-tests/src/tests/result_tests.rs index fe3c21120..99778154f 100644 --- a/pgrx-tests/src/tests/result_tests.rs +++ b/pgrx-tests/src/tests/result_tests.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/schema_tests.rs b/pgrx-tests/src/tests/schema_tests.rs index 89c7b2af4..20caaaca5 100644 --- a/pgrx-tests/src/tests/schema_tests.rs +++ b/pgrx-tests/src/tests/schema_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pgrx::pg_schema] diff --git a/pgrx-tests/src/tests/shmem_tests.rs b/pgrx-tests/src/tests/shmem_tests.rs index 2bb0acf3b..353d8e363 100644 --- a/pgrx-tests/src/tests/shmem_tests.rs +++ b/pgrx-tests/src/tests/shmem_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{pg_shmem_init, PgAtomic, PgLwLock, PgSharedMemoryInitialization}; use std::sync::atomic::AtomicBool; diff --git a/pgrx-tests/src/tests/spi_tests.rs b/pgrx-tests/src/tests/spi_tests.rs index 5e2bda14c..3dfe68474 100644 --- a/pgrx-tests/src/tests/spi_tests.rs +++ b/pgrx-tests/src/tests/spi_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/srf_tests.rs b/pgrx-tests/src/tests/srf_tests.rs index 5325d2f94..326e1b0fb 100644 --- a/pgrx-tests/src/tests/srf_tests.rs +++ b/pgrx-tests/src/tests/srf_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; #[pg_extern] diff --git a/pgrx-tests/src/tests/struct_type_tests.rs b/pgrx-tests/src/tests/struct_type_tests.rs index c61525f38..e8851574d 100644 --- a/pgrx-tests/src/tests/struct_type_tests.rs +++ b/pgrx-tests/src/tests/struct_type_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::pgrx_sql_entity_graph::metadata::{ ArgumentError, Returns, ReturnsError, SqlMapping, SqlTranslatable, }; diff --git a/pgrx-tests/src/tests/trigger_tests.rs b/pgrx-tests/src/tests/trigger_tests.rs index 1e71abf14..67e836683 100644 --- a/pgrx-tests/src/tests/trigger_tests.rs +++ b/pgrx-tests/src/tests/trigger_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/uuid_tests.rs b/pgrx-tests/src/tests/uuid_tests.rs index 624f6e751..4967b472f 100644 --- a/pgrx-tests/src/tests/uuid_tests.rs +++ b/pgrx-tests/src/tests/uuid_tests.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx::prelude::*; use pgrx::{Uuid, UuidBytes}; diff --git a/pgrx-tests/src/tests/variadic_tests.rs b/pgrx-tests/src/tests/variadic_tests.rs index 8a49d7ad5..6e0cd0bf2 100644 --- a/pgrx-tests/src/tests/variadic_tests.rs +++ b/pgrx-tests/src/tests/variadic_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[pgrx::pg_schema] mod test { use pgrx::prelude::*; diff --git a/pgrx-tests/src/tests/xact_callback_tests.rs b/pgrx-tests/src/tests/xact_callback_tests.rs index 435e7b797..8594305da 100644 --- a/pgrx-tests/src/tests/xact_callback_tests.rs +++ b/pgrx-tests/src/tests/xact_callback_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/xid64_tests.rs b/pgrx-tests/src/tests/xid64_tests.rs index 025928753..3783c263e 100644 --- a/pgrx-tests/src/tests/xid64_tests.rs +++ b/pgrx-tests/src/tests/xid64_tests.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-tests/src/tests/zero_datum_edge_cases.rs b/pgrx-tests/src/tests/zero_datum_edge_cases.rs index 37448180e..303818230 100644 --- a/pgrx-tests/src/tests/zero_datum_edge_cases.rs +++ b/pgrx-tests/src/tests/zero_datum_edge_cases.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[cfg(any(test, feature = "pg_test"))] #[pgrx::pg_schema] mod tests { diff --git a/pgrx-version-updater/Cargo.toml b/pgrx-version-updater/Cargo.toml index a5d61f91a..415b07562 100644 --- a/pgrx-version-updater/Cargo.toml +++ b/pgrx-version-updater/Cargo.toml @@ -1,3 +1,13 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx-version-updater" version = "0.1.1" diff --git a/pgrx-version-updater/src/main.rs b/pgrx-version-updater/src/main.rs index 15b86b48a..5ad5f8b65 100644 --- a/pgrx-version-updater/src/main.rs +++ b/pgrx-version-updater/src/main.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![deny(clippy::needless_borrow)] // unnecessary borrows can impair inference #![deny(clippy::manual_flatten)] // avoid rightwards drift #![deny(clippy::redundant_static_lifetimes)] // avoid unnecessary lifetime annotations diff --git a/pgrx/Cargo.toml b/pgrx/Cargo.toml index 0a201b0a5..bc903ffce 100644 --- a/pgrx/Cargo.toml +++ b/pgrx/Cargo.toml @@ -1,11 +1,21 @@ +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + [package] name = "pgrx" version = "0.9.7" authors = ["ZomboDB, LLC "] license = "MIT" description = "pgrx: A Rust framework for creating Postgres extensions" -homepage = "https://github.com/tcdi/pgrx" -repository = "https://github.com/tcdi/pgrx" +homepage = "https://github.com/pgcentralfoundation/pgrx/" +repository = "https://github.com/pgcentralfoundation/pgrx/" documentation = "https://docs.rs/pgrx" categories = ["database"] keywords = ["database", "postgres", "postgresql", "extension"] diff --git a/pgrx/src/aggregate.rs b/pgrx/src/aggregate.rs index e9d1eae20..458b2740a 100644 --- a/pgrx/src/aggregate.rs +++ b/pgrx/src/aggregate.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! [Aggregate](https://www.postgresql.org/docs/current/xaggr.html) support. diff --git a/pgrx/src/array.rs b/pgrx/src/array.rs index e2f4b6b08..589fbf985 100644 --- a/pgrx/src/array.rs +++ b/pgrx/src/array.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::datum::{Array, FromDatum}; use crate::pg_sys; use crate::toast::{Toast, Toasty}; diff --git a/pgrx/src/atomics.rs b/pgrx/src/atomics.rs index a7b66d16f..cd558b781 100644 --- a/pgrx/src/atomics.rs +++ b/pgrx/src/atomics.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use once_cell::sync::OnceCell; pub struct PgAtomic { diff --git a/pgrx/src/bgworkers.rs b/pgrx/src/bgworkers.rs index eb58ff5be..eaf950395 100644 --- a/pgrx/src/bgworkers.rs +++ b/pgrx/src/bgworkers.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Safely create Postgres Background Workers, including with full SPI support //! //! See: [https://www.postgresql.org/docs/current/bgworker.html](https://www.postgresql.org/docs/current/bgworker.html) diff --git a/pgrx/src/callbacks.rs b/pgrx/src/callbacks.rs index 3121246ba..8eca5588d 100644 --- a/pgrx/src/callbacks.rs +++ b/pgrx/src/callbacks.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Provides safe wrappers around Postgres' "Transaction" and "Sub Transaction" hook system use crate as pgrx; // for #[pg_guard] support from within ourself diff --git a/pgrx/src/datum/anyarray.rs b/pgrx/src/datum/anyarray.rs index af74d12d1..ee45c34bc 100644 --- a/pgrx/src/datum/anyarray.rs +++ b/pgrx/src/datum/anyarray.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{pg_sys, FromDatum, IntoDatum}; use pgrx_sql_entity_graph::metadata::{ ArgumentError, Returns, ReturnsError, SqlMapping, SqlTranslatable, diff --git a/pgrx/src/datum/anyelement.rs b/pgrx/src/datum/anyelement.rs index 740b0fe3a..d84fa31ae 100644 --- a/pgrx/src/datum/anyelement.rs +++ b/pgrx/src/datum/anyelement.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{pg_sys, FromDatum, IntoDatum}; use pgrx_sql_entity_graph::metadata::{ ArgumentError, Returns, ReturnsError, SqlMapping, SqlTranslatable, diff --git a/pgrx/src/datum/array.rs b/pgrx/src/datum/array.rs index 8576bc34f..d562ce9fd 100644 --- a/pgrx/src/datum/array.rs +++ b/pgrx/src/datum/array.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::array::RawArray; use crate::datum::array::casper::ChaChaSlide; use crate::layout::*; diff --git a/pgrx/src/datum/date.rs b/pgrx/src/datum/date.rs index b03f6e3fc..b47adb620 100644 --- a/pgrx/src/datum/date.rs +++ b/pgrx/src/datum/date.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use core::num::TryFromIntError; use pgrx_pg_sys::errcodes::PgSqlErrorCode; use pgrx_pg_sys::PgTryBuilder; diff --git a/pgrx/src/datum/datetime_support/ctor.rs b/pgrx/src/datum/datetime_support/ctor.rs index 24b595f8d..c564727f6 100644 --- a/pgrx/src/datum/datetime_support/ctor.rs +++ b/pgrx/src/datum/datetime_support/ctor.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Exposes constructor methods for creating [`TimestampWithTimeZone`]s based on the various //! ways Postgres likes to interpret the "current time". use crate::{direct_function_call, pg_sys, Date, IntoDatum, Timestamp, TimestampWithTimeZone}; diff --git a/pgrx/src/datum/datetime_support/mod.rs b/pgrx/src/datum/datetime_support/mod.rs index 7b4e003ec..7a9e65fd4 100644 --- a/pgrx/src/datum/datetime_support/mod.rs +++ b/pgrx/src/datum/datetime_support/mod.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{ direct_function_call, pg_sys, AnyNumeric, Date, Interval, IntoDatum, Time, TimeWithTimeZone, Timestamp, TimestampWithTimeZone, diff --git a/pgrx/src/datum/datetime_support/ops.rs b/pgrx/src/datum/datetime_support/ops.rs index fe8316f86..363c66984 100644 --- a/pgrx/src/datum/datetime_support/ops.rs +++ b/pgrx/src/datum/datetime_support/ops.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{ direct_function_call, pg_sys, Date, Interval, IntoDatum, Time, TimeWithTimeZone, Timestamp, TimestampWithTimeZone, diff --git a/pgrx/src/datum/from.rs b/pgrx/src/datum/from.rs index fe00d298e..7a05ce324 100644 --- a/pgrx/src/datum/from.rs +++ b/pgrx/src/datum/from.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! for converting a pg_sys::Datum and a corresponding "is_null" bool into a typed Option use crate::{ diff --git a/pgrx/src/datum/geo.rs b/pgrx/src/datum/geo.rs index ef66e78ee..d3b69fd71 100644 --- a/pgrx/src/datum/geo.rs +++ b/pgrx/src/datum/geo.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{pg_sys, FromDatum, IntoDatum, PgBox}; impl FromDatum for pg_sys::BOX { diff --git a/pgrx/src/datum/inet.rs b/pgrx/src/datum/inet.rs index bd5aa6e98..c9e104405 100644 --- a/pgrx/src/datum/inet.rs +++ b/pgrx/src/datum/inet.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{direct_function_call, direct_function_call_as_datum, pg_sys, FromDatum, IntoDatum}; use core::ffi::CStr; use pgrx_pg_sys::errcodes::PgSqlErrorCode; diff --git a/pgrx/src/datum/internal.rs b/pgrx/src/datum/internal.rs index 9ce2cd900..757d57d31 100644 --- a/pgrx/src/datum/internal.rs +++ b/pgrx/src/datum/internal.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{pg_sys, FromDatum, IntoDatum, PgMemoryContexts}; use pgrx_sql_entity_graph::metadata::{ ArgumentError, Returns, ReturnsError, SqlMapping, SqlTranslatable, diff --git a/pgrx/src/datum/interval.rs b/pgrx/src/datum/interval.rs index e8dc6d50f..988999907 100644 --- a/pgrx/src/datum/interval.rs +++ b/pgrx/src/datum/interval.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::datum::datetime_support::IntervalConversionError; use crate::{direct_function_call, pg_sys, DateTimeParts, FromDatum, IntoDatum, Time, ToIsoString}; use pgrx_sql_entity_graph::metadata::{ diff --git a/pgrx/src/datum/into.rs b/pgrx/src/datum/into.rs index 32e37d289..41c0d2b82 100644 --- a/pgrx/src/datum/into.rs +++ b/pgrx/src/datum/into.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! for converting primitive types into Datums //! //! Primitive types can never be null, so we do a direct diff --git a/pgrx/src/datum/item_pointer_data.rs b/pgrx/src/datum/item_pointer_data.rs index 4b63e8298..1dd1c0387 100644 --- a/pgrx/src/datum/item_pointer_data.rs +++ b/pgrx/src/datum/item_pointer_data.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{ item_pointer_get_both, item_pointer_set_all, pg_sys, FromDatum, IntoDatum, PgMemoryContexts, }; diff --git a/pgrx/src/datum/json.rs b/pgrx/src/datum/json.rs index 8032426e4..de594763e 100644 --- a/pgrx/src/datum/json.rs +++ b/pgrx/src/datum/json.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{ direct_function_call, direct_function_call_as_datum, pg_sys, vardata_any, varsize_any_exhdr, void_mut_ptr, FromDatum, IntoDatum, diff --git a/pgrx/src/datum/mod.rs b/pgrx/src/datum/mod.rs index 502ccdb43..2a9ef2e3c 100644 --- a/pgrx/src/datum/mod.rs +++ b/pgrx/src/datum/mod.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Handing for easily converting Postgres Datum types into their corresponding Rust types //! and converting Rust types into their corresponding Postgres types mod anyarray; diff --git a/pgrx/src/datum/numeric.rs b/pgrx/src/datum/numeric.rs index e9afebec0..64babdc7d 100644 --- a/pgrx/src/datum/numeric.rs +++ b/pgrx/src/datum/numeric.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use core::ffi::CStr; use core::fmt::{Debug, Display, Formatter}; use std::fmt; diff --git a/pgrx/src/datum/numeric_support/cmp.rs b/pgrx/src/datum/numeric_support/cmp.rs index e8688defa..e4cb81d25 100644 --- a/pgrx/src/datum/numeric_support/cmp.rs +++ b/pgrx/src/datum/numeric_support/cmp.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::cmp::Ordering; use crate::{direct_function_call, pg_sys, AnyNumeric, Numeric}; diff --git a/pgrx/src/datum/numeric_support/convert.rs b/pgrx/src/datum/numeric_support/convert.rs index dd0f9a943..2eacadb36 100644 --- a/pgrx/src/datum/numeric_support/convert.rs +++ b/pgrx/src/datum/numeric_support/convert.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx_pg_sys::errcodes::PgSqlErrorCode; use pgrx_pg_sys::panic::CaughtError; use pgrx_pg_sys::PgTryBuilder; diff --git a/pgrx/src/datum/numeric_support/convert_anynumeric.rs b/pgrx/src/datum/numeric_support/convert_anynumeric.rs index 5089a8333..4b343054b 100644 --- a/pgrx/src/datum/numeric_support/convert_anynumeric.rs +++ b/pgrx/src/datum/numeric_support/convert_anynumeric.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Conversion implementations for from a thing into [AnyNumeric] use core::ffi::CStr; use core::str::FromStr; diff --git a/pgrx/src/datum/numeric_support/convert_numeric.rs b/pgrx/src/datum/numeric_support/convert_numeric.rs index bd053690f..f33f6b468 100644 --- a/pgrx/src/datum/numeric_support/convert_numeric.rs +++ b/pgrx/src/datum/numeric_support/convert_numeric.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Conversion implementations for converting from a thing into [`Numeric`] use core::ffi::CStr; use core::str::FromStr; diff --git a/pgrx/src/datum/numeric_support/convert_primitive.rs b/pgrx/src/datum/numeric_support/convert_primitive.rs index 603dbd8fc..022eea981 100644 --- a/pgrx/src/datum/numeric_support/convert_primitive.rs +++ b/pgrx/src/datum/numeric_support/convert_primitive.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Conversion implementations for converting [`AnyNumeric`] or [`Numeric`] into primitives use crate::numeric::Error; diff --git a/pgrx/src/datum/numeric_support/datum.rs b/pgrx/src/datum/numeric_support/datum.rs index 101ab553f..c329fc664 100644 --- a/pgrx/src/datum/numeric_support/datum.rs +++ b/pgrx/src/datum/numeric_support/datum.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{pg_sys, AnyNumeric, FromDatum, IntoDatum, Numeric, PgMemoryContexts}; impl FromDatum for AnyNumeric { diff --git a/pgrx/src/datum/numeric_support/error.rs b/pgrx/src/datum/numeric_support/error.rs index 9b21d6c6b..113ce9298 100644 --- a/pgrx/src/datum/numeric_support/error.rs +++ b/pgrx/src/datum/numeric_support/error.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::fmt; use std::fmt::{Display, Formatter}; diff --git a/pgrx/src/datum/numeric_support/hash.rs b/pgrx/src/datum/numeric_support/hash.rs index dbd0f93c4..b050569d7 100644 --- a/pgrx/src/datum/numeric_support/hash.rs +++ b/pgrx/src/datum/numeric_support/hash.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::hash::{Hash, Hasher}; use crate::{direct_function_call, pg_sys, AnyNumeric, Numeric}; diff --git a/pgrx/src/datum/numeric_support/mod.rs b/pgrx/src/datum/numeric_support/mod.rs index cbbb996e4..29cc45092 100644 --- a/pgrx/src/datum/numeric_support/mod.rs +++ b/pgrx/src/datum/numeric_support/mod.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{direct_function_call_as_datum, pg_sys, AnyNumeric}; pub mod cmp; diff --git a/pgrx/src/datum/numeric_support/ops.rs b/pgrx/src/datum/numeric_support/ops.rs index a5027e030..28493e159 100644 --- a/pgrx/src/datum/numeric_support/ops.rs +++ b/pgrx/src/datum/numeric_support/ops.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::ops::{ Add, AddAssign, Deref, Div, DivAssign, Mul, MulAssign, Neg, Rem, RemAssign, Sub, SubAssign, }; diff --git a/pgrx/src/datum/numeric_support/serde.rs b/pgrx/src/datum/numeric_support/serde.rs index 06ecd3e1d..5a2e99e63 100644 --- a/pgrx/src/datum/numeric_support/serde.rs +++ b/pgrx/src/datum/numeric_support/serde.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use core::fmt::Formatter; use std::fmt; diff --git a/pgrx/src/datum/numeric_support/sql.rs b/pgrx/src/datum/numeric_support/sql.rs index afa69ff51..9f282e238 100644 --- a/pgrx/src/datum/numeric_support/sql.rs +++ b/pgrx/src/datum/numeric_support/sql.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use pgrx_sql_entity_graph::metadata::{ ArgumentError, Returns, ReturnsError, SqlMapping, SqlTranslatable, }; diff --git a/pgrx/src/datum/range.rs b/pgrx/src/datum/range.rs index 352635271..d49c3ed03 100644 --- a/pgrx/src/datum/range.rs +++ b/pgrx/src/datum/range.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Utility functions for working with `pg_sys::RangeType` structs use crate::{ pg_sys, AnyNumeric, Date, FromDatum, IntoDatum, Numeric, Timestamp, TimestampWithTimeZone, diff --git a/pgrx/src/datum/time.rs b/pgrx/src/datum/time.rs index 50a9d4a10..e92e309ff 100644 --- a/pgrx/src/datum/time.rs +++ b/pgrx/src/datum/time.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::datum::datetime_support::*; use crate::{ direct_function_call, pg_sys, FromDatum, Interval, IntoDatum, TimeWithTimeZone, Timestamp, diff --git a/pgrx/src/datum/time_stamp.rs b/pgrx/src/datum/time_stamp.rs index 4f9424fff..b27c7ec8e 100644 --- a/pgrx/src/datum/time_stamp.rs +++ b/pgrx/src/datum/time_stamp.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{ direct_function_call, pg_sys, Date, DateTimeConversionError, DateTimeParts, FromDatum, HasExtractableParts, Interval, IntoDatum, Time, TimestampWithTimeZone, ToIsoString, diff --git a/pgrx/src/datum/time_stamp_with_timezone.rs b/pgrx/src/datum/time_stamp_with_timezone.rs index e3df4e37f..338c6fe01 100644 --- a/pgrx/src/datum/time_stamp_with_timezone.rs +++ b/pgrx/src/datum/time_stamp_with_timezone.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{ direct_function_call, pg_sys, Date, DateTimeConversionError, DateTimeParts, FromDatum, HasExtractableParts, Interval, IntoDatum, Timestamp, ToIsoString, diff --git a/pgrx/src/datum/time_with_timezone.rs b/pgrx/src/datum/time_with_timezone.rs index f51619daa..3c74b3e0b 100644 --- a/pgrx/src/datum/time_with_timezone.rs +++ b/pgrx/src/datum/time_with_timezone.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::datetime_support::{DateTimeParts, HasExtractableParts}; use crate::datum::time::Time; use crate::{ diff --git a/pgrx/src/datum/tuples.rs b/pgrx/src/datum/tuples.rs index e5b71f390..030b718d6 100644 --- a/pgrx/src/datum/tuples.rs +++ b/pgrx/src/datum/tuples.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{pg_sys, FromDatum, IntoDatum}; impl IntoDatum for (Option, Option) diff --git a/pgrx/src/datum/uuid.rs b/pgrx/src/datum/uuid.rs index 148120c48..22d658dc2 100644 --- a/pgrx/src/datum/uuid.rs +++ b/pgrx/src/datum/uuid.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::{pg_sys, FromDatum, IntoDatum, PgMemoryContexts}; use core::fmt::Write; use pgrx_sql_entity_graph::metadata::{ diff --git a/pgrx/src/datum/varlena.rs b/pgrx/src/datum/varlena.rs index f8d8faa9f..8540d5442 100644 --- a/pgrx/src/datum/varlena.rs +++ b/pgrx/src/datum/varlena.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Wrapper for Postgres 'varlena' type, over Rust types of a fixed size (ie, `impl Copy`) use crate::pg_sys::{VARATT_SHORT_MAX, VARHDRSZ_SHORT}; use crate::{ diff --git a/pgrx/src/enum_helper.rs b/pgrx/src/enum_helper.rs index d84878e99..f0ab889e2 100644 --- a/pgrx/src/enum_helper.rs +++ b/pgrx/src/enum_helper.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Helper functions for working with Postgres `enum` types use crate::pg_sys::GETSTRUCT; diff --git a/pgrx/src/fcinfo.rs b/pgrx/src/fcinfo.rs index 1429843f9..6d2370205 100644 --- a/pgrx/src/fcinfo.rs +++ b/pgrx/src/fcinfo.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Helper functions for creating Postgres UDFs //! //! Typically these functions are not necessary to call directly as they're used behind diff --git a/pgrx/src/ffi.rs b/pgrx/src/ffi.rs index c1c10c37d..81a65c166 100644 --- a/pgrx/src/ffi.rs +++ b/pgrx/src/ffi.rs @@ -1,2 +1,11 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Reexport FFI definitions here. pub use libc::c_char; diff --git a/pgrx/src/guc.rs b/pgrx/src/guc.rs index ceb90744b..85c8faa2b 100644 --- a/pgrx/src/guc.rs +++ b/pgrx/src/guc.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Provides a safe interface into Postgres' Configuration System (GUC) use crate::{pg_sys, PgMemoryContexts}; use core::ffi::CStr; diff --git a/pgrx/src/heap_tuple.rs b/pgrx/src/heap_tuple.rs index 42f786dfc..4fa4e8f99 100644 --- a/pgrx/src/heap_tuple.rs +++ b/pgrx/src/heap_tuple.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Provides a safe interface to Postgres `HeapTuple` objects. //! //! [`PgHeapTuple`]s also describe composite types as defined by [`pgrx::composite_type!()`][crate::composite_type]. diff --git a/pgrx/src/hooks.rs b/pgrx/src/hooks.rs index b40956aa8..b79f315ff 100644 --- a/pgrx/src/hooks.rs +++ b/pgrx/src/hooks.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! A trait and registration system for hooking Postgres internal operations such as its planner and executor use crate as pgrx; // for #[pg_guard] support from within ourself use crate::prelude::*; diff --git a/pgrx/src/htup.rs b/pgrx/src/htup.rs index 7f56ed1e3..6c87cada7 100644 --- a/pgrx/src/htup.rs +++ b/pgrx/src/htup.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Utility functions for working with [`pg_sys::HeapTuple`][crate::pg_sys::HeapTuple] and [`pg_sys::HeapTupleHeader`][crate::pg_sys::HeapTupleHeader] structs use crate::*; use seq_macro::seq; diff --git a/pgrx/src/inoutfuncs.rs b/pgrx/src/inoutfuncs.rs index e4d6aedf7..b27ebb3c6 100644 --- a/pgrx/src/inoutfuncs.rs +++ b/pgrx/src/inoutfuncs.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Helper trait for the `#[derive(PostgresType)]` proc macro for overriding custom Postgres type //! input/output functions. //! diff --git a/pgrx/src/itemptr.rs b/pgrx/src/itemptr.rs index 59e7c60ab..c7a1a2b92 100644 --- a/pgrx/src/itemptr.rs +++ b/pgrx/src/itemptr.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Helper functions for working with Postgres `ItemPointerData` (`tid`) type use crate::{pg_sys, AllocatedByRust, PgBox}; diff --git a/pgrx/src/iter.rs b/pgrx/src/iter.rs index e55add08c..7091e8a95 100644 --- a/pgrx/src/iter.rs +++ b/pgrx/src/iter.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::iter::once; use crate::IntoHeapTuple; diff --git a/pgrx/src/layout.rs b/pgrx/src/layout.rs index 904a6d237..ae7c87bba 100644 --- a/pgrx/src/layout.rs +++ b/pgrx/src/layout.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Code for interfacing with the layout in memory (and on disk?) of various data types within Postgres. This is not a mature module yet so prefer to avoid exposing the contents to public callers of pgrx, diff --git a/pgrx/src/lib.rs b/pgrx/src/lib.rs index 0a1755ea3..f4b31f547 100644 --- a/pgrx/src/lib.rs +++ b/pgrx/src/lib.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! `pgrx` is a framework for creating Postgres extensions in 100% Rust //! //! ## Example diff --git a/pgrx/src/list.rs b/pgrx/src/list.rs index f93f3919a..f0922cfd6 100644 --- a/pgrx/src/list.rs +++ b/pgrx/src/list.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! A safe wrapper around Postgres' internal [`List`][crate::pg_sys::List] structure. //! //! It functions similarly to a Rust [`Vec`][std::vec::Vec], including iterator support, but provides separate diff --git a/pgrx/src/lwlock.rs b/pgrx/src/lwlock.rs index 55d17c352..33b7aec2b 100644 --- a/pgrx/src/lwlock.rs +++ b/pgrx/src/lwlock.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::pg_sys; use core::ops::{Deref, DerefMut}; use once_cell::sync::OnceCell; diff --git a/pgrx/src/memcxt.rs b/pgrx/src/memcxt.rs index 9512d5199..96a036c17 100644 --- a/pgrx/src/memcxt.rs +++ b/pgrx/src/memcxt.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! //! Provides interfacing into Postgres' `MemoryContext` system. //! diff --git a/pgrx/src/misc.rs b/pgrx/src/misc.rs index ccb203729..5ad4b1585 100644 --- a/pgrx/src/misc.rs +++ b/pgrx/src/misc.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use std::hash::{Hash, Hasher}; /// wrapper around `SeaHasher` from [Seahash](https://crates.io/crates/seahash) diff --git a/pgrx/src/namespace.rs b/pgrx/src/namespace.rs index 260997b7f..0d6745634 100644 --- a/pgrx/src/namespace.rs +++ b/pgrx/src/namespace.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! A helper struct for creating a Postgres `List` of `String`s to qualify an object name use crate::list::PgList; diff --git a/pgrx/src/nodes.rs b/pgrx/src/nodes.rs index 0fd6067fb..82dffe075 100644 --- a/pgrx/src/nodes.rs +++ b/pgrx/src/nodes.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Helper functions and such for Postgres' various query tree `Node`s use crate::pg_sys; diff --git a/pgrx/src/pgbox.rs b/pgrx/src/pgbox.rs index d6043cce2..0eb84b7ac 100644 --- a/pgrx/src/pgbox.rs +++ b/pgrx/src/pgbox.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /// Similar to Rust's `Box` type, `PgBox` also represents heap-allocated memory. use crate::{pg_sys, PgMemoryContexts}; //use std::fmt::{Debug, Error, Formatter}; diff --git a/pgrx/src/prelude.rs b/pgrx/src/prelude.rs index ce408b1a4..401ceb581 100644 --- a/pgrx/src/prelude.rs +++ b/pgrx/src/prelude.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. // From "external" crates: pub use ::pgrx_macros::*; // yes, we really do want to re-export every macro that pgrx_macros provides pub use ::pgrx_pg_sys as pg_sys; diff --git a/pgrx/src/rel.rs b/pgrx/src/rel.rs index d7a4bc03f..6442248d4 100644 --- a/pgrx/src/rel.rs +++ b/pgrx/src/rel.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Provides a safe wrapper around Postgres' `pg_sys::RelationData` struct use crate::{ direct_function_call, name_data_to_str, pg_sys, FromDatum, IntoDatum, PgBox, PgTupleDesc, diff --git a/pgrx/src/shmem.rs b/pgrx/src/shmem.rs index 7415d44a7..4773b9982 100644 --- a/pgrx/src/shmem.rs +++ b/pgrx/src/shmem.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::lwlock::*; use crate::{pg_sys, PgAtomic}; use std::hash::Hash; diff --git a/pgrx/src/slice.rs b/pgrx/src/slice.rs index 653ed1099..142cec023 100644 --- a/pgrx/src/slice.rs +++ b/pgrx/src/slice.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![allow(dead_code)] use crate::prelude::*; use core::marker::PhantomData; diff --git a/pgrx/src/spi.rs b/pgrx/src/spi.rs index 977980bd3..1996fc154 100644 --- a/pgrx/src/spi.rs +++ b/pgrx/src/spi.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Safe access to Postgres' *Server Programming Interface* (SPI). use crate::{pg_sys, FromDatum, IntoDatum, Json, PgMemoryContexts, PgOid, TryFromDatumError}; @@ -571,7 +571,7 @@ impl Spi { // The primary driver for this is not that we think we're smarter than Postgres, it's that // otherwise this function would need to return a `Result` and that's a // fucking nightmare for users to deal with. There's ample discussion around coming to - // this decision at https://github.com/tcdi/pgrx/pull/977 + // this decision at https://github.com/pgcentralfoundation/pgrx/pull/977 let connection = SpiConnection::connect().expect("SPI_connect indicated an unexpected failure"); diff --git a/pgrx/src/spinlock.rs b/pgrx/src/spinlock.rs index 79956a15e..c6a8f5e06 100644 --- a/pgrx/src/spinlock.rs +++ b/pgrx/src/spinlock.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::pg_sys; use core::mem::MaybeUninit; use std::{cell::UnsafeCell, marker::PhantomData}; diff --git a/pgrx/src/srf.rs b/pgrx/src/srf.rs index 5ce227fe9..79b3bb6ee 100644 --- a/pgrx/src/srf.rs +++ b/pgrx/src/srf.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #![doc(hidden)] //! Helper implementations for returning sets and tables from `#[pg_extern]`-style functions use crate::iter::{SetOfIterator, TableIterator}; diff --git a/pgrx/src/stringinfo.rs b/pgrx/src/stringinfo.rs index 4ee6afa08..fc54925ba 100644 --- a/pgrx/src/stringinfo.rs +++ b/pgrx/src/stringinfo.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! A safe wrapper around Postgres `StringInfo` structure #![allow(dead_code, non_snake_case)] diff --git a/pgrx/src/toast.rs b/pgrx/src/toast.rs index e70061e05..76798a957 100644 --- a/pgrx/src/toast.rs +++ b/pgrx/src/toast.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use core::ops::{Deref, DerefMut}; pub(crate) enum Toast @@ -20,7 +29,7 @@ impl Drop for Toast { Toast::Stale(_) => {} Toast::Fresh(_t) => { // - // issue #971 (https://github.com/tcdi/pgrx/issues/971) points out a UAF with Arrays + // issue #971 (https://github.com/pgcentralfoundation/pgrx/issues/971) points out a UAF with Arrays // of `&str`s. This happens because ultimately we free the detoasted array. Rather // than allowing outstanding borrows to become freed, we'll just not drop the detoasted // Datum pointer, which will leak that Postgres-allocated memory. diff --git a/pgrx/src/trigger_support/mod.rs b/pgrx/src/trigger_support/mod.rs index ea2a7c4a7..a08b18fdf 100644 --- a/pgrx/src/trigger_support/mod.rs +++ b/pgrx/src/trigger_support/mod.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /*! Support for writing Rust trigger functions A "no-op" trigger that gets the current [`PgHeapTuple`][crate::PgHeapTuple], diff --git a/pgrx/src/trigger_support/pg_trigger.rs b/pgrx/src/trigger_support/pg_trigger.rs index 7574e33d1..7498ba7fe 100644 --- a/pgrx/src/trigger_support/pg_trigger.rs +++ b/pgrx/src/trigger_support/pg_trigger.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::heap_tuple::PgHeapTuple; use crate::pg_sys; use crate::pgbox::AllocatedByPostgres; diff --git a/pgrx/src/trigger_support/pg_trigger_error.rs b/pgrx/src/trigger_support/pg_trigger_error.rs index dc3faad72..260db1ff4 100644 --- a/pgrx/src/trigger_support/pg_trigger_error.rs +++ b/pgrx/src/trigger_support/pg_trigger_error.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. #[derive(thiserror::Error, Debug, Clone, Copy)] pub enum PgTriggerError { #[error("`PgTrigger`s can only be built from `FunctionCallInfo` instances which `pgrx::pg_sys::called_as_trigger(fcinfo)` returns `true`")] diff --git a/pgrx/src/trigger_support/pg_trigger_level.rs b/pgrx/src/trigger_support/pg_trigger_level.rs index 3dc211f14..321273cba 100644 --- a/pgrx/src/trigger_support/pg_trigger_level.rs +++ b/pgrx/src/trigger_support/pg_trigger_level.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::pg_sys; use crate::trigger_support::TriggerEvent; diff --git a/pgrx/src/trigger_support/pg_trigger_option.rs b/pgrx/src/trigger_support/pg_trigger_option.rs index 36d2b5555..2f7fea88a 100644 --- a/pgrx/src/trigger_support/pg_trigger_option.rs +++ b/pgrx/src/trigger_support/pg_trigger_option.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::pg_sys; use crate::trigger_support::{PgTriggerError, TriggerEvent}; diff --git a/pgrx/src/trigger_support/pg_trigger_when.rs b/pgrx/src/trigger_support/pg_trigger_when.rs index aed214f0a..58d42926d 100644 --- a/pgrx/src/trigger_support/pg_trigger_when.rs +++ b/pgrx/src/trigger_support/pg_trigger_when.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::pg_sys; use crate::trigger_support::{PgTriggerError, TriggerEvent}; diff --git a/pgrx/src/trigger_support/trigger_tuple.rs b/pgrx/src/trigger_support/trigger_tuple.rs index 8783287e9..4c3b03118 100644 --- a/pgrx/src/trigger_support/trigger_tuple.rs +++ b/pgrx/src/trigger_support/trigger_tuple.rs @@ -1,3 +1,12 @@ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. /// Indicates which trigger tuple to convert into a [crate::PgHeapTuple]. #[derive(Debug, Copy, Clone)] pub enum TriggerTuple { diff --git a/pgrx/src/tupdesc.rs b/pgrx/src/tupdesc.rs index ae7c2999c..a8f5fed3f 100644 --- a/pgrx/src/tupdesc.rs +++ b/pgrx/src/tupdesc.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Provides a safe wrapper around Postgres' `pg_sys::TupleDescData` struct use crate::{pg_sys, regtypein, void_mut_ptr, PgBox, PgRelation}; diff --git a/pgrx/src/varlena.rs b/pgrx/src/varlena.rs index ba4e0ae5b..1b147fc5f 100644 --- a/pgrx/src/varlena.rs +++ b/pgrx/src/varlena.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Helper functions to work with Postgres `varlena *` structures use crate::{pg_sys, PgBox}; diff --git a/pgrx/src/wrappers.rs b/pgrx/src/wrappers.rs index 52e355585..955693f4d 100644 --- a/pgrx/src/wrappers.rs +++ b/pgrx/src/wrappers.rs @@ -1,11 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. //! Provides safe wrapper functions around some of Postgres' useful functions. use crate::{direct_function_call, pg_sys, IntoDatum}; diff --git a/pgrx/src/xid.rs b/pgrx/src/xid.rs index 87bdeefb7..961f96bee 100644 --- a/pgrx/src/xid.rs +++ b/pgrx/src/xid.rs @@ -1,12 +1,12 @@ -/* -Portions Copyright 2019-2021 ZomboDB, LLC. -Portions Copyright 2021-2022 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. -*/ - +//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +//LICENSE +//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +//LICENSE +//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +//LICENSE +//LICENSE All rights reserved. +//LICENSE +//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. use crate::pg_sys; #[cfg(any(feature = "pg11"))] diff --git a/prepare-release.sh b/prepare-release.sh index e067b9bc1..5a1ae001c 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -1,4 +1,14 @@ #! /usr/bin/env bash +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + NEW_VERSION=$1 if [ -z "${NEW_VERSION}" ]; then diff --git a/publish.sh b/publish.sh index e8232f9c5..0236d2490 100755 --- a/publish.sh +++ b/publish.sh @@ -1,12 +1,14 @@ #! /bin/sh -# Portions Copyright 2019-2021 ZomboDB, LLC. -# Portions Copyright 2021-2022 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. +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + DIR=`pwd` set -x diff --git a/update-versions.sh b/update-versions.sh index 69bc21100..ad9e90f29 100755 --- a/update-versions.sh +++ b/update-versions.sh @@ -1,12 +1,14 @@ #! /usr/bin/env bash -# Portions Copyright 2019-2021 ZomboDB, LLC. -# Portions Copyright 2021-2022 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. +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + # requires: # * pgrx-version-updater (no intervention required -- built on demand from this project) diff --git a/upgrade-deps.sh b/upgrade-deps.sh index 112f31cd3..e2225aac2 100755 --- a/upgrade-deps.sh +++ b/upgrade-deps.sh @@ -1,12 +1,14 @@ #! /usr/bin/env bash -# Portions Copyright 2019-2021 ZomboDB, LLC. -# Portions Copyright 2021-2022 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. +#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC. +#LICENSE +#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc. +#LICENSE +#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. +#LICENSE +#LICENSE All rights reserved. +#LICENSE +#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. + # requires: "cargo install cargo-edit" from https://github.com/killercup/cargo-edit cargo update