In postgres when i do cast(varchar_col as timestamp) how do i know which formats (ie yyyymmdd, yyyy-mm-dd...etc) are supported? ...
In postgres when i do cast(varchar_col as timestamp) how do i know which formats (ie yyyymmdd, yyyy-mm-dd...etc) are supported? ...
I have installed source code of Postgres version 8.4.18, I am trying to create a table from .CSV file. I have created a table successfully when, I a ...
My company has a legacy, internal server running CentOS 6.4 with postgreSQL 8.4.13. The goal is to upgrade it as far as possible without doing OS upda ...
currently I am migrating the postgres database from pg8 to pg12, but I have encounter with a new issue previously in pg8 Now in pg12 ...
I'm working on a legacy application using Java 1.5, PostgreSQL 8.4.20 and iBatis version < 2.3.4.726 (as I've to use two jars for iBatis namely iba ...
I am developing a new application on Django (DRF + Angular). The current LTS version of Django 2.2. The required data is stored in the PostgreSQL 8.4 ...
Usual when improving my queries I see a coinciding improvement with both cost and actual time when running an explain analyze on both before and after ...
Hello Stack Overflow Users, I'm trying to pull together a list of users and all of their permissions, but I want to aggregate the permissions so they ...
I have a table with user input. I want to count the number of inputs per user, sort based on the count and then find the row number. In other words I ...
I need to create an aggregate function. For example, MAX(column) returns the max column values from the parsed rows. My new function LAST_ALERT_VALUE( ...
For my application, I created a SQL file patch to add a column user_name to an existant table : If I execute that and do a SELECT to display ack_ev ...
I try to sort partitions with several criteria. With this query, I have the following output: We see that the rows are partitioned by aggregate_ ...
I am following this tutorial: http://www.postgresqltutorial.com/postgresql-window-function/ I'm looking for a case that is not described in the tutor ...
my query in postgresql 9.3 is: But in postgresql 8.4 this code not working. How can i resolve, please? Thanks in advance! ...
I am trying to log in to a PostgreSQL server. I do not know the inner workings of this server at the moment. But every time I do log in with the follo ...
Problem I have a plpgsql function prepare_download_file that is passed in several user-defined parameters from a php script, inserts these parameters ...
I am using PostgreSQL 8.4 and creating a plpgsql function. In the body of this function I have a query to update records. When I load this function ...
Based on this (https://stackoverflow.com/a/13954487/1543618) answer to a question regarding automated VACUUM FULL of bloated tables, a DBA (who doesn' ...
I am using postgresql 8.4 in backend I have a postgres function say A() it can return a set of records (3 columns) like: function A define like th ...
I am using postgresql 8.4 in backend. In backend I made a postgres function to get some data. The function won't write any data to DB so just read dat ...