Comments (8)
Hm, so the solution should be pinning a previous version of fuzzyset?
At first glance, it should. But IIRC, previous versions have conflicts with the current GHC version. Particularly the base
and text
dependencies, I think (I may be wrong).
from postgrest.
It's just the broken part that is certainly unrelated here.
Ah, I thought of it as evidence that something happened there. But cool, it isn't related to a broken library, then.
There is fuzzyset 0.3.2 available on hackage now, so maybe we first try updating the fuzzyset package
The most likely explanation though is, that I just broke it with the code changes about fuzzyset that I made.
Cool, will do both to check what's happening.
from postgrest.
Cool, will do both to check what's happening.
Tried to upgrade to 0.3.2
, but the problem persisted. Then, after checking the library's code, I used the most similar function to Fuzzy.getOne
, which is Fuzzy.closestMatch
, but the error was still there. I also mixed some code between the old/new library versions to no avail.
It may be that the library itself has the leaks, not really sure. Regardless, I think the best course of action is to downgrade to 0.2.4
, which is better than the version we had before because it's compatible with the other packages we have pinned in postgrest.cabal
.
from postgrest.
Hm, so the solution should be pinning a previous version of fuzzyset
?
from postgrest.
Seems related commercialhaskell/stackage#7341 (comment)
from postgrest.
The evidence is that it is marked as "broken" in the latest update of nixpkgs/GHC in commit 6682bae (previous commits do not throw the error even with -K1K):
I don't think this is related. broken
just means it failed to build in nixpkgs at some point in the past. Nowadays it does build fine - thus I marked it unbroken in that PR.
But IIRC, previous versions have conflicts with the current GHC version.
Correct, we can't downgrade. But I don't see why we should here, I don't see a connection to fuzzyset
here, yet.
from postgrest.
latest update of nixpkgs/GHC in commit 6682bae (previous commits do not throw the error even with -K1K):
Of course the only code changes in that are about fuzzyset
, so that might very well be an indication that this is related. It's just the broken
part that is certainly unrelated here. There is fuzzyset 0.3.2 available on hackage now, so maybe we first try updating the fuzzyset package to see whether that makes a difference.
from postgrest.
The most likely explanation though is, that I just broke it with the code changes about fuzzyset that I made. So it might be worth reviewing them carefully.
from postgrest.
Related Issues (20)
- Return 404 on none existing endpoint with resource embedding
- Re-implement minimal length for jwt-secret
- Use the filters in POST requests for UPSERTS HOT 1
- Transient `SSL SYSCALL error: EOF detected` HOT 1
- Many-To-Many join fails when a view in another exposed schema has the same name as a table in the target schema HOT 6
- Only RAISE INFO/WARNING show in the PostgREST logs HOT 3
- Inconsistent field quoting in CSV response (at least for functions) HOT 1
- Windows distributions in scoop & chocolatey missing required DLLs
- Aggregation + order + json field accessor + prepared statements = broken HOT 1
- Using select + text/csv output results in wrong csv header HOT 3
- The `pgrst.jwt_secret` in-database configuration should not interpret a file path HOT 2
- Zero downtime rolling updates on EKS HOT 4
- Delete ignores resource embedding with top level filtering HOT 1
- postgREST installation, connectivity with postgres database issue and creation of API -Reg
- Decouple count=estimated and db-max-rows HOT 4
- Support `count=estimated` for RPC
- Improved error message when config file is not found
- Creating an API for postgres database by using postgREST, CURL -Reg
- 404 on RPCs after upgrading to 12.2.2 HOT 3
- Unable to Filter on Multiple Conditions Across Related Tables in Supabase Query
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 postgrest.