Comments (5)
Reverting to type will cause other issues: #233
You have to make sure citext is installed on all schemas instead. Check out the issues tracker for previous issues. :)
from postgrex.
Thank you for such a quick response :)
You have to make sure citext is installed on all schemas instead. Check out the issues tracker for previous issues. :)
I'm not sure what you mean by that. There doesn't seem to be a way to install extensions on multiple schemas (for example ALTER EXTENSION citext SET SCHEMA public, foo;
gives a syntax error). Are you suggesting the extension should be moved to pg_catalog
?
I read some other issues, but none of the suggestions seemed to work / apply in my case. Sorry if this is a duplicate.
from postgrex.
I believe you have to create the extension again, but now in another schema. You can also have a schema with all extensions and then keep it in the search path too.
from postgrex.
Creating the extension again in a different schema fails [42710] ERROR: extension "citext" already exists
. It seems extensions are global. I can't just move this extension to the foo
schema, because it would cause the same issue for the user that works with the public
schema.
The solution with all extensions in a different schema (added to search_path
) seems to work.
For future reference, this seems to work:
CREATE SCHEMA extensions;
ALTER EXTENSION citext SET SCHEMA extensions;
ALTER USER foo SET search_path = foo, extensions;
Thank you. Should I close this issue?
from postgrex.
Thank you for following up with detailed steps for future reporters. It seems we are good now, thank you!
from postgrex.
Related Issues (20)
- [Documentation] Broken parameters documentation HOT 1
- scram-sha-256 authentication is slow enough to cause connect timeouts HOT 7
- Jason fails to encode HOT 1
- Pipe in a list within a map not being encoded correctly? HOT 3
- Notifications: auto-reconnect introduces race condition HOT 7
- Error Postgrex.DefaultTypes timestamp with Postgres Wire Protocol v3 compatible db : CrateDB HOT 8
- Unable to connect to QuestDB (postgresql compatible protocol) HOT 2
- Supervisor keyword arguments require a specific order to work HOT 2
- (FunctionClauseError) no function clause matching in Postgrex.Protocol.handle_msg/3 HOT 4
- Unhandled gen_statem Timout Event
- There seems to be something wrong with 0.17 when using subscriptions HOT 5
- Dialyzer error in TypeModule HOT 2
- Incorrect documentation for ssl configuration with Failover
- Closing the connection leaves a query running HOT 2
- Unable to connect to Clickhouse (postgresql compatible protocol) HOT 3
- "missed message" exit and shutdown with Elixir release HOT 5
- {:array, :string} does not allow for persisting whitespace strings in the array HOT 2
- ReplicationConnection: durable replication slots re-process events on restart/reconnect HOT 9
- ReplicationConnection: arg to debug errors in callback HOT 9
- Preserve time precision when we decode a time 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 postgrex.