Search Discussions
-
Hello everyone, I'm seeking help in diagnosing / figuring out the issue that we have with our DB server: Under some (relatively non-heavy) load: 300...400 TPS, every 10-30 seconds server drops into ...
Vlad
Nov 14, 2012 at 9:14 pm
Nov 25, 2012 at 11:07 pm -
I tried this and I get an error that 'psql: FATAL: role "postgres" does not exist' -----Original Message----- From: <span class="m_body_email_addr" title="63d2823e5298e02f79737df2eb726a85" ...
Kevin Burton
Nov 1, 2012 at 1:01 am
Nov 3, 2012 at 5:19 am -
We upgraded to 9.1 from 8.4 over the summer a few months ago, to new DB servers with more disk space and memory. Unexpectedly, the DB servers have steadily increased their disk space usage since ...
Lists
Nov 6, 2012 at 3:01 am
Nov 13, 2012 at 6:31 pm -
Hi, Does anyone know whether PostgreSQL has complete functional test cases? And where can I find them? Currently, I only find some test cases in "PG_SOURCE/src/tests", but it seems that they are ...
Tianyin Xu
Nov 6, 2012 at 7:45 am
Nov 9, 2012 at 1:02 pm -
hi, I've try to restore Postgres to a specific time but failed. The recovery.conf as bellow restore_command='cp /t/xlog/%f %p' recovery_target_time='2012-11-22 5:01:09 CST' ...
Wd
Nov 22, 2012 at 11:28 am
Nov 28, 2012 at 5:26 am -
Hello, I wish to return the SELECT statement. Ho can I achieve this? DO $$ DECLARE v_some_id int=14; BEGIN /* more queries here... */ SELECT 'this is text'; END $$ LANGUAGE plpgsql; Best, Peter Kroon
Peter Kroon
Nov 23, 2012 at 10:37 am
Nov 26, 2012 at 7:57 pm -
Is there any practical difference between defining a column as a varchar(n)vs. a varchar vs. a text field? I've always been under the impression that if I am wanting to index a varchar column, it is ...
Moshe Jacobson
Nov 5, 2012 at 8:46 pm
Nov 19, 2012 at 1:10 am -
I've a bunch of databases that cannot be dropped in any case. I was wondering if it is possible to revoke "drop database" permission for all users, in order that even superuser, if he wishes to drop ...
Edson Richter
Nov 9, 2012 at 11:20 am
Dec 2, 2012 at 10:32 am -
Hi, I'm looking for some general info on the behavior of CLUSTER. I add large amounts of data to an existing table something like this: BEGIN; DROP INDEX IF EXISTS xgen1011_si_sn; COMMIT; BEGIN ...
Schnabel, Robert D.
Nov 29, 2012 at 4:11 pm
Nov 29, 2012 at 7:55 pm -
Is a temp table created to memory(ram) or disk? I've converted some msssq
Peter Kroon
Nov 23, 2012 at 9:11 am
Nov 28, 2012 at 11:23 pm -
For now. If it really works, then by definition it does not /need/ to be that long, as the truncated version is not blowing things up. Part ORM fault, part Postgres. We really should be throwing ...
Greg Sabino Mullane
Nov 18, 2012 at 3:49 am
Nov 23, 2012 at 4:34 pm -
Hi, was wondering if there is anyone wanted to share some experiences gained and some knowledge on pl/Java. Have looked into it for a couple of days now and am getting the impression it is not ...
Thomas Hill
Nov 19, 2012 at 8:02 am
Nov 21, 2012 at 2:08 am -
Hi. I've been struggling with understanding all the necessary pieces for streaming replication. So I put down the pieces as I did understand them, and would appreciate if you guys could point out any ...
Pawel Veselov
Nov 10, 2012 at 1:31 am
Nov 14, 2012 at 2:31 pm -
Hi, I am running a PostgreSQL server on FreeBSD. The system has 32GB memory. Usually I use top to examine the memory usage of the system. After a while, a part, approximately 5GB, vanish from top, so ...
Frank Broniewski
Nov 5, 2012 at 10:23 am
Nov 9, 2012 at 10:17 am -
This is probably a question for the authors of a book I have been reading but it may be faster to get an answer here. I was trying to follow along in a book 'Seven Databases in Seven Weeks' and ...
Kevin Burton
Nov 1, 2012 at 3:33 pm
Nov 2, 2012 at 9:51 pm -
turn the vol down a bit: http://www.youtube.com/watch?v=1PoFIohBSM4 the answer is d)
Ray Stell
Nov 29, 2012 at 1:48 pm
Nov 30, 2012 at 5:34 am -
Hi, The following SQL join command runs the PostgreSQL server out of memory. The server runs on a box with Red Hat Enterprise Linux Server release 6.3 (Santiago) and PostgreSQL 8.3.21. select wm_nfsp ...
Carlos Henrique Reimer
Nov 8, 2012 at 10:21 am
Nov 14, 2012 at 2:44 pm -
I had a 9.0.8 hot standby setup, one master, two slaves, working great. Then, I tried to re-initialize by making a base backup, the way I've done it many times before, but for some reason I can't get ...
Ian Harding
Nov 6, 2012 at 3:40 am
Nov 6, 2012 at 4:58 pm -
9
Npgsql
I've installed Npgsql via Application stack builder without a problem(I guess, no error messages seen). http://npgsql.projects.pgfoundry.org/docs/manual/UserManual.html The projectpage tells me I ...Peter Kroon
Nov 23, 2012 at 6:13 pm
Nov 26, 2012 at 9:05 pm -
I want to process all the records in a table through a C-language (well, C++) function (i.e. one function call per row of the table) in such a way that the function hangs onto its internal state ...
Matt
Nov 19, 2012 at 12:41 pm
Nov 21, 2012 at 4:20 am -
Hi I am using 9.1.6, and I've set up a partitioned table as described in the manual, with partitions based on a timestamptz column called 'time'. The exclusion constraints work nicely when I select ...
Thomas Munro
Nov 6, 2012 at 7:41 am
Nov 18, 2012 at 2:35 am -
Hey guys, I don't notice any errors, which just makes this even more strange. But after weeks of operating normally, our 10pm manual vacuum job generated transaction logs basically equivalent to 3/4 ...
Shaun Thomas
Nov 1, 2012 at 2:04 pm
Nov 3, 2012 at 4:46 pm -
Greetings, I'm looking to obtain the name of a column that is passed to a function, similar to xmlforest. Suggestions? Regards, Rhys
Rhys A.D. Stewart
Nov 20, 2012 at 7:36 pm
Nov 22, 2012 at 6:59 pm -
Hi Sorry for my English. I'm running pgsql8.4 server on debian,the client is the python library(psycopg2) on the same mechine. The client connect server via 127.0.0.1:5432. The psycopg2 connect ...
Dongkuo Ma
Nov 2, 2012 at 2:24 am
Nov 2, 2012 at 3:48 am -
Hello, In Postgresql 9.2 this function pg_listening_channels() returns the channels that the current session/connection listens to. How (if it's even possible) can I get listening channels for all ...
Igor Neyman
Nov 27, 2012 at 8:58 pm
Dec 1, 2012 at 4:58 pm -
Hi All , When am trying to query a table temp_table1(sms_type varchar(20),sms_info varchar(100),sms_id integer) Query :: select sms_type,count(*) from temp_table1 group by 1 order by 2 desc; Then i ...
Ranjeet Dhumal
Nov 21, 2012 at 11:23 am
Nov 22, 2012 at 6:35 am -
Hi, suppose for a moment I want to write a psql script that loads some data into a database. I don't want to write an absolute path into my script, but merely know where the data file will be ...
Matthew Vernon
Nov 20, 2012 at 6:48 pm
Nov 23, 2012 at 10:31 am -
Hi all, Can you please tell me , how to set up replication in win7, without slony tool.. -- Best Regards, Vishalakshi.N
Vishalakshi Navaneethakrishnan
Nov 2, 2012 at 7:33 am
Nov 21, 2012 at 9:31 am -
Hi, How can I list all schema names inside a PostgreSQL database through SQL, especially thoese without any objects created inside it. Regards, Xiaobo Gu
Xiaobo Gu
Nov 15, 2012 at 12:31 pm
Nov 19, 2012 at 5:05 am -
Hi, I installed PostgresSQL-8.3 on my linux machine. The cluster directory is /usr/local/data and I created three databases named db1, db2, and db3. db1 is in the default tablespace 'pg_default'. db2 ...
Wang, Hao
Nov 14, 2012 at 7:50 am
Nov 15, 2012 at 9:54 am -
Greetings all, having a permission issue with writing a file using plpython to a local folder, changed permissions to everyone read and write and even changed the owner to postgres. but no joy, any ...
Rhys A.D. Stewart
Nov 14, 2012 at 4:45 pm
Nov 15, 2012 at 1:21 am -
I am trying to make a trigger that updates a row once and only once per transaction (even if this trigger gets fired multiple times). The general idea is that for a user we have a version number ...
Mike Lewis
Nov 6, 2012 at 10:55 pm
Nov 8, 2012 at 10:21 am -
Hi, I'm wondering which type of SSDs would be better for use with PostgreSQL. Background: At the moment, SSD drives fall into two categories.. Those that use internal-compression on the SandForce ...
Toby Corkindale
Nov 14, 2012 at 7:11 am
Dec 11, 2012 at 5:51 pm -
Hi, In the absence of query caching AND NOT WANTING TO FORCE THE APPLICATION TO DO SO EXPLICITLY, I'm looking for ideas as to how I should "future-safe" the design of some custom user base types and ...
Bexley Hall
Nov 24, 2012 at 11:04 pm
Nov 25, 2012 at 8:12 pm -
I am facing problem i.e. connections after execution completed are residing in pg_stat_activity and pg_stat_database. but when i am trying to kill them manually using pg_terminate_backend (All IDLE ...
Harry
Nov 16, 2012 at 6:34 am
Nov 20, 2012 at 1:45 pm -
Hi, Postgresql, I want to understand how the query optimizers affect the output of the window functions. For example, set "cpu_tuple_cost = 50" in postgresql.conf and start the server, I apply the ...
Tianyin Xu
Nov 14, 2012 at 8:12 am
Nov 14, 2012 at 11:04 pm -
Hi all: I made partition tables: postgres=# create table ptest(id integer, name varchar(20)); CREATE TABLE postgres=# create table ctest01(CHECK(id<5000000)) inherits (ptest); CREATE TABLE postgres=# ...
高健
Nov 12, 2012 at 2:39 am
Nov 12, 2012 at 2:20 pm -
I have streaming replication configured over SSL, and there seems to be a problem with SSL renegotiation. This is from the primary's log: 2012-11-06 00:13:10.990 ...
Albe Laurenz
Nov 6, 2012 at 9:48 am
Nov 8, 2012 at 1:22 pm -
Can anyone suggest how I could verify that the files created by pg_dump are "okay"? They are being created for backup purposes, and the last thing I want to do is find out that the backups themselves ...
Gary
Nov 7, 2012 at 1:40 pm
Nov 7, 2012 at 10:31 pm -
I'd like to create a function : returning true if the length of the text arg is greater than 0 ; false otherwise ; and also returning false when arg is NULL, then i wrote : CREATE FUNCTION ...
Yvon Thoraval
Nov 7, 2012 at 5:33 am
Nov 7, 2012 at 7:57 am -
Hi all, I read somewhere that the following query gives a quick estimate of the # of rows in a table regardless of the table's size (which would matter in a simple SELECT count(*)?): SELECT (CASE ...
Thalis Kalfigkopoulos
Nov 5, 2012 at 10:03 pm
Nov 6, 2012 at 12:46 am -
Hi I have an unused computer which I am considering turning into a server to run my Postgresql database. Is this even possible to do? If so, can someone suggest an open source server that is ...
Bob Pawley
Nov 3, 2012 at 11:08 pm
Nov 4, 2012 at 4:43 pm -
In a query plan, I noticed the following: Join Filter: (((all_permissions.role_recursive AND (alternatives: SubPlan 5 or hashed SubPlan 6)) OR (permitted_e.id = deployed_e.id)) AND (NOT (SubPlan ...
Christophe Pettus
Nov 28, 2012 at 9:07 pm
Nov 28, 2012 at 10:50 pm -
Hi,First sorry for my bad English :D.I'm new in PostgreSQL and database .Now i'm researching about statistic correlation .I want to make a example with the table -assume that I have tbl_test table ...
Classical_89
Nov 26, 2012 at 9:52 am
Nov 27, 2012 at 8:31 pm -
Hi All , Am facing one problem related to pg_toast table , its grown very huge upto 31GB , even am vacuuming(not full) it daily , my fsm parameters are default, can anyone tell how to decrease the ...
Ranjeet Dhumal
Nov 26, 2012 at 6:36 am
Nov 26, 2012 at 10:31 am -
While converting a mysql database into postgres, I stumbled over the following problem: As the value for "filesize" suggests, this is a very large BYTEA (formerly: LONGBLOB) entry with about 300 MB ...
Stefan Froehlich
Nov 25, 2012 at 5:19 pm
Nov 25, 2012 at 8:11 pm -
Hello, I'm analysing a way to avoid one of the password attack vectors for web services, which goes like this: 1. acquire passwords database (assuming passwords are hashed) 2. run cracking software ...
Rafal Pietrak
Nov 24, 2012 at 9:15 am
Nov 24, 2012 at 2:48 pm -
Hello, How do I declare a variable after BEGIN? I want to declare it in the if statement. DROP FUNCTION IF EXISTS tmp_test(integer); CREATE FUNCTION tmp_test( p_id integer ) RETURNS text AS $$ ...
Peter Kroon
Nov 21, 2012 at 11:42 am
Nov 21, 2012 at 12:11 pm -
Hello, We are running 9.2 w/ streaming replication. The slave is used for heavy tsearch based data mining. Apparently depending on the business of the master the slave queries fail with different ...
T. E. Lawrence
Nov 17, 2012 at 2:08 pm
Nov 20, 2012 at 10:25 pm -
Hi, I'm having a hard time figuring out how to use split_part with a carriage return (hex 0a) as the delimiter. Would someone please offer me a clue? Thanks! Jeff Ross
Jeff Ross
Nov 19, 2012 at 7:49 pm
Nov 19, 2012 at 9:09 pm
Group Overview
group | pgsql-general |
categories | postgresql |
discussions | 187 |
posts | 944 |
users | 232 |
website | postgresql.org |
irc | #postgresql |
232 users for November 2012
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)