Search Results
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 |
All versions of PostgreSQL. Add an additional version-specific tag like [postgresql-13] if that context is relevant.
1
vote
0
answers
47
views
How to optimize this Postgresql query
Table A has columns (P1, P2, Value1) where P1 and P2 are a multi column primary key.
Table B has columns (P3, P1, Q1) where P3 is the primary key.
Table C has columns (P2, Q1, Value2) where P2 and Q1 …
4
votes
1
answer
8k
views
PostgreSQL performance with (col = value or col is NULL)
This question deals with PostgreSQL 9.5 query performance. … Or does PostgreSQL has some optimization for situation where you want to do an "OR" between a non-NULL value and a NULL? …
6
votes
1
answer
9k
views
Creating index on a big text column in postgres
We are talking about postgresql 9.5 on windows with a database which has UTF8 encoding and "English_United States.1252" (default) LC_COLLATE and LC_CTYPE. … INDEX tbl_col_btree_idx ON tbl USING btree(col);
returns:
ERROR: index row requires 8456 bytes, maximum size is 8191
Tried to follow the suggestion here: https://stackoverflow.com/questions/1566717/postgresql-like-query-performance-variations …