Skip to content

Commit 6960448

Browse files
authored
PgCentral Foundation updates (#1200)
This updates copyright and license information to be or include `PgCentral Foundation, Inc.`. Also fixes up spurious references to "TCDI", and "ZomboDB".
1 parent 973aa81 commit 6960448

File tree

335 files changed

+3045
-1856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

335 files changed

+3045
-1856
lines changed

.licensure.yml

+21-23
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
change_in_place: true
22
excludes:
3-
- Cargo.toml
43
- Cargo.lock
54
- LICENSE
65
- pgrx-sql-entity-graph/assets/ansi.tmTheme
76
- ".envrc"
87
- ".gitignore"
8+
- ".dockerignore"
99
- "flake\\..*"
1010
- "logo.*"
11+
- "rustfmt.toml"
1112
- ".github/**/*"
12-
- ".cargo/config"
13+
- ".cargo/config.toml"
1314
- "cargo-pgrx/src/templates/*"
15+
- "cargo-pgrx/tests/fixtures/macos-universal-binary"
1416
- ".*\\.control"
1517
- ".*\\.md"
1618
- ".*\\.nix"
@@ -19,39 +21,35 @@ licenses:
1921
- files: any
2022
ident: MIT
2123
authors:
22-
- name: Technology Concepts & Design, Inc.
23-
24-
template: |
24+
- name: PgCentral Foundation, Inc.
25+
26+
template: |-
2527
Portions Copyright 2019-2021 ZomboDB, LLC.
2628
27-
Portions Copyright 2021-[year] [name of author]
29+
Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
2830
31+
Portions Copyright 2023-[year] [name of author]
2932
3033
All rights reserved.
3134
32-
3335
Use of this source code is governed by the [ident] license that can be found in the LICENSE file.
3436
comments:
35-
- columns: 120
36-
extensions:
37+
- extensions:
3738
- rs
3839
- c
3940
- h
40-
- sql
41+
trailing_lines: 0
4142
commenter:
42-
type: block
43-
start_block_char: "/*\n"
44-
end_block_char: "\n*/\n"
45-
- columns: 120
46-
extension: html
43+
type: line
44+
comment_char: "//LICENSE"
45+
- extension: sql
46+
trailing_lines: 0
4747
commenter:
48-
type: block
49-
start_block_char: "<!--\n"
50-
end_block_char: "-->"
51-
- columns: 80
52-
extension: any
48+
type: line
49+
comment_char: "--LICENSE"
50+
- extension: any
51+
trailing_lines: 0
5352
commenter:
5453
type: line
55-
comment_char: "#"
56-
trailing_lines: 0
57-
54+
comment_char: "#LICENSE"
55+

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ System Requirements:
66

77
If you want to be ready to open a PR, you will want to run
88
```bash
9-
git clone --branch develop "https://github.com/tcdi/pgrx"
9+
git clone --branch develop "https://github.com/pgcentralfoundation/pgrx"
1010
cd pgrx
1111
```
1212
That will put you in a cloned repository with the *develop* branch opened,
@@ -98,7 +98,7 @@ Do this *in order*:
9898

9999
## Licensing
100100

101-
You agree that all code you submit in pull requests to https://github.com/tcdi/pgrx/pulls
101+
You agree that all code you submit in pull requests to https://github.com/pgcentralfoundation/pgrx/pulls
102102
is offered according to the MIT License, thus may be freely relicensed and sublicensed,
103103
and that you are satisfied with the existing copyright notice as of opening your PR.
104104

Cargo.toml

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2+
#LICENSE
3+
#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4+
#LICENSE
5+
#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
6+
#LICENSE
7+
#LICENSE All rights reserved.
8+
#LICENSE
9+
#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
10+
111
[workspace]
212
resolver = "2"
313
members = [

DESIGN-DECISIONS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Perhaps a `serde::Deserialize` implementation that understands the JSONB format
344344

345345
## `cargo-pgrx` is Your Friend
346346

347-
Please see the [cargo-pgrx documentation](https://github.com/tcdi/pgrx/blob/master/cargo-pgrx/README.md)
347+
Please see the [cargo-pgrx documentation](https://github.com/pgcentralfoundation/pgrx/blob/master/cargo-pgrx/README.md)
348348

349349
## `postgrestd` Interactions
350350

HOW_TO_CUT_A_PGRX_RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
```
44

55
- go make a PR to `develop` on GitHub
6-
- 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
6+
- 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
77
- paste them into the PR you made above
88
- edit them as best as you can while channeling @workingjubilee's spirit
99
- request a review

LICENSE

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
MIT License
22

33
Portions Copyright 2019-2021 ZomboDB, LLC.
4-
Portions Copyright 2021-2022 Technology Concepts & Design, Inc. <[email protected]>.
4+
Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
5+
Portions Copyright 2023 PgCentral Foundation, Inc.
6+
57
All rights reserved.
68

79
Permission is hereby granted, free of charge, to any person obtaining a copy

README.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
> Build Postgres Extensions with Rust!
66
7-
![cargo test --all](https://github.com/tcdi/pgrx/workflows/cargo%20test%20--all/badge.svg)
7+
![cargo test --all](https://github.com/pgcentralfoundation/pgrx/workflows/cargo%20test%20--all/badge.svg)
88
[![crates.io badge](https://img.shields.io/crates/v/pgrx.svg)](https://crates.io/crates/pgrx)
99
[![docs.rs badge](https://docs.rs/pgrx/badge.svg)](https://docs.rs/pgrx)
10-
[![Twitter Follow](https://img.shields.io/twitter/follow/zombodb.svg?style=flat)](https://twitter.com/zombodb)
10+
[![Twitter Follow](https://img.shields.io/twitter/follow/pgrx_rs.svg?style=flat)](https://twitter.com/pgrx_rs)
1111
[![Discord Chat](https://img.shields.io/discord/561648697805504526.svg)][Discord]
1212

1313

@@ -243,8 +243,11 @@ There's probably more than are listed here, but a primary things of note are:
243243

244244
There's a few things on our immediate TODO list
245245

246-
- Automatic extension schema upgrade scripts, based on diffs from a previous git tag and HEAD. Likely, this
247-
will be built into the `cargo-pgrx` subcommand and make use of https://github.com/zombodb/postgres-parser.
246+
- Automatic extension schema upgrade scripts
247+
- Improved unit testing framework
248+
- Better/Safer API for Datum management
249+
- Improved generated bindings organization
250+
- Safely wrap more Postgres internal APIs
248251
- More examples -- especially around memory management and the various derive macros `#[derive(PostgresType/Enum)]`
249252

250253

@@ -306,7 +309,9 @@ This approach can also be used in extensions to ensure a matching version of `ca
306309

307310
```
308311
Portions Copyright 2019-2021 ZomboDB, LLC.
309-
Portions Copyright 2021-2022 Technology Concepts & Design, Inc. <[email protected]>.
312+
Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
313+
Portions Copyright 2023 PgCentral Foundation, Inc.
314+
310315
All rights reserved.
311316
Use of this source code is governed by the MIT license that can be found in the LICENSE file.
312317
```

art/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pgrx-logos (c) by Technology Concepts & Design, Inc.
1+
pgrx-logos (c) by PgCentral Foundation, Inc.
22

33
pgrx-logos is licensed under a
44
Creative Commons Attribution-ShareAlike 4.0 International License.

articles/forging-sql-from-rust.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Forging SQL from Rust
22
<!-- Written 2021-09-20 -->
33

4-
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.
4+
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.
55

66
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.
77

articles/postgresql-aggregates-with-rust.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -914,8 +914,8 @@ Moving-aggregate mode is pretty new to me, and I'm still learning about it! If y
914914

915915
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].
916916

917-
[pgrx]: https://github.com/tcdi/pgrx
918-
[pgrx-issues]: https://github.com/tcdi/pgrx/issues
917+
[pgrx]: https://github.com/pgcentralfoundation/pgrx/
918+
[pgrx-issues]: https://github.com/pgcentralfoundation/pgrx/issues
919919
[pgrx-aggregate-aggregate]: https://docs.rs/pgrx/0.3.0/pgrx/aggregate/trait.Aggregate.html
920920
[pgrx-aggregate-aggregate-finalize]: https://docs.rs/pgrx/0.3.0/pgrx/aggregate/trait.Aggregate.html#tymethod.finalize
921921
[pgrx-aggregate-aggregate-state]: https://docs.rs/pgrx/0.3.0/pgrx/aggregate/trait.Aggregate.html#associatedtype.State
@@ -930,8 +930,8 @@ If you're looking for more materials about aggregates, the TimescaleDB folks wro
930930
[pgrx::datum::Internal]: https://docs.rs/pgrx/0.3.0/pgrx/datum/struct.Internal.html
931931
[pgrx-pg_aggregate]: https://docs.rs/pgrx/0.3.0/pgrx/attr.pg_aggregate.html
932932
[pgrx-postgrestype]: https://docs.rs/pgrx/0.3.0/pgrx/derive.PostgresType.html
933-
[pgrx-system-requirements]: https://github.com/tcdi/pgrx#system-requirements
934-
[plrust]: https://github.com/zombodb/plrust
933+
[pgrx-system-requirements]: https://github.com/pgcentralfoundation/pgrx/#system-requirements
934+
[plrust]: https://github.com/tcdi/plrust
935935
[rustup-rs]: https://rustup.rs/
936936
[wsl]: https://docs.microsoft.com/en-us/windows/wsl/install
937937
[std::iter::Iterator]: https://doc.rust-lang.org/std/iter/trait.Iterator.html

cargo-pgrx/Cargo.toml

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1+
#LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2+
#LICENSE
3+
#LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4+
#LICENSE
5+
#LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
6+
#LICENSE
7+
#LICENSE All rights reserved.
8+
#LICENSE
9+
#LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
10+
111
[package]
212
name = "cargo-pgrx"
313
version = "0.9.7"
4-
authors = ["ZomboDB, LLC <[email protected]>"]
14+
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
515
license = "MIT"
616
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
7-
homepage = "https://github.com/tcdi/pgrx"
8-
repository = "https://github.com/tcdi/pgrx"
17+
homepage = "https://github.com/pgcentralfoundation/pgrx/"
18+
repository = "https://github.com/pgcentralfoundation/pgrx/"
919
documentation = "https://docs.rs/cargo-pgrx"
1020
categories = ["development-tools::cargo-plugins", "command-line-utilities", "database"]
1121
keywords = ["database", "postgres", "postgresql", "extension"]

cargo-pgrx/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ If a new minor Postgres version is released in the future you can simply run `ca
126126

127127
```shell script
128128
cargo-pgrx-init 0.5.0
129-
ZomboDB, LLC <[email protected]>
129+
PgCentral Foundation, Inc. <[email protected]>
130130
Initialize pgrx development environment for the first time
131131

132132
USAGE:
@@ -175,7 +175,7 @@ If you'd like to create a "background worker" instead, specify the `--bgworker`
175175
```shell script
176176
$ cargo pgrx new --help
177177
cargo-pgrx-new 0.5.0
178-
ZomboDB, LLC <[email protected]>
178+
PgCentral Foundation, Inc. <[email protected]>
179179
Create a new extension crate
180180
181181
USAGE:
@@ -291,7 +291,7 @@ For Postgres installations which are already on your computer, `cargo pgrx run`
291291
```shell script
292292
$ cargo pgrx run --help
293293
cargo-pgrx-run 0.5.0
294-
ZomboDB, LLC <[email protected]>
294+
PgCentral Foundation, Inc. <[email protected]>
295295
Compile/install extension to a pgrx-managed Postgres instance and start psql
296296
297297
USAGE:
@@ -366,7 +366,7 @@ the specified version of Postgres isn't running, it'll be automatically started.
366366
367367
```shell script
368368
cargo-pgrx-connect 0.5.
369-
ZomboDB, LLC <[email protected]>
369+
PgCentral Foundation, Inc. <[email protected]>
370370
Connect, via psql, to a Postgres instance
371371
372372
USAGE:
@@ -427,7 +427,7 @@ By default, `cargo pgrx install` builds your extension in debug mode. Specifying
427427
```shell script
428428
$ cargo pgrx install --help
429429
cargo-pgrx-install 0.5.0
430-
ZomboDB, LLC <[email protected]>
430+
PgCentral Foundation, Inc. <[email protected]>
431431
Install the extension from the current crate to the Postgres specified by whatever `pg_config` is
432432
currently on your $PATH
433433
@@ -515,7 +515,7 @@ make to the database are not preserved.
515515

516516
```shell script
517517
cargo-pgrx-test 0.5.0
518-
ZomboDB, LLC <[email protected]>
518+
PgCentral Foundation, Inc. <[email protected]>
519519
Run the test suite for this crate
520520
521521
USAGE:
@@ -598,7 +598,7 @@ distobutions or MacOS Postgres installations.
598598
```shell script
599599
$ cargo pgrx package --help
600600
cargo-pgrx-package 0.5.0
601-
ZomboDB, LLC <[email protected]>
601+
PgCentral Foundation, Inc. <[email protected]>
602602
Create an installation package directory
603603

604604
USAGE:
@@ -654,7 +654,7 @@ If you just want to look at the full extension schema that pgrx will generate, u
654654
```shell script
655655
$ cargo pgrx schema --help
656656
cargo-pgrx-schema 0.5.0
657-
ZomboDB, LLC <[email protected]>
657+
PgCentral Foundation, Inc. <[email protected]>
658658
Generate extension schema files
659659

660660
USAGE:
@@ -849,5 +849,5 @@ If you are certain that in this case, it is fine, you may set
849849
and the check will be bypassed. However, note that while the check is not
850850
fool-proof, it tries to be fairly liberal in what it allows.
851851
852-
See <https://github.com/tcdi/pgrx/issues/774> and <https://github.com/tcdi/pgrx/pull/873>
852+
See <https://github.com/pgcentralfoundation/pgrx/issues/774> and <https://github.com/pgcentralfoundation/pgrx/pull/873>
853853
for further information.

cargo-pgrx/build.rs

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2+
//LICENSE
3+
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4+
//LICENSE
5+
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
6+
//LICENSE
7+
//LICENSE All rights reserved.
8+
//LICENSE
9+
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
110
fn main() {
211
println!("cargo:rerun-if-changed=build.rs");
312
if let Some(minor_version) = rust_minor_version() {

cargo-pgrx/src/command/connect.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
Portions Copyright 2019-2021 ZomboDB, LLC.
3-
Portions Copyright 2021-2022 Technology Concepts & Design, Inc. <[email protected]>
4-
5-
All rights reserved.
6-
7-
Use of this source code is governed by the MIT license that can be found in the LICENSE file.
8-
*/
9-
1+
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2+
//LICENSE
3+
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4+
//LICENSE
5+
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
6+
//LICENSE
7+
//LICENSE All rights reserved.
8+
//LICENSE
9+
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
1010
use crate::command::get::get_property;
1111
use crate::command::run::exec_psql;
1212
use crate::command::start::start_postgres;

cargo-pgrx/src/command/cross/mod.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*
2-
Portions Copyright 2019-2021 ZomboDB, LLC.
3-
Portions Copyright 2021-2023 Technology Concepts & Design, Inc. <[email protected]>
4-
5-
All rights reserved.
6-
7-
Use of this source code is governed by the MIT license that can be found in the LICENSE file.
8-
*/
9-
1+
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2+
//LICENSE
3+
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4+
//LICENSE
5+
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
6+
//LICENSE
7+
//LICENSE All rights reserved.
8+
//LICENSE
9+
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
1010
use crate::CommandExecute;
1111
pub(crate) mod pgrx_target;
1212

0 commit comments

Comments
 (0)