Quantcast
Channel: Michael Paquier » extension
Browsing all 5 articles
Browse latest View live

Script to replace string with sed

Here is a short script to replace strings with sed easily written in bash. #!/bin/bash #Replace string in file of given extension #argument 1, extension type #argument 2, old string #argument 3, new...

View Article



Search a string in selected files

Here is a short script/memo to find strings inside given file. The script is assumed to be called strfind. It is written in bash. Here is the spec of this script. michael@boheme:~/bin $ strfind ?...

View Article

Postgres feature highlight: hstore

hstore is a PostgreSQL contrib module in core code for a pretty long time. Its code is located in contrib/hstore in source folder. It is particularly useful to store sets of key/value in a single table...

View Article

Postgres feature highlight: pg_buffercache

pg_buffercache is a PostgreSQL contrib module allowing to get an instant relation-based view of the shared buffer usage by querying the wanted server. This can be pretty useful for performance analysis...

View Article

Hooks in Postgres: super-superuser restrictions

PostgreSQL extensibility is awesome. With things like extensions or custom worker backgrounds, there are many ways for a PostgreSQL developer to create modules without having to touch a single line of...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images