Comments (4)
A case analysis shows that the line contains an SQL statement with regular expression.
For example
work_order.extension_data->>'XCount')~E'\\d+(\\. ...
from pg_gather.
Matching dot (.) in sed is unexpectedly very complex and found that it is not working as expected
https://www.unix.com/unix-for-dummies-questions-and-answers/21611-how-can-i-match-actual-dot-using-sed.html
Manytimes workarounds using Perl is suggested instead of Sed
from pg_gather.
It can be confirmed that the logic of line substitution
/^COPY\|\\\./! s/\(.*\)/'"$coll_ts"\\t'\1/g
Won't work with Sed if there is regular expression involving \.
is already present in the line
from pg_gather.
Sed expression is reworked to avoid line replacement, instead used the logic of insertion of the timestamp to the beginning of the line. Fixed with following commit
136be5e
from pg_gather.
Related Issues (20)
- Distinguish between last vacuum and last autovacuum
- Gather per-table tuple statistics
- Catch per-table overrides HOT 1
- Problem : Report with less session details if collection timesamp is not available HOT 2
- Timestamp information on the report should be same as PG logs HOT 2
- Reduction in columns in Table info in version 11 broke the analysis HOT 2
- Those databases where blks_fetch is zero also need to be present in the report HOT 1
- pg_gather can be blocked if there is a lock on the pg_class HOT 2
- Improvement : Eleminate Sed utility from the requirement for data import HOT 2
- Column leader_pid from pg_get_activity table too small HOT 3
- Report header goes missing of timezone info is not available. HOT 1
- Multiple times of page rendering causing CPU spikes in browser. HOT 2
- Temp generation per database shouldn't be cumulative
- Rarely users reported that additonal empty column appears along with wait-event data HOT 2
- Delay between wait event sampling is done by sending pg_sleep() to server repatedly. HOT 1
- function max(pg_lsn) does not exist HOT 5
- VacuumDelay is shouldn't be counted as the databse time HOT 1
- ERROR: division by zero if data from pg_stat_bgwriter is not available HOT 1
- New feature request: MultiXactId reporting 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 pg_gather.