This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
declare -a blksz=("2048" "4096" "8192" "16384" "32768") | |
declare -a trshs=("8" "16" "24" "32") | |
## now loop through the above array | |
for size in "${blksz[@]}" | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET allow_system_table_mods = true; | |
ALTER VIEW pg_catalog.pg_partitions RENAME TO pg_partitions_lock; | |
create view pg_catalog.pg_partitions as | |
select | |
schemaname, | |
tablename, | |
partitionschemaname, | |
partitiontablename, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/jackc/pgx" | |
"math/rand" | |
"time" | |
) | |
var timeToExit = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Sun Aug 8 13:57:34 on ttys000 | |
/usr/local/opt/[email protected]/bin/python3.9: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper') | |
virtualenvwrapper.sh: There was a problem running the initialization hooks. | |
If Python could not import the module virtualenvwrapper.hook_loader, | |
check that virtualenvwrapper has been installed for | |
VIRTUALENVWRAPPER_PYTHON=/usr/local/opt/python/libexec/bin/python and that PATH is | |
set properly. | |
/Users/x4mmm/mdb-scripts/completion.zsh.inc:32: command not found: compdef | |
x4mmm@x4mmm-2osx postgresA % cd contrib/amcheck/ |
OlderNewer