Search Discussions
-
Hi All, I have just discovered that I can speed up one of my functions by a factor of 600 by changing an unqualified DELETE to a TRUNCATE. Unfortunately, the function is run by multiple users and I ...
Keith Worthington
Feb 22, 2005 at 6:22 pm
Feb 24, 2005 at 10:47 pm -
Hi, Is it possible to import data from a csv file into multiple tables in postgresql database. suppose if I have 2 tables students and departments. And my csv file contains data for both the tables. ...
Deepblues
Feb 27, 2005 at 7:15 pm
Mar 4, 2005 at 2:56 pm -
Hi I have made a user defined type which has a string of variable length and and an integer value. Since the string is of variable length i have used a pointer for the string. When i use this type as ...
Kjetil Haaland
Feb 23, 2005 at 1:00 pm
Feb 24, 2005 at 7:44 pm -
Does anybody have any solid information that says that one language is better as a front end to a PostgreSQL database over another, and why ? We are coming out of a PHP / MySQL environment, have ...
Van Ingen, Lane
Feb 16, 2005 at 8:21 pm
Feb 17, 2005 at 2:51 pm -
Hi, Is there any way to find whether a particular column exists in the table or not based on the column name using sql query? I have a requirement where I need to find whether a column exists in the ...
Rajan Bhide
Feb 9, 2005 at 9:56 am
Feb 9, 2005 at 6:43 pm -
Hi All, Is there a way to find out the namespace id (relnamespace) for your connection? I grabbed this function from one of the list, however it doesn't work for temp tables when multiple connections ...
Michael Guerin
Feb 4, 2005 at 1:16 am
Feb 4, 2005 at 7:28 pm -
I will guess in advance that I'm missing something obvious, but I *think* I need a subselect here and I've never done those. So if anyone has a comment that will point me in the right direction, I'd ...
Rodolfo J. Paiz
Feb 3, 2005 at 7:04 pm
Feb 5, 2005 at 3:46 pm -
Hello List... Newbie question - is it possible to combine the following two queries into one query statement returning, subject, created, topic_id, count? thanks, /j-p. (Query1) SELECT subject, ...
John-paul delaney
Feb 22, 2005 at 10:47 am
Feb 22, 2005 at 10:00 pm -
Hi all When defining records with varchar entries (and at some other places) something like constants would be useful. They could look something like this: DEFINE short = 20; DEFINE long = 2000; ...
Arthur van Dorp
Feb 4, 2005 at 1:30 pm
Feb 4, 2005 at 3:35 pm -
I'm using postgres as the backend of a custom PHP Web application. Text is base64_encode-d in php, then stored in varchar fields in postgres. I'm trying to do this: SELECT * from table where ...
Ross Gohlke
Feb 25, 2005 at 12:49 am
Mar 1, 2005 at 8:39 pm -
i've had to change the data types of several columns in pgadmin3. most of the time, the data type is unavailable (shaded out) and, therefore, i have to delete the whole column and recreate it with ...
Operationsengineer1
Feb 25, 2005 at 8:24 pm
Feb 25, 2005 at 10:26 pm -
In a followup to an earlier question from today from another person, is it possible to create and use a function that takes as input a generic "record"? Specifically, how would I use a function like: ...
Sean Davis
Feb 22, 2005 at 12:26 pm
Feb 22, 2005 at 4:10 pm -
Hi, I'm new to PostgreSql and i'm wondering how to write functions in PL/Perl to INSERT, RETRIEVE, DELETE elements from the tables. I have 3 tables and I have to write functions in perl to populate ...
Deepblues
Feb 14, 2005 at 7:11 pm
Feb 16, 2005 at 1:54 pm -
Hello, I'm trying to calculate the difference between two timestamps and have the return value in minutes. So, for instance: Time 1 = 1/1/2005 12:00 Time 2 = 1/2/2005 12:00 If you subtract Time 1 ...
Sal Dkj
Feb 11, 2005 at 1:49 am
Feb 14, 2005 at 8:54 pm -
Assume I have one table: id name comment 1 stupid blabla 2 idiot blabla These row has been referenced by other table..... Then I add one row to that table, so the table become: id name comment 1 ...
Akbar
Feb 10, 2005 at 5:01 am
Feb 11, 2005 at 7:08 pm -
Hi! On a Red Hat Linux 7.3 system with PostgreSQL 7.3.3, I am having a problem connecting to the database, using PEAR/PHP code in a web page. The code I have worked out so far is: $dsn = ...
Rodolfo J. Paiz
Feb 3, 2005 at 5:33 am
Feb 3, 2005 at 3:38 pm -
I instaled the postgreSQL 8.0 version on windows 2000 advance server. I can do anythin of database in pgadminIII but not from web, when I try to conect with pg_connect it give me an error ---"Call to ...
William Dominguez
Feb 2, 2005 at 2:00 pm
Feb 3, 2005 at 5:27 am -
HI all...This is very urgent ......How cab I transpose a table in postgresql...does it have any buit in SQl feature or functions ...Plz help in this regard.... Regards Ravi Shankar
Ravi shankar
Feb 24, 2005 at 5:54 am
Feb 26, 2005 at 8:08 pm -
Hi All, I have two tables. The first table (tbl_item) contains an item id and it's type. tbl_item item_id | item_type --------+---------- A | DIR B | DIR C | ASY D | DIR E | DIR F | DIR G | ASY The ...
Keith Worthington
Feb 17, 2005 at 3:21 am
Feb 22, 2005 at 5:00 pm -
Hello, If I have a table like : ID COLOR 1 blue 2 red 3 green Could I write a SQL query that would return a single concatenated row for all matching rows, with a specified seperator. For example like ...
A Gilmore
Feb 21, 2005 at 1:38 am
Feb 21, 2005 at 7:25 pm -
Hi All, I have been working on a SQL statement that contains a WHERE clause of the form WHERE column1 column2. The query runs pretty quickly (285ms) without the WHERE clause but slows to a relative ...
Keith Worthington
Feb 19, 2005 at 3:28 am
Feb 19, 2005 at 3:12 pm -
Hi All, I am having difficulty understanding the use of defaults. I have a table with defaults defined in three columns. When I run a function that inserts/or updates records the default value is not ...
Keith Worthington
Feb 14, 2005 at 7:50 pm
Feb 15, 2005 at 2:54 pm -
3
Book
Hello I currently own a copy of "PostgreSQL Developer's Handbook" by Geshwinde and Schonig, 2002. Would this still be good enough to start making databases in the current version of PostgreSQL? I ...Peter Mount
Feb 11, 2005 at 10:01 am
Feb 11, 2005 at 2:12 pm -
Hi..... Imagine I have view named view_stok_table_total.... SELECT * FROM view_stok_table_total; index name sum buying_price sale_price 1 mentos 5 100 120 2 mentos 8 110 140 3 durex 9 200 210 4 queen ...
Akbar
Feb 7, 2005 at 5:23 am
Feb 7, 2005 at 4:26 pm -
Hi All, I'm trying to resolve an issue with the database crashing when under a heavy load. The error is hard to reproduce and happens once or twice a month. It's also been happening since Postgresql ...
Michael Guerin
Feb 1, 2005 at 2:54 am
Feb 7, 2005 at 1:33 am -
Ok, I want to call a sql expression( and or file) from a bat file and pipe the result to a text file. Sounds super simple.. I am trying to use psql but I cannot find a way of passing the password to ...
Oisin Glynn
Feb 2, 2005 at 9:32 pm
Feb 4, 2005 at 2:12 pm -
Hi: One of my tables will store latitude and longitude information. I've checked and I cannot see a datatype for that (which is no surprise, and no loss). However, I can think of three ways to store ...
Rodolfo J. Paiz
Feb 4, 2005 at 12:31 am
Feb 4, 2005 at 1:45 pm -
Hello, I was wondering whether it is worth for me to learn PL/Pgsql, given the support of Python in Postgresql. The latter (Python) is the only programming language I've learned voluntarily in my ...
Wolfgang Keller
Feb 27, 2005 at 3:59 pm
Mar 4, 2005 at 12:49 pm -
Hello I have an old Clipper 5.1 based application. I would like to change dbase to postgresql without change program's businsess logic only database connect. Is it possible? Joe ALL-NEW Yahoo! ...
Mester József
Feb 23, 2005 at 10:27 am
Feb 23, 2005 at 10:31 pm -
Hello List... Given Sean's answer above, I then managed the simple part to get the author name from another table, but was stumped when I thought it would be better to return the created date of the ...
John-paul delaney
Feb 22, 2005 at 2:21 pm
Feb 22, 2005 at 2:52 pm -
Hi I have created my own user defined type, and an operator class for this type. Then i can use the order by clause with this type, but it is sorting with the lowest value on top. Is it possible to ...
Kjetil Haaland
Feb 21, 2005 at 2:15 pm
Feb 21, 2005 at 4:43 pm -
Hello all, I am rather new to Postgres (been using for about 5 months) and am having a slight issue with postgresql and it starting up. I am running Debian GNU/Linux Woody 3.0, on a self-built server ...
Daniel Blavos
Feb 16, 2005 at 12:44 am
Feb 16, 2005 at 5:18 am -
How do I tell / where do I look to find out whether our installations of PostgreSQL that I have was installed with JDBC or ODBC? I need the answer for: - version 8.0 Windows - version 8.0 Linux
Van Ingen, Lane
Feb 15, 2005 at 4:26 pm
Feb 15, 2005 at 5:23 pm -
I am trying to find the pg_hba.conf file in my server; it is Linux Red Hat 9, I have pgadminIII from windows client but I can´t find the file, Can you help me please ? Thanks in advance Sincerely, ...
Luis Cuenca
Feb 4, 2005 at 9:37 pm
Feb 9, 2005 at 6:24 pm -
Is there a way to see how many rows of a table have been processed by an update? I've got an update on a 13,000,000 row table that's been running for five days now. Five days is a good long time, ...
Colin McGuigan
Feb 7, 2005 at 2:57 pm
Feb 7, 2005 at 6:41 pm -
I've got a table with the following schema: Phone_num latlon location_when Each row holds a user's phone number, their location, and the time they were at that location. There can be up to 120 rows ...
Schuhmacher, Bret
Feb 7, 2005 at 11:34 am
Feb 7, 2005 at 2:37 pm -
I have a column in my table block_sizes(varchar) that looks like: 12,23, 234,23, 78,64,28, i.e., comma-separated integer values (and the included trailing comma). I would like to convert these each ...
Sean Davis
Feb 5, 2005 at 4:12 pm
Feb 5, 2005 at 5:10 pm -
Hello all - I know I reported everything was fine the other day on this, but something strange happened... My Linux box (Fedora Core 3) crashed and wouldn't reboot; the bios said it couldn't find a ...
Schuhmacher, Bret
Feb 3, 2005 at 3:28 pm
Feb 3, 2005 at 4:45 pm -
Dear all, This is my first post. 2 questions: 1. How can I script the above so passwords aren't asked for? 2. Is bash or perl better, i.e. should I need DBI? Thanks. -- Kind Regards, Gavin Henry. ...
Gavin Henry
Feb 3, 2005 at 9:53 am
Feb 3, 2005 at 2:39 pm -
does anybody use this technique? it is supported by pgsql, however, setting it up isn't intuitive to this newbie. ------------------------- http://phplens.com/lens/adodb/tips_portable_sql.htm When ...
Operationsengineer1
Feb 2, 2005 at 8:22 pm
Feb 2, 2005 at 8:42 pm -
I try to drop some constraint.... it said ERROR: cannot drop constraint blablabla on table blablabla because other object depend on it... HINT: blablabla How do I know which object depend on this ...
Akbar
Feb 2, 2005 at 9:41 am
Feb 2, 2005 at 3:49 pm -
1
Boolean
hi all, i have a question about booleans. i heard that a boolean takes more processing power than setting an integer as 1 or 0 and coding around those values. is this really an issue anyone will ...Operationsengineer1
Feb 25, 2005 at 8:02 pm
Feb 25, 2005 at 8:12 pm -
Does anyone know if Postgres supports some form of: insert into mytable(column1,column2) values ('a','b') returning mytable_pk into :new_mytable_pk Where 'mytable_pk' is defaulted to type of SERIAL? ...
John Napiorkowski
Feb 23, 2005 at 6:11 am
Feb 23, 2005 at 9:00 am -
I'm trying to copy into a table from a file, and postgres is complaining about a float value.... The table is as follows: smallint, smallint, int, smallint, smallint, integer, float8 And the data ...
Dan Quaroni
Feb 18, 2005 at 3:05 pm
Feb 23, 2005 at 8:18 am -
Hi Not sure if this belongs in novice or somewhere a bit 'higher' but I'll stick it here anyway. I'm running a series of PHP scripts through postgre 7.3.4 at college to create an online portfolio ...
A K
Feb 17, 2005 at 5:06 pm
Feb 23, 2005 at 7:14 am -
I have a function with 3 parameters (select clause, where clause and order by clause (last two are optionally clauses). This clauses apply to a given table. For example, the table table1 and the ...
Stefan Ardeleanu
Feb 22, 2005 at 2:13 pm
Feb 22, 2005 at 10:28 pm -
I created the following statement: CREATE TYPE get_item_info_type AS (full_name varchar(300),dob varchar(300)); CREATE OR REPLACE FUNCTION sp_items(int8) RETURNS get_item_info_type AS ' DECLARE in_id ...
Chari Clark
Feb 17, 2005 at 8:35 pm
Feb 21, 2005 at 6:39 am -
how do you enter files of images such as jpeg and bitmaps in postgresql. thanks
Ramon Orticio
Feb 17, 2005 at 7:04 am
Feb 17, 2005 at 1:02 pm -
I just installed (for the 4th time) Postgresql 8.01 on WinXP SP1. Each time, the same thing happens. When I use pgAdminIII to connect to the default database server, I get the following error: "An ...
Apocalypznow
Feb 11, 2005 at 11:12 pm
Feb 16, 2005 at 11:43 pm
Group Overview
group | pgsql-novice |
categories | postgresql |
discussions | 88 |
posts | 293 |
users | 101 |
website | postgresql.org |
irc | #postgresql |
101 users for February 2005
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)