Search Discussions
-
Hi all, I'm (still) working on an application to regularly populate my database with some data provided from a third party DB. I'm still having really bad performance problems. There are 300,000 ...
John Taylor
May 22, 2002 at 2:06 pm
May 27, 2002 at 7:43 pm -
I found, on http://www.argudo.org/postgresql/soft-tuning-10.html my answer. (Excellent site btw) What I need to do is prefix my SELECT statements for this table with the statement : SET ...
Gerry Smit
May 15, 2002 at 5:23 pm
May 17, 2002 at 6:50 pm -
I am writing timestamps to file and the formatting is currently 2002-06-06 00:00:00.0. Is there a function to only write the date and also to format it something like MM/dd/yyyy ? Thanks Tom
Tom Ansley
May 3, 2002 at 7:38 pm
May 11, 2002 at 5:17 pm -
Hello list... One column in my table contains email addresses - I want to check that any value entered contains a '@'. How do I create a CONSTRAINT or CHECK to ensure this when creating the table? ...
John-paul delaney
May 12, 2002 at 5:07 pm
May 16, 2002 at 8:36 pm -
Hi, Currently, I've got a python script using pyPgSQL that parses the CSV record, creates a string that is a big "INSERT INTO VALUES (...)" command, then, execute() it. top shows that this method ...
Ron Johnson
May 21, 2002 at 10:28 pm
May 22, 2002 at 10:19 pm -
Hello, If the csv file generated by the application that I am importing from contains quotes around each field, must I write a program to strip these "field-level" quotes before sending the file to ...
Ron Johnson
May 19, 2002 at 11:01 am
May 20, 2002 at 12:18 am -
Hi, I need to write a query that returns the number of rows currently stored in a table. I presume that I issue a query against the system tables, but don't know which one(s) to do this against. So a ...
Tony Griffiths(RA)
May 30, 2002 at 12:02 pm
May 30, 2002 at 2:36 pm -
Hi, As you can see, I "VACUUM VERBOSE ANALYZE" my table, describe the index on the table, then try to find the max() value of the indexed field. However, EXPLAIN still shows that the query wants to ...
Ron Johnson
May 24, 2002 at 1:14 pm
May 25, 2002 at 8:19 pm -
Sorry - I seem to be bombarding the list. I AM reading my copy of Bruce Momjian's book quite closely, I promise! I'm trying to make a rule to automatically update the time, date and timestamp ...
Rory Campbell-Lange
May 23, 2002 at 1:38 pm
May 24, 2002 at 3:13 pm -
Using PostgreSQL 7.2 with PHP 4.1.2, I would like to use the UPDATE function to add values to a field in a row that already has a value or values, i.e.: in a field named 'sponsor', the current value ...
Andre Dubuc
May 8, 2002 at 10:33 am
May 8, 2002 at 9:24 pm -
Hi, unfortunately I have forgotten the mpassword of the master user of a db. Is there a way to retrieve it using the user who owns the db template1? Thx Thiemo -- Thiemo Kellner Tösstalstrasse 146 ...
Thiemo
May 19, 2002 at 8:15 am
Aug 16, 2002 at 12:33 pm -
Hi all I'm trying to find documentation for postgres/plperl. the online postgres documentation has only two examples in it and i am struggling to find any more that i can make sense of. also most of ...
Duncan Adams (DNS)
May 22, 2002 at 11:43 am
May 23, 2002 at 9:04 am -
Hi everyone. I am new to this list, and a real novice with databases. A while back I created a database using postgres 7.03 in Mandrake 7.2. It is a catalog for all my books. Although not really ...
Brian Schroeder
May 8, 2002 at 2:23 am
May 12, 2002 at 11:31 pm -
I have had a number of years experience with Oracle. I am considering using Postgresql but while there is an enourmous amount of documentation available, none of it seems to answer some questions ...
Peter Goggin
May 9, 2002 at 1:47 pm
May 9, 2002 at 5:38 pm -
Hi, I'm working on an application, the user enters the customers id or their firstname or their lastname or their firstname and lastname. The problem is when they enter their firstname AND their ...
Sharon Cowling
May 8, 2002 at 5:07 am
May 8, 2002 at 10:37 pm -
I have found some errors in my pgsql error file: FATAL 1: Database :"template0" is not currently accepting connections ERROR: Relation 'visits'does not have attribute 'path' ERROR: Bad boolean ...
PJourdan
May 1, 2002 at 2:58 pm
May 2, 2002 at 8:22 pm -
I have the task of designing the office fantasy football system to run on our intranet. The fantasy football game is a game centering around the world cup football tournament. The game is to make up ...
Rory Campbell-Lange
May 29, 2002 at 10:53 am
May 30, 2002 at 10:36 am -
Hi, I am using the copy command to create a .csv file, how do I include the table headings, or headings of my choice? The purpose of this paticular .csv file is to enable the users to download data ...
Sharon Cowling
May 25, 2002 at 11:38 pm
May 28, 2002 at 6:27 am -
Hi all, I'm trying to use a case statement with a boolean value. i.e. if the value = false then output 'NO', if value = true then output 'YES'. This is what I came up with CASE booking.quiz WHEN ...
Tom Ansley
May 24, 2002 at 3:56 pm
May 24, 2002 at 7:01 pm -
Thanks to everyone on the list I'm up and running with postgres. I'm having trouble doing a query: table a | table b ------------------------------ id data | id ------------------------------ 1 2 | 2 ...
Rory Campbell-Lange
May 23, 2002 at 6:56 pm
May 24, 2002 at 5:23 pm -
Howdy, I'm trying to import data from an external database that has the date formatted as such: 2002-05-20 00.00.01. When I try to import the data, I get the Bad Timestamp external representation ...
Patrick Hatcher
May 23, 2002 at 10:42 pm
May 24, 2002 at 2:50 pm -
Hi, More generically, how do I best guarantee that any large varchar is unique before inserting? In my application, I need to ensure that each e-mail address and corresponding PGP public key are both ...
Andre
May 20, 2002 at 10:10 pm
May 21, 2002 at 12:53 pm -
Hi list, Is there a way of casting from a varchar to a numeric type? My problem consists of a varchar(10) that are all numeric. They are telephone numbers and I want to convert them during a select ...
Tom Ansley
May 16, 2002 at 3:49 pm
May 16, 2002 at 5:47 pm -
Hello folks, I wrote my first plpgsql-functions for PostgreSQL 7.1.3. I try to convert Ascii-Strings in HTML-conform Strings (Converting 'Äquator' - 'Äquator') ... Now I get a error message like ...
Hans Plum
May 7, 2002 at 11:20 am
May 7, 2002 at 5:27 pm -
I am trying to install PostgreSQL 7.2 under Redhat The installation seems to work without problems. However, when I try to start the program I encounter the following error message There is no such ...
Kristian Skrede Gleditsch
May 3, 2002 at 12:22 am
May 6, 2002 at 3:17 pm -
Hi, I used ./configure --prefix=/home/metaperl/install/pgsql to install postgres and then I did initdb and createdb and started the postmaster just fine. However, attempting to connect via psql is ...
Terrence Brannon
May 2, 2002 at 12:34 pm
May 2, 2002 at 9:56 pm -
I want to run a SQL script in my crontab job which requires using psql without having to input password every time. I am running postgresql 7.2. What is the trick? Thank you. -- Wei Weng Network ...
Wei Weng
May 29, 2002 at 7:56 pm
May 30, 2002 at 9:10 pm -
Is there any reason to have databases -not- owned by the users: Postgres or root? Thanks! -- Jillian
Jillian Carroll
May 29, 2002 at 10:25 pm
May 30, 2002 at 3:44 pm -
Hi everyone, Here's a strange little problem. A few days ago I wanted to delete a column from my table named 'event'. I followed the advice in the FAQ (select old data into new table minus the column ...
Tim Wilson
May 28, 2002 at 5:35 pm
May 28, 2002 at 7:25 pm -
Greetings All, I've run into a spot where I think I could use a subselect but I'm not sure how I would (or if I can). This is a simple table which holds strings and their translated counterparts. ...
Adam Erickson
May 27, 2002 at 4:43 am
May 27, 2002 at 7:53 am -
Since the cluster command causes so many hassles with PL/pgSQL functions, triggers, constraints, indexes etc I'm asking if this spot of SQL emulates the expected behaviour: CREATE TABLE SoSIDs ( ...
Joshua b. Jore
May 24, 2002 at 10:28 pm
May 24, 2002 at 11:46 pm -
Gentle Wizards, My PostgreSQL 6.5.3 database is having a serious problem. I have a backup utility that writes backup sets to tape. When a set is written, it is stored as an entry in a table, "sets". ...
Kevin Sterner
May 21, 2002 at 10:27 pm
May 22, 2002 at 3:27 pm -
Hi folks. We're having a baffling time with Postgres 7.1 I have 4 databases (central, atlantic, quebec, western) with 2 tables each (policy_cross_reference (_d or _b)). The Central tables have about ...
Gerry Smit
May 15, 2002 at 2:36 pm
May 16, 2002 at 5:23 pm -
Saw some recent discussions about schemas (hacker email sent to another list I read). What are schemas? I have a general/vague idea, but would like to better understand it.
Francisco Reyes
May 1, 2002 at 2:17 am
May 12, 2002 at 2:10 am -
Hello, Just getting started with postgres. Is there an equivalent sql command to insert multiple rows? In mysql it's: insert into table (a,b,c) values (1,2,3), (4,5,6); I exported 6000 rows from ...
G
May 4, 2002 at 10:36 pm
May 10, 2002 at 5:57 pm -
Hello, I have a table with over 1.000.000 records. I'd like to limit the maximum number of records to display, so if one my users opens the whole table, he will see only for example 1000 records. If ...
Wim
May 3, 2002 at 8:47 am
May 5, 2002 at 12:06 am -
I would like to know if postgresql has the auditing functionality as in Oracle ,and if so its usage. Thanks, Radha Join the world’s largest e-mail service with MSN Hotmail. Click Here
V R
May 30, 2002 at 11:17 am
May 30, 2002 at 3:11 pm -
2
script
Hi all, I'm new to postgreSQL,a dn I'd like to write a script that will insert all my entries (I have almost 800 000 entries)in a pgsql database.so, the question is : which script language can I use, ...Annissa Melhenas
May 24, 2002 at 8:21 am
May 24, 2002 at 1:02 pm -
Hi, While "\d foo" will describe all of the fields and their data types for the table foo, how do I do something similar for an index? test2=# \di i_lane_tx_tmp List of relations Name | Type | Owner ...
Ron Johnson
May 23, 2002 at 11:32 pm
May 24, 2002 at 12:48 pm -
Cristi voinicaru
May 3, 2002 at 6:41 am
May 24, 2002 at 9:38 am -
I'm making a table to hold a queue of incoming and outgoing email messages. I'm confused about using char, varchar or text fields - I imagine they are searchable (without and index) with decreasing ...
Rory Campbell-Lange
May 23, 2002 at 12:05 pm
May 23, 2002 at 7:33 pm -
Hi! I wonder if there is any way to accesing Access97 files using Linux and PostgreSQL. I have Mandrake 8.0. PostgreSQL, ODBC and JDBC drivers installed on it. I would like to use PostgreSQL and drop ...
Victor Manuel Torres Aguirre
May 22, 2002 at 1:47 am
May 22, 2002 at 4:14 am -
Hi all, I'm accessing postgres (7.1) through JDBC. My application performs a number of UPDATEs, and INSERTs to the database. If there are any SQL errors, I catch them and deal with them as ...
John Taylor
May 15, 2002 at 1:34 pm
May 16, 2002 at 1:30 pm -
Greetings, I am relatively new to postgres. I would like to know if there is a data type for file such as image files. In otherwords is there a straignt forward way to place references to ...
Sibusiso xolo
May 16, 2002 at 12:02 am
May 16, 2002 at 5:16 am -
Hi, I have tried looking for cascading changes through multiple tables and don't seem to be able to find anything in the documentation. Can anybody point me in the right direction. I just want to ...
Tom Ansley
May 14, 2002 at 5:06 pm
May 14, 2002 at 9:53 pm -
Just curious if there's a way in Postgres to take an epoch number (UTC) which is stored as a bigint field and convert it to a timestamp. perl does it like so: $ perl -e 'print ...
Doug Silver
May 10, 2002 at 12:30 am
May 12, 2002 at 7:28 pm -
I've been working with Postgres for about 2 years now. I've never had to do anything real advanced until now and I'm having a huge problem with some dates. A long time ago, I thought it would be a ...
John Nix
May 9, 2002 at 7:22 pm
May 9, 2002 at 7:42 pm -
Can anyone tell me why the planner is penalizing me for changing ONE value? explain SELECT l.idsubaccount,1 as status,l.type,l.date,l.units,l.rate,l.total,l.text FROM lineitemsnext l, accounts a, ...
D. Duccini
May 8, 2002 at 12:31 am
May 8, 2002 at 4:44 am -
Is it possible to write a stored procedure which takes a struct as a parameter? I'd like to be able to pass in some info via a struct & return some info via another struct something like this: struct ...
Wendy Powley
May 6, 2002 at 7:05 pm
May 7, 2002 at 7:16 pm -
Hi all i have two areas where i get information for my project. one is obtained from a SNMP walk across our systems and the other is captured by support personal. Now i want to be able to compare a ...
Duncan Adams (DNS)
May 6, 2002 at 2:20 pm
May 6, 2002 at 8:20 pm
Group Overview
group | pgsql-novice |
categories | postgresql |
discussions | 101 |
posts | 362 |
users | 99 |
website | postgresql.org |
irc | #postgresql |
99 users for May 2002
Archives
- August 2013 (95)
- July 2013 (81)
- June 2013 (29)
- May 2013 (56)
- April 2013 (42)
- March 2013 (42)
- February 2013 (104)
- January 2013 (41)
- December 2012 (12)
- November 2012 (61)
- October 2012 (70)
- September 2012 (61)
- August 2012 (94)
- July 2012 (112)
- June 2012 (103)
- May 2012 (127)
- April 2012 (92)
- March 2012 (155)
- February 2012 (120)
- January 2012 (104)
- December 2011 (149)
- November 2011 (125)
- October 2011 (88)
- September 2011 (77)
- August 2011 (86)
- July 2011 (92)
- June 2011 (165)
- May 2011 (125)
- April 2011 (121)
- March 2011 (160)
- February 2011 (116)
- January 2011 (147)
- December 2010 (126)
- November 2010 (195)
- October 2010 (173)
- September 2010 (197)
- August 2010 (160)
- July 2010 (159)
- June 2010 (226)
- May 2010 (158)
- April 2010 (131)
- March 2010 (161)
- February 2010 (204)
- January 2010 (107)
- December 2009 (50)
- November 2009 (193)
- October 2009 (93)
- September 2009 (127)
- August 2009 (244)
- July 2009 (160)
- June 2009 (108)
- May 2009 (135)
- April 2009 (129)
- March 2009 (71)
- February 2009 (56)
- January 2009 (136)
- December 2008 (66)
- November 2008 (104)
- October 2008 (102)
- September 2008 (90)
- August 2008 (78)
- July 2008 (83)
- June 2008 (66)
- May 2008 (82)
- April 2008 (126)
- March 2008 (94)
- February 2008 (140)
- January 2008 (158)
- December 2007 (72)
- November 2007 (128)
- October 2007 (126)
- September 2007 (121)
- August 2007 (132)
- July 2007 (113)
- June 2007 (188)
- May 2007 (157)
- April 2007 (138)
- March 2007 (122)
- February 2007 (169)
- January 2007 (110)
- December 2006 (108)
- November 2006 (152)
- October 2006 (176)
- September 2006 (225)
- August 2006 (327)
- July 2006 (239)
- June 2006 (226)
- May 2006 (260)
- April 2006 (311)
- March 2006 (218)
- February 2006 (278)
- January 2006 (321)
- December 2005 (338)
- November 2005 (245)
- October 2005 (253)
- September 2005 (218)
- August 2005 (287)
- July 2005 (204)
- June 2005 (224)
- May 2005 (322)
- April 2005 (383)
- March 2005 (356)
- February 2005 (293)
- January 2005 (388)
- December 2004 (276)
- November 2004 (279)
- October 2004 (207)
- September 2004 (222)
- August 2004 (333)
- July 2004 (203)
- June 2004 (122)
- May 2004 (148)
- April 2004 (153)
- March 2004 (230)
- February 2004 (215)
- January 2004 (309)
- December 2003 (240)
- November 2003 (214)
- October 2003 (265)
- September 2003 (314)
- August 2003 (321)
- July 2003 (267)
- June 2003 (337)
- May 2003 (344)
- April 2003 (276)
- March 2003 (262)
- February 2003 (304)
- January 2003 (357)
- December 2002 (267)
- November 2002 (265)
- October 2002 (286)
- September 2002 (211)
- August 2002 (196)
- July 2002 (264)
- June 2002 (177)
- May 2002 (362)
- April 2002 (277)
- March 2002 (221)
- February 2002 (285)
- January 2002 (197)
- December 2001 (123)
- November 2001 (233)
- October 2001 (202)
- September 2001 (130)
- August 2001 (144)
- July 2001 (131)
- June 2001 (119)
- May 2001 (156)
- April 2001 (197)
- March 2001 (264)
- February 2001 (147)
- January 2001 (328)
- December 2000 (241)
- November 2000 (207)
- October 2000 (171)
- September 2000 (112)
- August 2000 (159)
- July 2000 (161)
- June 2000 (123)
- May 2000 (47)