Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 276789

All versions of PostgreSQL. Add an additional version-specific tag like [postgresql-13] if that context is relevant.

1 vote
1 answer
514 views

EAV or JSONB column for dynamic data that needs good indexing

I have some data in a Postgres database that does not fit into a static schema. There is a table "content" and each piece of content has a user-defined type. Each type can have different user-defined …
Fabian's user avatar
  • 115
0 votes
1 answer
64 views

Trigram index is slow for common terms

I have a PostgreSQL database with bunch of string columns in a table with a trigram index on them using pg_trgm. They are queried like this SELECT [...] …
Fabian's user avatar
  • 115
0 votes
1 answer
542 views

Fix invalid checksum in database that causes pg_dump to fail

I have a Postgres 9.6 database that is corrupted. The hardware it was running on went bad, and there is at least one corrupted page in the DB. When running pg_dump I get the following error: pg_dump: …
Fabian's user avatar
  • 115