mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Optimize benchmark query and update benchmark's results.
This commit is contained in:
@ -42,7 +42,9 @@ if ( $opt{a} ) {
|
||||
push @where, "message.sections @ '{$opt{s}}'";
|
||||
} else {
|
||||
foreach my $sid ( split(/[,\s]+/, $opt{s} )) {
|
||||
push @where, "EXISTS ( select message_section_map.mid from message_section_map where message.mid=message_section_map.mid and message_section_map.sid = $sid )";
|
||||
push @where, "message.mid = msp$sid.mid";
|
||||
push @where, "msp$sid.sid = $sid";
|
||||
$table{"message_section_map msp$sid"}=1;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user