CYBERTEC PostgreSQL Logo

Category: How To

Get the Newest PostgreSQL Info, Tips & Tricks
Here you can find all blog posts about the Category: How To. You can go back to all blog posts or take a look into our other categories & tags.

pg_resetxlog: renamed to pg_resetwal

by Hans-Jürgen Schönig | 08.2014
pg_resetxlog was formerly a feature of PostgreSQL. This has been renamed to pg_resetwal, see the update in the blog.

Optimization issues: Cross column correlation

by Hans-Jürgen Schönig | 07.2014
UPDATED Sept. 2023 - A couple of years ago I stumbled over an interesting PostgreSQL issue which is commonly known as “cross correlation”.

Detecting wrong planner estimates

by Hans-Jürgen Schönig | 07.2014
The PostgreSQL planner optimizes your queries, and mostly does it right. The question is: How to figure out when & where things do go wrong?

CREATE CAST: Casting integer to IP in PostgreSQL

by Hans-Jürgen Schönig | 05.2014
How to store and process IP addresses in an efficient way. To do so PostgreSQL provides us with data types by casting integer.

Regular expressions unleashed in PostgreSQL

by Hans-Jürgen Schönig | 04.2014
How to use an operator to work with regular expressions in PostgreSQL: includes list and a case-sensitive example. Fun with coding PostgreSQL

Bypassing the transaction log

by Hans-Jürgen Schönig | 04.2014
When data is changed generally the change must be written to the xlog before it is written to the underlying table.

Detecting fraud: Benford's law

by Hans-Jürgen Schönig | 01.2014
Benford's law is a mechanism, which is widely used in many fields. Especially accounting fraud can be detected nicely using this simple law of mathematics.

Fed up with long WHERE-clauses?

by Hans-Jürgen Schönig | 12.2013
What if you want to compare dozens of columns with each other in PostgreSQL? Find out how to do it right here.

PostgreSQL shutdown modes

by Hans-Jürgen Schönig | 12.2013
PostgreSQL has three shutdown modes - smart, fast, immediate. Check out this blogpost to learn more about all of them.

Tracking changes in PostgreSQL

by Hans-Jürgen Schönig | 12.2013
UPDATED 2023 - How to track changes made to tables in PostgreSQL - instructions how to use a generic changelog trigger for tracking changes.
CYBERTEC Logo white
Get the newest PostgreSQL Info & Tools


    This site is protected by reCAPTCHA and the Google Privacy Policy & Terms of Service apply.

    ©
    2025
    CYBERTEC PostgreSQL International GmbH
    phone-handsetmagnifiercrosscross-circle
    linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram