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.

Abusing SECURITY DEFINER functions in PostgreSQL

by Laurenz Albe | 05.2019
UPDATED August 2023: Functions defined as SECURITY DEFINER are a powerful, but dangerous tool in PostgreSQL. The documentation warns of […]

PostgreSQL: Using CREATE USER with caution

by Hans-Jürgen Schönig | 05.2019
There are good reasons why CREATE USER should be used cautiously. Find out why, and why you should distinguish between users and roles.

1-to-1 relationship in PostgreSQL for real

by Pavlo Golub | 05.2019
How to implement 1-to-1 relationship in PostgreSQL? Tricks with UNIQUE constraints? Check how to achive that using DEFERRABLE foreign keys.

Triggers to enforce constraints in PostgreSQL

by Laurenz Albe | 04.2019
  Sometimes you want to enforce a condition on a table that cannot be implemented by a constraint. In such […]

DECLARE CURSOR in PostgreSQL or how to reduce memory consumption

by Hans-Jürgen Schönig | 04.2019
This blogpost is about using cursors in PostgreSQL, their purpose and limitations and what DECLARE CURSOR and FETCH have to do with it.

Security and PostgreSQL - a reminder on various attack surfaces

by CYBERTEC Guest | 04.2019
This article gives an overview about common security problems as well as ways to mitigate these risks in PostgreSQL.

PostgreSQL count(*) made fast

by Laurenz Albe | 04.2019
  It is a frequent complaint that count(*) is so slow on PostgreSQL. In this article I want to explore […]

unaccent: Getting rid of umlauts, accents and special characters

by Hans-Jürgen Schönig | 03.2019
Unaccent is a useful PostgreSQL extension for improving user experience. Get insight into this extension and its purpose.

Choose plpgsql variable names wisely

by Pavlo Golub | 03.2019
Pavel Stehule recently wrote the post "Don't use SQL keywords as PLpgSQL variable names" describing the situation when internal stored […]

"Exclusive backup" method is deprecated - what now?

by Laurenz Albe | 02.2019
  UPDATE 12.07.2022: The “exclusive backup” method of calling pg_start_backup('label') before backup and pg_stop_backup() afterwards has been removed in PostgreSQL […]
1 21 22 23 24 25 35
CYBERTEC Logo white
Get the newest PostgreSQL Info & Tools


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

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