lemmy/scripts
Dessalines 917e408735
Fix postgres connection options causing slow query speed. (#5150)
* Adding a query speed check.

* Fixing slow queries due to connection config options.

* Remove pointless set_config sql function.

* Removing pointless bool.

* Removing comment

* Removing test.sh changes.

* Add analyze to speed up query

* Trying to fix DB perf connection try #1

* Try encoding option

* Fix woodpecker

* Try to use path character.

* Fixing lemmy config location.

* Removing pointless connection options.

* Use OnceLock to create a once-init psql connection.

* Fixing comment.

* Fix host encoding for dev DB.

* Address PR comments.

* Revert query mut change.
2024-11-06 10:58:40 -05:00
..
query_testing Adding hot_rank columns in place of function sorting. (#2952) 2023-06-08 16:15:15 -04:00
clear_db.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
compilation_benchmark.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
db-init.sh Align default DB password with documentation (#3068) 2023-06-13 22:23:07 +02:00
db_perf.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
dump_schema.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
install.sh Moving from yarn to pnpm. (#4414) 2024-01-29 11:38:39 +01:00
lint.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
postgres_12_to_15_upgrade.sh Switch PostgreSQL container to use pgautoupgrade (#4892) 2024-07-17 09:59:21 +02:00
postgres_15_to_16_upgrade.sh Switch PostgreSQL container to use pgautoupgrade (#4892) 2024-07-17 09:59:21 +02:00
release.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
restore_db.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
sql_format_check.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
start_dev_db.sh Fix postgres connection options causing slow query speed. (#5150) 2024-11-06 10:58:40 -05:00
test-with-coverage.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
test.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
ts_bindings_check.sh Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
update_config_defaults.sh Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
update_translations.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
upgrade_deps.sh Upgrading lemmy-js-client version to 0.19.4 (#4787) 2024-06-06 20:44:36 -04:00