FAQ

Search Discussions

47,227 discussions - 212,510 posts

  • 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 MichalMistina 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 natarajVibhuti 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 KretschmerAndreas 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)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 CeccarelliGianni 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 ...
    BocapBocap
    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.LArun 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 IshiiTatsuo 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 VeeJay 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łkowskiFilip 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 ...
    ChrishelringChrishelring
    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 muthuvelShanmugavel 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 noobPg 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 RummanAI Rumman
    Aug 27, 2013 at 6:44 pm
    Aug 28, 2013 at 3:29 pm
  • 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 HertroysAlban 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 ...
    SuperzhangfeiSuperzhangfei
    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 STSYelai, 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 jubehSalah 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 QuerciTorello 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 vGajendra 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 SendrowskiJanek 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 ...
    KoriskKorisk
    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 EisentrautPeter 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 SendrowskiJanek 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 PuzanovMikhail 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 JamesRobert 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)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ří HlinkaJiří 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 SheenaPrabhjot 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 .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 RadovanovicIvan 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 MarlinJoseph 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 ParrisDon 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 RadovanovicIvan 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 FingalAram 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 JacobsonMoshe 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. HoffmanEvan 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 VarrazzoDaniele 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 KonoplevSergey 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 JungwirthPaul 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 BiswasGranthana 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 MJayadevan 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 SosinskiRobert 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 SendrowskiJanek 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 JamesRobert 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 JamesRobert James
    Aug 18, 2013 at 3:55 am
    Aug 18, 2013 at 4:11 am
Group Navigation
period‹ prev | Latest | first ›
Group Overview
grouppgsql-general @
categoriespostgresql
discussions47,227
posts212,510
users18,522
websitepostgresql.org
irc#postgresql

Top users

Tgl: 17296 posts Richard Huxton: 2956 posts Bruce Momjian: 2682 posts Kleptog: 2551 posts Scott Marlowe: 2545 posts Joshua D. Drake: 2068 posts Merlin Moncure: 1725 posts Peter_e: 1465 posts Adrian Klaver: 1347 posts Alvaro Herrera: 1339 posts Michael Fuhr: 1324 posts John R Pierce: 1284 posts Stephan Szabo: 1211 posts Bruno Wolff III: 1205 posts Craig Ringer: 1161 posts Scott.marlowe: 969 posts Pavel Stehule: 952 posts Raymond O'Donnell: 943 posts Scott Marlowe: 841 posts Marc G. Fournier: 776 posts
show more
Archives