Uuid is the abbreviation for “universal unique identifier”. It consists of 36 characters, a set of numbers and letters, and its most important feature …
Read More »PostgreSQL
How to Change the Schema Name in PostgreSQL
We may want to change the schema name because of some needs. For this we can use the following script. First, we list the schemes …
Read More »PostgreSQL – List the connections from the IP block
One of the useful data types of PostgreSQL is the inet data type. inet is used to define IPv4 and IPv6 addresses. The ip address …
Read More »How To Find and Kill Long Running Queries In PostgreSQL
You can use the following queries to monitor the performance of the database or to find and kill queries that cause lock. The following …
Read More »UPGRADE POSTGRESQL 10 To 11
We will upgrade POSTGRESQL 10 To 11 on CENTOS in this article. Before I start the upgrade process, I want to make the following critical …
Read More »How to Install Postgresql Sample Database
In Postgresql, sometimes we need a sample database when we test. We can use pagila in postgresql.org for this. You can follow the steps …
Read More »PostgreSQL – Split The String With Regex Split
In PostgreSQL we have 2 functions to split a string according to a certain character; regexp_split_to_array and regexp_split_to_table. regexp_split_to_array : It splits the string according to regular expression and …
Read More »COLUMN ENCRYPTION WITH POSTGRESQL TRIGGER
In Postgresql, we can capture the record with the trigger, encrypt and write to the table. Let’s create the table, [crayon-67476f4eb08bd926466867/] Then we …
Read More »Foreign Data Wrapper Between PostgreSQL and MSSQL
In the article “Postgresql Foreign Data Wrapper“, we created Foreign Data Wrapper to read data between two PostgreSQLs. And we have created Foreing Data …
Read More »Postgresql Foreign Data Wrapper
Postgresql is one of the RDMS databases presented in simple form. Therefore, we need to install the extension to use dblink, Foreign Data Wrapper, …
Read More »