Skip to content

Conversation

@gadomski
Copy link
Member

Description

Search directly into pgstac via a Rust function call or from the CLI. E.g. on an empty database:

$ docker compose up -d
$ cargo run -F pgstac search postgresql://username:password@localhost:5432/postgis
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
     Running `target/debug/rustac search 'postgresql://username:password@localhost:5432/postgis'`
{
  "type": "FeatureCollection",
  "features": [],
  "links": [],
  "numberReturned": 0
}

Also fixes an issue where we weren't getting the next and prev tokens correctly in some cases.

Related issues

Checklist

Delete any checklist items that do not apply (e.g. if your change is minor, it may not require documentation updates).

  • Unit tests
  • Documentation, including doctests
  • Pull request title follows conventional commits
  • Pre-commit hooks pass (prek run --all-files)

@gadomski gadomski requested a review from bitner January 13, 2026 23:11
@gadomski gadomski self-assigned this Jan 13, 2026
@gadomski gadomski merged commit 7bd5bce into main Jan 14, 2026
11 checks passed
@gadomski gadomski deleted the search-pgstac branch January 14, 2026 15:23
@stac-utils-release-bot stac-utils-release-bot bot mentioned this pull request Jan 14, 2026
gadomski pushed a commit that referenced this pull request Jan 16, 2026
## 🤖 New release

* `pgstac`: 0.4.2 -> 0.4.3 (✓ API compatible changes)
* `rustac`: 0.2.2 -> 0.2.3
* `stac-server`: 0.4.2 -> 0.4.3

<details><summary><i><b>Changelog</b></i></summary><p>

## `pgstac`

<blockquote>

##
[0.4.3](pgstac-v0.4.2...pgstac-v0.4.3)
- 2026-01-14

### Added

- search directly from pgstac
([#933](#933))
</blockquote>

## `rustac`

<blockquote>

##
[0.2.3](rustac-v0.2.2...rustac-v0.2.3)
- 2026-01-14

### Added

- search directly from pgstac
([#933](#933))
</blockquote>

## `stac-server`

<blockquote>

##
[0.4.3](stac-server-v0.4.2...stac-server-v0.4.3)
- 2026-01-14

### Other

- updated the following local packages: pgstac
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: stac-utils-release-bot[bot] <249776822+stac-utils-release-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search pgstac

3 participants