Search Discussions
-
Hello: I have done the following experiment to test : PG's activity when dealing with data which is bigger in size than total memory of the whole os system. The result is: PG says ...
高健
Aug 30, 2013 at 9:10 am
Aug 31, 2013 at 8:42 pm -
Hello to everybody. I've found there should be a package pgpool-ha in the full package list: http://yum.postgresql.org/news-packagelist.php I installed PostgreSQL yum repository by installing this ...
Mistina Michal
Aug 30, 2013 at 8:15 am
Aug 30, 2013 at 8:15 am -
Hi, I am using server 9.0.4, I am trying to 1. Create a new schema, 2. Create a table under that schema, and 3. Insert data in that schema, In the same EXECUTE and its failing. If I try CREATE OR ...
Vibhuti nataraj
Aug 29, 2013 at 9:59 pm
Aug 30, 2013 at 5:47 pm -
is there a bug in age()? test=*# select *, age(birthday), age (current_date-1, birthday) from birthday ; id | birthday | age | age ----+------------+---------+------------------------- 1 | 2010-08-29 ...
Andreas Kretschmer
Aug 29, 2013 at 7:11 pm
Aug 30, 2013 at 7:44 am -
Hi, I'm seeing something odd in my DB stats. This is PG 9.2.4 on CentOS. I know the stats collector can be off at times, but I am curious as to why it would be off in such a case. I know that under ...
Nicholson, Brad (Toronto, ON, CA)
Aug 29, 2013 at 4:24 pm
Aug 29, 2013 at 5:15 pm -
Hello. At work we have a program that seems to be stressing the SSI implementation, and I thought that it could provide useful insights to better tune it. In particular, there are a few parts that ...
Gianni Ceccarelli
Aug 29, 2013 at 4:20 pm
Aug 31, 2013 at 2:19 pm -
Hi all, I think it is not documented the follow using of replication, but is that correct. 1. Instead of using pg_basebackup for standby DB, i initdb for both standby and primary. 2. Create ...
Bocap
Aug 29, 2013 at 1:54 pm
Aug 30, 2013 at 12:47 pm -
Hi all, Is there any way to delete duplicate rows in psql with no unique fields? I have a set of old records with their duplicates in my db and they are all having the same fields. How can I delete ...
Arun P.L
Aug 29, 2013 at 11:39 am
Aug 29, 2013 at 12:15 pm -
I have a question about hot_standby_feedback parameter. In my understanding, if this parameter is on, a long running transaction on standby will not be canceled even if the transaction conflicts. So ...
Tatsuo Ishii
Aug 29, 2013 at 7:46 am
Aug 29, 2013 at 7:46 am -
I want to backup a database but exclude certain schemas with a patter. I have 100 schemas with the pattern: 'sch_000', 'sch_001', and so on. Will this work? $pg_dump <other_options ...
Jay Vee
Aug 28, 2013 at 7:30 pm
Aug 29, 2013 at 6:45 am -
Hi. I have Pg 9.0 wal shipping hot standby secondary server. The primary is under constant stream of updates (avg 20 TXID/s). There are many lengthy COPY FROM operations in the primary. After every ...
Filip Rembiałkowski
Aug 28, 2013 at 6:27 pm
Aug 28, 2013 at 6:27 pm -
Hi all, I need to let a server access our postgreSQL database but I´m having problems with the configuration. I´m getting the error message below, psql: FATAL: no pg_hba.conf entry for host ...
Chrishelring
Aug 28, 2013 at 12:00 pm
Aug 28, 2013 at 12:54 pm -
Hii, I have an issue with of "idle transaction" and one select statement in backend. what i noticed when i look the pg_lock, all are idle trans and one particlular select statement with ...
Shanmugavel muthuvel
Aug 28, 2013 at 10:05 am
Aug 30, 2013 at 8:33 pm -
Hi all, I recently ran a couple of tests where I took one of my production systems and did a drop-in replacement of postgres 8.4 with 9.2.4. I was expecting to see some performance improvement given ...
Pg noob
Aug 27, 2013 at 9:26 pm
Aug 28, 2013 at 4:11 pm -
Hi, I have a string like: Gloucester Catholic vs. St. Augustine baseball, South Jersey Non-Public A final, June 5, 2013 I need to extract date part from the string. I used the follows ...
AI Rumman
Aug 27, 2013 at 6:44 pm
Aug 28, 2013 at 3:29 pm -
8
OLAP
Hi all, At work we have a system that's built on top of a proprietary OLAP database system (Rocket Gentia). We're looking into replacing that system with something that's still supported and in such ...Alban Hertroys
Aug 27, 2013 at 3:12 pm
Aug 28, 2013 at 3:53 am -
Hello This is Robin. I'm learning about the package of Enterprisedb. I wrote a package like:CREATE OR REPLACE PACKAGE BODY pkg_test_d2IS TYPE t_d2_tab IS TABLE OF integer INDEX BY integer;TYPE ...
Superzhangfei
Aug 27, 2013 at 1:24 pm
Aug 27, 2013 at 1:24 pm -
HI In our current project, we are opening several postgresql connection. Few connections are frequently used and few are occasionally used. Hence we plan to adapt connection pool method to avoid more ...
Yelai, Ramkumar IN BLR STS
Aug 27, 2013 at 8:36 am
Aug 28, 2013 at 12:56 pm -
Hello, I have a question regarding streaming replication: When pg_xlog needs to be shipped in streaming replication and when not? I have faced a different issues in two existing setups, in the first ...
Salah jubeh
Aug 27, 2013 at 8:09 am
Aug 27, 2013 at 8:29 am -
Hi to all .... On my Postgresql 9.1 instance I had a problem with an index. Using index I get less tuples than expected. I try to remove index and the query works fine but obviosly the query is slow ...
Torello Querci
Aug 26, 2013 at 2:27 pm
Aug 28, 2013 at 11:23 am -
Hello All, I am migrating oracle queries to postgres queries *Oracle query is below* select * from (select * from KM_COURSE_MAST where ID in (select OBJ_ID from (select ...
Gajendra s v
Aug 26, 2013 at 7:17 am
Aug 27, 2013 at 1:32 am -
Hello: Sorry for disturbing. I am now encountering a serious problem: memory is not enough. My customer reported that when they run a program they found the totall memory and disk i/o usage all ...
高健
Aug 26, 2013 at 6:08 am
Aug 29, 2013 at 8:26 pm -
Hi, Thats my code snipped: SELECT v_rec1.user, sum(CASE WHEN v_rec_fts.lev BETWEEN 0 AND 25 THEN 1 ELSE 0 END) as "0 to 25", sum(CASE WHEN v_rec_fts.lev BETWEEN 25 AND 50 THEN 1 ELSE 0 END) as "25 to ...
Janek Sendrowski
Aug 25, 2013 at 9:59 pm
Aug 27, 2013 at 6:27 pm -
Hi! I want quick insert into db a lot of data (in form of triplets). Data is formed dynamical so "COPY" is not suitable. I tried batch insert like this: insert into triplets values (1,1,1); insert ...
Korisk
Aug 25, 2013 at 12:15 am
Aug 26, 2013 at 12:49 am -
In anticipation of the release of PostgreSQL 9.3, it is once again time to update the message translations. We are now in a string freeze, which has traditionally been associated with the first ...
Peter Eisentraut
Aug 24, 2013 at 7:32 pm
Aug 27, 2013 at 2:45 am -
Hi, I have an array and I want to import the data rowwise. Would it make sense to use a function which calls a prepared statement in a loop to import the data performant? Or can I somehow use the ...
Janek Sendrowski
Aug 23, 2013 at 9:20 pm
Aug 23, 2013 at 9:24 pm -
Hello, I need to convert the set of ipv6 addresses stored as numerics (by historical reasons mostly) to inet type. Something like '0:0:0:0:0:0:0:0'::inet + ...
Mikhail Puzanov
Aug 23, 2013 at 9:56 am
Aug 23, 2013 at 11:28 pm -
Hello: Sorry for disturbing. I have one question : Will checkpoint cause wal written happen? I found the following info at: http://www.postgresql.org/docs/9.2/static/wal-configuration.html .. ...
高健
Aug 23, 2013 at 3:00 am
Aug 31, 2013 at 2:22 am -
I would like to: INSERT INTO t SELECT * FROM r, (x + y) AS field3 How do I correlate the names of the fields? That is, how do I indicate which fields from r or field3 should be inserted into the ...
Robert James
Aug 22, 2013 at 10:30 pm
Aug 23, 2013 at 2:32 pm -
Hi, I'm seeing cases where I have temp files being written on commit, such as. 2013-08-16 12:09:02 GMT [14480]: [588-1] user=dbuser,db=dbname STATEMENT: COMMIT 2013-08-16 12:09:02 GMT [14480] ...
Nicholson, Brad (Toronto, ON, CA)
Aug 22, 2013 at 3:21 pm
Aug 23, 2013 at 3:13 pm -
Hello, I'd like to setup a testing environment which is based on a current production server status. The DB server is pgsql 8.4 (subscribed RHEL, so can't use hot standby or other 9.0+ options). The ...
Jiří Hlinka
Aug 22, 2013 at 7:07 am
Aug 22, 2013 at 7:07 am -
Hi: I have heard that Heap-Only Tuples is introduce from 8.3. And I am searching information for it. How can I get a detailed information of HOT? For example: according to a table, How many tuples ...
高健
Aug 22, 2013 at 2:20 am
Aug 23, 2013 at 2:48 am -
Hi guys Is there a way to not cache sql query that just finished executing. I have a scenario in which i want to run a sql query but i don't want it to sit in cache. i want it to be cleared from ...
Prabhjot Sheena
Aug 21, 2013 at 8:28 pm
Aug 22, 2013 at 1:06 am -
I'm trying to understand how 9.2.4 logs common tasks and info in CentOS 6.4 Linux. It appears everything is stored in /var/lib/pgsql9/data/pg_log/postgresql-%a.log My issue is the logging information ...
Carlosinfl .
Aug 21, 2013 at 7:55 pm
Aug 22, 2013 at 3:28 pm -
Just to verify: - when unique constraint is created using appropriate syntax rows are added to tables pg_constraint and pg_index (pg_constraint with type 'u' and referring to index with indisunique ...
Ivan Radovanovic
Aug 21, 2013 at 5:46 pm
Aug 22, 2013 at 7:16 am -
We're having an issue with our warm standby server. About 9:30 last night, it stopped applying changes it received in WAL files that are shipped over to it as they are created. It is still reading ...
Joseph Marlin
Aug 21, 2013 at 2:08 pm
Aug 21, 2013 at 6:23 pm -
Hi all, When I install the Kubuntu (13.04) postgresql (9.1) packages, the default template1 encoding turns out to be ASCII, which is not really what I want. My OS locale command reveals everything to ...
Don Parris
Aug 21, 2013 at 9:55 am
Aug 23, 2013 at 8:59 am -
Hello, I was checking for way to get object comments, and it seems that \dd has bug when it comes to extracting descriptions for constraints. Relevant part of query psql is executing is: SELECT ...
Ivan Radovanovic
Aug 21, 2013 at 9:32 am
Aug 22, 2013 at 6:56 am -
I want to create a user defined data type but have flexible input just like, for example, the boolean data type where TRUE can be entered as any of (TRUE, true, T, t, YES, yes, Y, y, 1...) and it ...
Aram Fingal
Aug 20, 2013 at 8:11 pm
Aug 21, 2013 at 7:09 am -
I wrote an extension and marked one of the tables it creates as a config table using pg_extension_config_dump(). This caused the data to be dumped and restored correctly, but the sequence attached to ...
Moshe Jacobson
Aug 20, 2013 at 6:25 pm
Aug 28, 2013 at 2:53 pm -
Given a system with 32 cores, an SSD SAN with 48x drives, and 2x 8Gbps paths from the server to the SAN, what would be a good starting point to set effective_io_concurrency? I currently have it set ...
Evan D. Hoffman
Aug 20, 2013 at 12:27 pm
Aug 26, 2013 at 1:33 pm -
Hello, the issue can be show with this example: piro= SET TIMEZONE = 'America/New_York'; SET piro= select '1970-01-01T00:00:00+03:00'::timestamp; timestamp --------------------- 1970-01-01 00:00:00 ...
Daniele Varrazzo
Aug 20, 2013 at 11:00 am
Aug 22, 2013 at 5:58 pm -
Hi all, My WAL archiving script based on pg_receivexlog reported the following error several days ago (just ignore everything before 'pg_receivexlog', it's a message my script generates). Thu Aug 15 ...
Sergey Konoplev
Aug 20, 2013 at 6:18 am
Aug 21, 2013 at 9:29 pm -
I'm trying to create a unique index where the unique constraint is `deferrable initially immediate`. But I don't see any way to do this in the syntax of the `create index` command. It looks like the ...
Paul Jungwirth
Aug 19, 2013 at 5:46 pm
Aug 19, 2013 at 7:01 pm -
Hi, Processes are failing due to the following error on Postgresql 8.3.5: FATAL: lock AccessShareLock on object 0/1260/0 is already held 1260 oid belongs to pg_authid. This error is not coming for ...
Granthana Biswas
Aug 19, 2013 at 4:58 pm
Aug 19, 2013 at 4:58 pm -
Hello all, Is the release date for PostgreSQL 9.3 production decided? We are going live in a couple of weeks with a portal and if possible, would like to go with 9.3, Materialized Views being the key ...
Jayadevan M
Aug 19, 2013 at 4:38 am
Aug 19, 2013 at 4:58 am -
When using array_agg on a large table, memory usage seems to spike up until Postgres crashes with the following error: 2013-08-17 18:41:02 UTC [2716]: [2] WARNING: terminating connection because of ...
Robert Sosinski
Aug 19, 2013 at 3:00 am
Aug 21, 2013 at 3:56 pm -
Hi, How can I do a query on a record variable in a function. I want to do a dirty fulltextsearch on a table and then choose the string which have a low levenshtein-distance. I wanted to it like this, ...
Janek Sendrowski
Aug 18, 2013 at 8:14 pm
Aug 19, 2013 at 10:17 am -
I have a slow_function. My table has field f, and since slow_function is slow, I need to denormalize and store slow_function(f) as a field. What's the best way to do this automatically? Can this be ...
Robert James
Aug 18, 2013 at 3:56 am
Aug 20, 2013 at 3:42 am -
Is there a way to do a Postgres internal cron job? That is, do something every X minutes? Yes: Of course I can do this using cron. But I'd like to be able to manage this from within Postgres.
Robert James
Aug 18, 2013 at 3:55 am
Aug 18, 2013 at 4:11 am
Group Overview
group | pgsql-general |
categories | postgresql |
discussions | 47,227 |
posts | 212,510 |
users | 18,522 |
website | postgresql.org |
irc | #postgresql |
Top users
Archives
- August 2013 (761)
- July 2013 (663)
- June 2013 (644)
- May 2013 (789)
- April 2013 (795)
- March 2013 (663)
- February 2013 (841)
- January 2013 (904)
- December 2012 (821)
- November 2012 (944)
- October 2012 (841)
- September 2012 (940)
- August 2012 (801)
- July 2012 (661)
- June 2012 (733)
- May 2012 (764)
- April 2012 (704)
- March 2012 (984)
- February 2012 (814)
- January 2012 (863)
- December 2011 (916)
- November 2011 (1,172)
- October 2011 (1,102)
- September 2011 (1,114)
- August 2011 (1,074)
- July 2011 (906)
- June 2011 (951)
- May 2011 (993)
- April 2011 (1,080)
- March 2011 (1,095)
- February 2011 (1,004)
- January 2011 (896)
- December 2010 (1,068)
- November 2010 (1,225)
- October 2010 (1,154)
- September 2010 (1,115)
- August 2010 (880)
- July 2010 (1,038)
- June 2010 (1,349)
- May 2010 (1,161)
- April 2010 (1,172)
- March 2010 (1,209)
- February 2010 (1,214)
- January 2010 (1,351)
- December 2009 (1,202)
- November 2009 (476)
- October 2009 (1,234)
- September 2009 (1,234)
- August 2009 (1,254)
- July 2009 (1,440)
- June 2009 (1,417)
- May 2009 (1,215)
- April 2009 (1,177)
- March 2009 (1,366)
- February 2009 (1,330)
- January 2009 (1,174)
- December 2008 (951)
- November 2008 (1,411)
- October 2008 (1,476)
- September 2008 (1,241)
- August 2008 (1,175)
- July 2008 (1,244)
- June 2008 (1,056)
- May 2008 (1,130)
- April 2008 (1,435)
- March 2008 (1,656)
- February 2008 (1,511)
- January 2008 (1,590)
- December 2007 (1,470)
- November 2007 (1,758)
- October 2007 (1,693)
- September 2007 (1,381)
- August 2007 (2,067)
- July 2007 (1,249)
- June 2007 (1,778)
- May 2007 (1,629)
- April 2007 (1,276)
- March 2007 (1,731)
- February 2007 (1,710)
- January 2007 (1,939)
- December 2006 (1,601)
- November 2006 (1,843)
- October 2006 (1,571)
- September 2006 (1,274)
- August 2006 (1,481)
- July 2006 (1,149)
- June 2006 (1,242)
- May 2006 (1,582)
- April 2006 (1,355)
- March 2006 (1,577)
- February 2006 (1,201)
- January 2006 (1,715)
- December 2005 (1,381)
- November 2005 (1,408)
- October 2005 (1,907)
- September 2005 (1,209)
- August 2005 (1,605)
- July 2005 (1,317)
- June 2005 (1,391)
- May 2005 (1,358)
- April 2005 (1,419)
- March 2005 (1,611)
- February 2005 (1,511)
- January 2005 (1,855)
- December 2004 (1,334)
- November 2004 (1,525)
- October 2004 (1,549)
- September 2004 (1,341)
- August 2004 (1,640)
- July 2004 (963)
- June 2004 (1,219)
- May 2004 (936)
- April 2004 (1,188)
- March 2004 (1,223)
- February 2004 (1,326)
- January 2004 (1,670)
- December 2003 (1,638)
- November 2003 (1,747)
- October 2003 (1,575)
- September 2003 (1,857)
- August 2003 (1,786)
- July 2003 (1,557)
- June 2003 (1,927)
- May 2003 (1,290)
- April 2003 (1,564)
- March 2003 (1,565)
- February 2003 (1,761)
- January 2003 (1,625)
- December 2002 (1,225)
- November 2002 (1,477)
- October 2002 (1,432)
- September 2002 (1,401)
- August 2002 (1,246)
- July 2002 (1,869)
- June 2002 (1,337)
- May 2002 (1,185)
- April 2002 (1,254)
- March 2002 (1,363)
- February 2002 (1,418)
- January 2002 (1,181)
- December 2001 (879)
- November 2001 (1,117)
- October 2001 (1,177)
- September 2001 (1,213)
- August 2001 (1,270)
- July 2001 (1,316)
- June 2001 (1,630)
- May 2001 (1,677)
- April 2001 (16)
- March 2001 (1,633)
- February 2001 (1,597)
- January 2001 (1,668)
- December 2000 (1,001)
- November 2000 (1,067)
- October 2000 (1,304)
- September 2000 (992)
- August 2000 (846)
- July 2000 (1,145)
- June 2000 (797)
- May 2000 (832)
- April 2000 (695)
- March 2000 (220)
- February 2000 (478)
- January 2000 (656)
- December 1999 (643)
- November 1999 (506)
- October 1999 (622)
- September 1999 (384)
- August 1999 (494)
- July 1999 (406)
- June 1999 (462)
- May 1999 (405)
- April 1999 (328)
- March 1999 (382)
- February 1999 (360)
- January 1999 (295)
- December 1998 (239)
- November 1998 (266)
- October 1998 (278)
- September 1998 (185)
- August 1998 (224)
- July 1998 (432)
- June 1998 (352)
- May 1998 (134)