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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 185755

All versions of PostgreSQL. Add an additional version-specific tag like postgresql-11 if that context is important.

2
votes
Can it be? select distinct s2.user_name from submission s1 join submission s2 on s1.md5 = s2.copy_of or s1.copy_of = s2.copy_of or s1.copy_of = s2.md5 where s1.user_name = ?1 and …
answered Oct 9 by binhgreat
0
votes
Can you try this: First, declare a new variable type record, example: empty_row Then, do as bellow: EXECUTE format('select * from populate_record(null::%s.%s, '''')', TG_TABLE_SCHEMA, TG_TABLE_NAM …
answered Oct 14 by binhgreat
0
votes
Try this: create index history_uints_hostid_value_clock_daily on history_uints(hostid, clock, value) where type = 'DailyTotalUsage' select hs.hostid, sum(value)::float/1024/1024/1024 from history …
answered Oct 11 by binhgreat
1
vote
Please try this: DELETE FROM journal WHERE id NOT IN ( SELECT j.id FROM journal j WHERE j.created_at >= 636742944000000000 ORDER BY j.created_at DESC ) Please make sure to c …
answered Oct 14 by binhgreat