Comments (2)
Hmm, I'm not entirely sure what the best course of action for this is. It is not uncommon for people to use the PostgreSQL extension options to install PostGIS to schemas other than public, so I'm not sure it would be good to hard code that to public (at least I know one client of ours where that would definitely break things). I wonder if you set the environment variable PGOPTIONS='-c search_path=public' prior to running the pg_restore if that would work?
from pgstac.
That makes sense. Thanks for the response and brainstorming. I just gave it a shot, and I get the same error as before. I think since pg_dump
explicitly sets the search_path
to empty right up top with SELECT pg_catalog.set_config('search_path', '', false);
that may override the env variable. It does it for some security reason.
I also don't have another idea! This is more a "nice to have". The workaround I have used is creating a database with pypgstac.migrate
, exporting item data as ndjson and then bulk loading it back in.
from pgstac.
Related Issues (20)
- Don't allow Collections without ids to be written
- Removing queryables indices HOT 2
- PgStac no longer works with Azure Flexible Postgres server HOT 3
- How to create a STAC from a Postgres table based on the provided samples (s3 storing SAFE and pg dump) HOT 1
- scripts/install missing? HOT 1
- Occasional syntax errors from well formed search queries HOT 10
- CQL2: ILIKE vs. CASEI
- Validation Error and Content Mismatch in Sentinel-2-L1C Item Definition JSON HOT 3
- Error when installing pgstac > v0.8.1 HOT 2
- Changelog inaccurately indicates pypgstac loader compatibility within major version HOT 2
- Excessive growth of database logs HOT 1
- Unable to ingest private metadata HOT 8
- Feature request: Update collection extend from item(s) HOT 2
- BETWEEN operator bug
- CQL2 filters resulting in full scans despite indexed properties HOT 2
- Error on docker image startup. HOT 7
- Aggregation Extension HOT 1
- No module named 'pypgstac.pgstacrs' HOT 1
- Ensure proper handling of geometries passed in that cross the antimeridian HOT 1
- Docs - Add link to videos that describe pgstac HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgstac.