Search Discussions
-
In a PL/PgSQL function I have the following: ---- execute $l2$ alter table $l2$||ct||$l2$ add check( data =$1::timestamp and data<$2::timestamp and maga=$3 ) $l2$ using rec.d0,rec.d1,rec.maga; ---- ...
Vincenzo Romano
Jan 12, 2010 at 2:09 pm
Jan 15, 2010 at 9:29 am -
Hello, We use PG 8.3. We use pg_dump and pg_restore overnight to create copies of main database for reporting etc. One dump/restore runs at 9 PM, another at 11 PM. Today I discovered that the restore ...
Konrad Garus
Jan 7, 2010 at 10:12 am
Jan 15, 2010 at 9:16 am -
I am not sure whether I am doing the correct benchmarking way. I have the following table ; CREATE TABLE measurement_type ( measurement_type_id bigserial NOT NULL, measurement_type_name text NOT ...
Yan Cheng Cheok
Jan 5, 2010 at 3:36 am
Jan 7, 2010 at 5:02 pm -
Hi all. I'm using the printf() function as seen here: http://wiki.postgresql.org/wiki/Sprintf What I see is that when I call that function with just 1 argument, it's always OK. As here: -- code mp1=# ...
Vincenzo Romano
Jan 22, 2010 at 5:41 pm
Jan 27, 2010 at 4:07 pm -
22
Old/New
Hi I am getting a strange result when using the following - Select fluid_id into fluidid from p_id.processes where new.pump1 = 'True' and old.pump1 = 'False' or old.pump1 is null; The fluid_id return ...Bob Pawley
Jan 21, 2010 at 11:09 pm
Jan 25, 2010 at 6:39 pm -
Hi, I'm trying to figure out how to use an index on an immutable function call in order to speed up queries. I came up with this small test: ---------------------------------------- --create database ...
Philippe Lang
Jan 19, 2010 at 6:59 am
Jan 19, 2010 at 2:47 pm -
Hello, I'm running version 8.4.1 and have a table that appears on listing ( when i run \l ) but i can't drop it. Example: postgres=# \l List of databases Name | Owner | Encoding | Collation | Ctype | ...
Fernando Morgenstern
Jan 8, 2010 at 4:39 pm
Jan 11, 2010 at 2:48 pm -
I'm not getting something about the best way to set up a server using PostgreSQL as a backend for a busy web server running drupal. The postgresql performance folks ...
Jeff Ross
Jan 27, 2010 at 9:59 pm
Feb 13, 2010 at 6:18 pm -
I have deployed PostgresSQL 8.4.1 on a Fedora 9 c1.xlarge (8x1 cores) instance in the Amazon E2 Cloud. When I run pgbench in read-only mode (-S) on a small database, I am unable to peg the CPUs no ...
Mike Bresnahan
Jan 27, 2010 at 9:24 pm
Jan 29, 2010 at 8:07 pm -
all is there a external table create method ( similar to oracle external table ) ? where to find the information ? thanks Amy
Amy Smith
Jan 18, 2010 at 3:27 am
Jan 20, 2010 at 7:57 am -
My problem is that retrieving sorted data from large tables is sometimes very slow in PostgreSQL (8.4.1, FWIW). I typically retrieve the data using cursors, to display them in UI: BEGIN; DECLARE ... ...
Milan Zamazal
Jan 5, 2010 at 10:03 am
Jan 5, 2010 at 8:06 pm -
Hi All, I installed postgres from the enterprisedb-maintained one-click installer at http://www.postgresql.org/download/macosx. However, it starts automatically when the machine boots up, and I'd ...
Chris Withers
Jan 4, 2010 at 8:50 am
Aug 31, 2011 at 4:31 pm -
While looking into a failed check_postgres check, I found a problem with the canonical versions page here: http://www.postgresql.org/versions.rss It only goes back to 8.0, but as far as I know, 7.4 ...
Greg Sabino Mullane
Jan 29, 2010 at 2:40 pm
Feb 11, 2010 at 4:29 pm -
Hi, We are a software publisher searching for a new DBMS for our software. We have more than one hundred installed servers, running Mac OS and a Primebase database. We have spend some time evaluating ...
Martin Flahault
Jan 12, 2010 at 11:46 am
Jan 18, 2010 at 3:34 pm -
Hello, Given that the EU has approved Oracle's acquisition of Sun w/ MySQL it's fairly likely that there may be a number of people and companies looking to move from MySQL to Postgres in the coming ...
Erik Jones
Jan 22, 2010 at 7:39 pm
Feb 3, 2010 at 8:08 am -
Hello, I have a function with three parameters that would populate a table in one schema from another table of the same name in another schema. The tables are dynamically selected at execution time. ...
Aycock, Jeff R.
Jan 27, 2010 at 3:55 pm
Jan 27, 2010 at 5:09 pm -
I haven't been able to find anything better than the online manual and pg source code to learn how to write extensions. I couldn't find a reference of all the function/macros I could use and some ...
Ivan Sergio Borgonovo
Jan 20, 2010 at 2:42 pm
Jan 23, 2010 at 7:43 pm -
Hello, I need to generate unique id which is not guessable unlike serial(integer) type. I need an id in format like md5 hash of random number. On top of that I need this id to be unique across ...
Joe Kramer
Jan 29, 2010 at 8:20 am
Jan 30, 2010 at 1:21 am -
I have 3 tables - lot, unit and measurement 1 lot is having relationship to many unit. 1 unit is having relationship to many measurement. delete cascade is being used among their relationship I try ...
Yan Cheng Cheok
Jan 13, 2010 at 8:09 am
Jan 22, 2010 at 6:16 am -
Hi All - I have query in production and test. The tables in both the environment has the same structure ,indexes and constraints. But the in the test and the prod the explain plan is totally ...
Akp geek
Jan 8, 2010 at 4:11 am
Jan 8, 2010 at 7:44 pm -
Can't help myself, but I've used mysql in the past, and got on a list of some sort once upon a time about that. Just received an email petition from Monty to help save mysql. Certainly you know the ...
Andrew Lardinois
Jan 1, 2010 at 2:20 am
Jan 4, 2010 at 5:41 pm -
Hii am experience slow queries when i run some functions. I noticed the following entries in my server log. From this, can anyone tell me if I need to change some config parmeters? System has 18GB ...
Alex -
Jan 22, 2010 at 4:13 am
Jan 25, 2010 at 9:59 am -
Assuming I have the following table: CREATE TABLE refers ( id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL, parent_id INTEGER NOT NULL, FOREIGN KEY (parent_id) REFERENCES refers(id) ); I need to ...
Ovid
Jan 24, 2010 at 1:43 pm
Jan 24, 2010 at 3:56 pm -
Hello All, When is the release date for Postgres 8.5? Thanks Deepak
DM
Jan 22, 2010 at 8:07 am
Jan 23, 2010 at 4:03 am -
A main issue in my case with the suggested (chapter 5.9) implementation is that child tables need to be created in advance, For a number of reasons (complex partitioning schemas, rows also related to ...
Vincenzo Romano
Jan 20, 2010 at 10:20 am
Jan 21, 2010 at 10:11 am -
We have recently discovered a problem with our slony-1 cluster of 8.1.19 installs. Specifically, we are unable to vacuum a table on the master node; vacuum always hangs on the same index of the same ...
Ben Chobot
Jan 15, 2010 at 5:49 am
Jan 19, 2010 at 2:29 am -
Currently, I have a table which I implement table (measurement) partition policy. http://www.postgresql.org/docs/current/static/ddl-partitioning.html Whenever an item being inserted into measurement ...
Yan Cheng Cheok
Jan 26, 2010 at 10:01 am
Jan 29, 2010 at 12:22 pm -
Hy, can anybody give us a hint if we can use that combination? Thanks, Daniel. -- Daniel Schuchardt /Softwareentwicklung/ /http://www.prodat-sql.de/
Daniel Schuchardt
Jan 13, 2010 at 10:45 am
Jan 13, 2010 at 6:01 pm -
Is there any way of getting psql to display the name of the currently-connected server in its prompt, and perhaps a custom string identifying e.g. a disc set, without having to create a psqlrc file ...
Mark Morgan Lloyd
Jan 8, 2010 at 11:20 am
Jan 9, 2010 at 2:14 pm -
Customer ================== Customer_ID | Name Order ============================== Order_ID | Customer_ID | Price To insert an order, here is what I need to do usually, For example, "John" place ...
Yan Cheng Cheok
Jan 4, 2010 at 8:53 am
Jan 5, 2010 at 11:19 am -
We are going to be setting up a PostgreSQL server on a guest under VMWare ESX 4... Is there any performance improvement by choosing 64bits Linux over 32bits Linux as the guest OS or is it almost the ...
Bjørn T Johansen
Jan 21, 2010 at 7:39 am
Jan 21, 2010 at 3:18 pm -
Hello, Sorry for the poor subject. Not sure how to describe what I need here. I have an application that logs to a single table in pgsql. In order for me to get into our log management, I need to ...
Terry
Jan 18, 2010 at 10:09 pm
Jan 19, 2010 at 2:50 pm -
Is there a way to set a column to be read only? I have a table with several columns with values that are determined by triggers. I want users to be able to view, but never edit them. Thanks
Gauthier, Dave
Jan 17, 2010 at 1:32 am
Jan 17, 2010 at 3:53 am -
Hello dear list members, I have strange problem with my new 8.4 deployment, which I never encountered on previous 8.3 deployment. IOwait values are extremely high exactly when Postgres finishes a ...
Anton Belyaev
Jan 8, 2010 at 6:16 pm
Jan 12, 2010 at 1:22 am -
Hi Everybody. I have two questions. 1. We have a system that is accessed by Crystal reports which is in turned controlled by another (3rd party) system. Now, when a report takes too long or the user ...
Herouth Maoz
Jan 24, 2010 at 10:29 am
Jan 25, 2010 at 1:52 pm -
Hi, In reading the documentation it states that the SQL dump backup does not block other operations on the database while it is working. I presume that while a restore is occurring that no reads or ...
John Mitchell
Jan 21, 2010 at 1:12 pm
Jan 23, 2010 at 7:25 am -
We had WAL Log shipping (warm standby) working fine under 8.1.4 but under 8.3.7 we can't get the slave to come up properly. Nothing has changed in our process with regard to start_backup, rsync, ...
Keaton Adams
Jan 7, 2010 at 8:01 pm
Jan 12, 2010 at 9:27 pm -
Is there a way to know/estimate how much is left to complete a restore? It would be enough just knowing which part of the file is being restored (without causing too much extra IO, that will ...
Ivan Sergio Borgonovo
Jan 8, 2010 at 10:28 am
Jan 12, 2010 at 6:47 am -
Hi everyone, I am using postgresql 8.3-beta3. I have a table 'test' with three fields: sid data date 1 1.1 2009-09-01 1:00:00 1 2.1 2010-01-01 1:00:20 2 3.1 2009-09-01 1:00:10 2 0.1 2010-01-01 ...
Zxo102 ouyang
Jan 9, 2010 at 4:43 pm
Jan 12, 2010 at 5:55 am -
I know I can convert SQL timestamp to unix timestamp, using the following way. SELECT extract(epoch FROM now()); Now, I have a stored procedure function, which will directly return a table row to the ...
Yan Cheng Cheok
Jan 11, 2010 at 6:16 am
Jan 11, 2010 at 12:31 pm -
Is there any nice way to do something like that in plpgsql: EXECUTE 'INSERT INTO '||partition_table_name||' VALUES'||(NEW.*)||''; It would probably work, but some values are NULL, and plpgsql ...
Grzegorz Jaśkiewicz
Jan 8, 2010 at 2:56 pm
Jan 10, 2010 at 1:05 am -
Is it possible to set postgres in case insensitive mode ? If so, how? Thanks / Moe
Moe
Jan 29, 2010 at 9:52 pm
Feb 1, 2010 at 5:54 pm -
Hello, I observed the event that CPU utilization of the process related to postgres records almost 100% for unknown reason. It would be appreciated if any of you provide any information on this. The ...
Hashimoto Yuya
Jan 25, 2010 at 4:19 am
Jan 27, 2010 at 1:10 pm -
Hi folks, I have a simple script file db : #!/bin/bash pg_dump -U postgres prodDB /var/a/db/$(date "+%Y-%m-%d_%H:%M")-prodDB.dump ---------- Which works fine when executed manually ( ./db ).. I get a ...
Moe
Jan 26, 2010 at 4:54 pm
Jan 26, 2010 at 10:37 pm -
Our setup is a real valid one. Looks like it has to do more with remote connections. Any idea? Thanks Danny
Abraham, Danny
Jan 25, 2010 at 3:39 pm
Jan 26, 2010 at 2:24 am -
Hi, everyone: First I can successful run this query:select name, ts_rank_cd(vectors, query) as rank from element, to_tsquery('item') query where query @@ vectors order by rank desc;But actually I ...
Xu fei
Jan 24, 2010 at 1:21 am
Jan 25, 2010 at 11:30 pm -
I'm having difficulties with one of my 8.1.19 installs. log_min_duration_statement is currently set to 500. I would like to change it to 0. Changing it in the config file and sending a HUP to the ...
Ben Chobot
Jan 19, 2010 at 9:28 pm
Jan 19, 2010 at 11:36 pm -
Hi, I'm trying to make constraint exclusion work correctly in a query with only one parameter, but I have some issues. Please have a look at the scenario below and tell me how I can improve it. ...
Mathieu De Zutter
Jan 16, 2010 at 6:02 pm
Jan 17, 2010 at 9:49 pm -
to_tsquery and plainto_tsquery produce AND tsquery 'apple banana orange' - 'apple' & 'banana' & 'orange' I can't see anything that will produce OR tsquery. 'apple banana orange' - 'apple' | 'banana' ...
Ivan Sergio Borgonovo
Jan 16, 2010 at 2:32 pm
Jan 17, 2010 at 6:28 pm
Group Overview
group | pgsql-general |
categories | postgresql |
discussions | 264 |
posts | 1,351 |
users | 287 |
website | postgresql.org |
irc | #postgresql |
287 users for January 2010
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)