I have a table ,one of the table filed is json format: How can I select all rows that "to_status" is 3 or 2 ? Any friend can help? ...
I have a table ,one of the table filed is json format: How can I select all rows that "to_status" is 3 or 2 ? Any friend can help? ...
I have a Json Array in my request object and POJO object, I need to save that jsonarray field into jsonb column in my postgresql table. I am gettin ...
device_id device_created_at 10e7983e-6a7b-443f-b0fe-d5e6485a502c 2022-08-10 20:55:16.695 ...
"TH09062158" "RAVI" "2022-07-01" "03:54 PM" "12.00" "TH09062158" "RAVI" "2022-07-01" "03:54 PM" "10000" "TH09062158" "RAVI" "2022-07-01" "03:54 PM" ...
I'm using a Linux server, I want to upgrade postgresql from the version 9 to 11. I have created a dump of my database. Then I have installed postgresq ...
In timescale DB, it is not allowed to alter the retention time interval of a hyper table. Is there any work around or other ways to alter the time int ...
I Created the next Trigger to move the data from a main table to an historical table in case of an update or insert. This Trigger moves all data fr ...
Semple response of the query to get 15-minute interval data The above query works fine in 15, 30, and 60 minutes intervals but I have to create a ...
I have a system that only supports version 9.1 of postgres and a client (company) has been managing their data with version 10. There are many tables ...
The field employeeData is of type json. Consider the query: When I'm running the query inside Postgres it works perfect and I get the rows that I' ...
I have a table named appsettings with columns value and key key column = supported-api-client in value column i have json like this how do i take ...
this is my first python programe to run on server and i have error in database connection. when i add this line to setting file and migrate the cod ...
Say, like I have a table videoplan: So I'm having startdate: 01.02.2022, enddate: 28.02.2022 Here, I need to show a notification like 'Renew Plan' ...
out of shared memory HINT: You might need to increase max_locks_per_transaction. We are passing input as comma separated tables table_names and trying ...
During listen notification from postgres trigger, we encounter Error 53300: sorry, too many clients already. Please suggest, if we can resolve it some ...
I wanted to create two index on my table having 500 million rows, Since index creation will take some time to finish, I am thinking to run two indexes ...
I have a csv file: output: And then I tried to insert the file data into postgres database: Error: It works in psql client. I thought i ...
For each subject I would like to filter their records after a specific date. However, the date I want to use as a filter is different for each subject ...
Need to write PostgreSQL Stored Procedure to find and kill Idle queries. Below are the query to find and kill PID: To find list of PID: To kil ...