Gajus's user avatar
Gajus's user avatar
Gajus's user avatar
Gajus
  • Member for 11 years, 2 months
  • Last seen more than a month ago
1 vote
0 answers
2k views

Optimal index for storing crypto addresses using bytea

1 vote
1 answer
27 views

Does it make sense to prefer jsonb data type over text[] even if I am only planning to store text array?

0 votes
0 answers
30 views

Is calling a stable function performance comparable to reading values from a table?

2 votes
0 answers
191 views

How to debug why a cascading delete from a foreign key constraint is taking a long time?

4 votes
1 answer
432 views

Does it make sense to split an often updated column into a separate table?

0 votes
0 answers
54 views

How are the exclusions handled in RBAC design?

0 votes
0 answers
72 views

How to design a database table(s) for recording email changes?

4 votes
1 answer
309 views

How to get query output in addition to EXPLAIN ANALYZE output?

8 votes
3 answers
5k views

How to check if the current connection is in a transaction?

1 vote
1 answer
3k views

What is the fastest way to insert data into MySQL memory table?

6 votes
1 answer
2k views

How to check if int[] array contains a value less than X?

8 votes
2 answers
1k views

How can I find the shortest path between two currencies?

1 vote
1 answer
571 views

What is the benefit of marking function as IMMUTABLE? [duplicate]

1 vote
1 answer
46 views

How to check if a column in a query can produce NULL?

3 votes
3 answers
4k views

How to check if the current time is between two times?

0 votes
0 answers
185 views

How to group by similar full-text?

0 votes
2 answers
3k views

How to write a no-op UPDATE query?

0 votes
1 answer
142 views

How to find similar records using multidimensional array?

0 votes
1 answer
51 views

How to design a table/ unique index where uniqueness is temporal?

4 votes
1 answer
1k views

How to run EXPLAIN ANALYZE and get results of the query?

1 vote
2 answers
1k views

How to get N rows after the first row matching a condition?

3 votes
2 answers
3k views

Containment check tstzrange @> timestamptz not using btree or gist index

0 votes
0 answers
87 views

How to partition a table without time data?

5 votes
2 answers
3k views

How to optimize a table for a very high-frequency updates?

1 vote
1 answer
285 views

How to get row_number() within a group?

2 votes
2 answers
8k views

How to use FOR UPDATE with a view that is built using LEFT JOIN?

5 votes
3 answers
6k views

How do I round time to the upper multiple of an arbitrary time interval?

0 votes
1 answer
345 views

Does SKIP LOCKED FOR UPDATE work with views?

2 votes
4 answers
2k views

How to conditionally append rows to a result set?

1 vote
3 answers
719 views

Is there a way to include an assertion about the expected number of rows?