Comments (2)
I came up with a workaround to run diskquota after it stopped working after removing any extension (until arenadata#25 was applied).
- Execute the following sql script via psql in the database in which the diskquota has stopped working:
select current_database();
\gset
select oid from pg_database where datname = :'current_database';
\gset
\c diskquota
insert into diskquota_namespace.database_list select :oid::oid;
- Restart the entire cluster
from diskquota.
Hi @RekGRpth
Thanks for your contribution. I found the code causing this problem and will fix it in diskquota-2.3. Before this version, you can run the above script for a workaround.
Workaround: create the diskquota.diskquota_start_worker() UDF and restart the bgworker:
CREATE FUNCTION diskquota.diskquota_start_worker() RETURNS void STRICT AS '$libdir/diskquota-2.2.so' LANGUAGE C;
SELECT diskquota.diskquota_start_worker();
DROP FUNCTION diskquota.diskquota_start_worker();
from diskquota.
Related Issues (20)
- Which branch/tag is stable? HOT 5
- 2.0.0/2.0.1 use WaitLatch incorrectly, which can cause coredump HOT 5
- Versions of diskquota HOT 13
- wrong required cmake version 3.18
- simplify error message HOT 1
- string may too big HOT 22
- too frequent refresh HOT 7
- You should not pass database name via background worker structure
- Infinite loop when diskquota receives notice message HOT 11
- user may load diskquota library without shared memory initialization HOT 1
- Build OS and cmake rpm HOT 3
- Disk qouta worker infinitely waits network. HOT 3
- diskquota counts sizes even if transaction is rollbacked HOT 2
- diskquota not working after reaching max_table_segments limit HOT 12
- Unit, regress tests completion HOT 8
- dump and restore the user configurations HOT 1
- Postgresql Install HOT 2
- Diskquota uses `pg_total_relation_size()` to compute size when table and indexes are in different tablespaces HOT 2
- Add support for querying blackmap. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diskquota.