Search Discussions
-
Hi there, could someone drop me a hint on the whys at below? The table: test=# select * from texts; title | a_text --------------+------------------------- A macskacicó | A blah blah macskacicónak. ...
Laslo Forro
Jun 8, 2010 at 8:49 am
Jun 22, 2010 at 8:41 pm -
This statement: UPDATE question_choices SET total_rows = count(*) from care_lesson; returns the following error (which is well-documented): ERROR: cannot use aggregate function in UPDATE LINE 1: ...
John Gage
Jun 1, 2010 at 8:28 pm
Mar 2, 2012 at 3:19 pm -
Hello, I'm running a Debian Lenny box with PostgreSQL 8.4.4 from the backports. I have a question regarding timestamps with time zone. I can't get time zones inserted into my timestamp with time zone ...
Xavier Robin
Jun 30, 2010 at 1:12 pm
Jul 1, 2010 at 7:26 am -
How do I run an operating system command from a stored procedure? In INFORMIX I would use the SYSTEM command, can't see to find the equivalent for POSTGRES. I'm running AIX6.1. Thanks Atif
Atif Jung
Jun 17, 2010 at 2:30 pm
Jun 18, 2010 at 8:12 pm -
Hi, I'm new to the list and have the following situation happening "PostgreSQL 8.4.1, compiled by Visual C++ build 1400, 32-bit" running windows XP sp3 I have an SQL problem that I thought was easy ...
Michael Diener
Jun 2, 2010 at 3:24 pm
Jun 4, 2010 at 12:07 pm -
I have the following query: SELECT * FROM "sales_projects" WHERE (((sales_projects.prospect ILIKE E'%rancho murieta%') OR (sales_projects.prospect_type ILIKE E'%rancho murieta%') OR ...
Kent Thomas
Jun 30, 2010 at 12:29 pm
Jul 2, 2010 at 9:50 am -
7
RI
Hi list, does a Referential Integrity toward a table also acts like an index, or am I obliged to create this index? JY -- But sex and drugs and rock & roll, why, they'd bring our blackest day.Jean-Yves F. Barbier
Jun 24, 2010 at 3:19 am
Jun 24, 2010 at 8:57 pm -
Hello, I'm new to Postgres so I apologize in advance for the simple question.... Why is it when I'm building an empty schema does Postgres consume all the CPU resources? My experience is with ...
Deborah Fuentes
Jun 22, 2010 at 8:40 pm
Jun 24, 2010 at 3:13 pm -
Hi list, Is it safe to leave an internet access to SSL Pg (4096 bits key) or not? -- Honi soit la vache qui rit.
Jean-Yves F. Barbier
Jun 14, 2010 at 8:14 pm
Jun 18, 2010 at 4:18 pm -
Hello everyone When the trigger executes the function which I copy below: IF (TG_OP = 'UPDATE') THEN EXECUTE 'CREATE TABLE '||NEW.nome_tabella||' (ordinativo serial PRIMARY KEY CHECK (nome_tabella = ...
Coviolo
Jun 9, 2010 at 10:37 am
Jun 10, 2010 at 7:31 am -
Battleground was a machine running CentOS 5.5 and the two towers were 2 databases. First, PostgreSQL 8.4.4: scott=# select count(*) from emp e1,emp e2, emp e3, emp e4,emp e5, emp e6; count --------- ...
Mladen Gogala
Jun 8, 2010 at 2:42 am
Jun 8, 2010 at 3:35 pm -
Hi all, I have a question (or more of a guidence request) in regards to PostgreSQL v8.4 Protocol v3 and accessing the database via TCP. Background: part of the summer project that Im involved in I ...
Greg
Jun 28, 2010 at 4:38 pm
Jun 29, 2010 at 2:35 pm -
Hi list people. Okay I've read the documentation. Now it's time to talk to people that actually do this for a living. Mixed case searches, what is the best practice? I'm searching for an account ...
Chris Campbell
Jun 15, 2010 at 3:29 pm
Jun 16, 2010 at 6:21 pm -
Hello all, Im not sure if this is the right list to post this on, so if its wrong please point me in the right direction. I first used the "one-click" installer package for Windows to install ...
Bidski
Jun 30, 2010 at 8:47 am
Jun 30, 2010 at 10:17 pm -
3
escape
debian sid pg 8.4.4-1 =============== Hi list, I read the docs about escaping, but I can't find any other manner to escape than a backslash or to double the single quote: SELECT ...Jean-Yves F. Barbier
Jun 26, 2010 at 9:22 pm
Jun 27, 2010 at 2:38 pm -
Hi there, I am trying to set the --locale for a database but receive 'invalid locale name' Here is the posgresql.conf part: lc_messages = 'en_US.UTF-8' # locale for system error message # strings ...
Laslo Forro
Jun 21, 2010 at 8:28 pm
Jun 22, 2010 at 8:42 am -
Hi, Index was working correctly in 8.4,I have upgraded to version 9 as I require some of the new features and now the index doesn't work. Probably something stupid I have forgotten to do when ...
Darryl Pye
Jun 15, 2010 at 6:53 am
Jun 21, 2010 at 8:03 pm -
Hi. The table is table foo( id integer, x integer); and let the data be id x ===== 1 10 1 20 2 20 3 30 3 10 Now I would like to get the data in a format like this 1 , 10 20 2 , 20 3 , 10 30 where id ...
A B
Jun 17, 2010 at 3:14 pm
Jun 17, 2010 at 3:44 pm -
Hi all, Sorry if this question is a bit basic. I want to be able to have different PGSql db's talking to each other. So, one DB must act like a client, and be able to connect to another one. Do you ...
PGSql User
Jun 15, 2010 at 12:18 pm
Jun 15, 2010 at 1:47 pm -
Hello group, The following is a Hibernate generated statement, select count(*) as y0_ from view_localized_task this_ inner join TASKS nonlocaliz1_ on this_.non_localized_task_id=nonlocaliz1_.TASK_ID ...
Sheng Hui
Jun 7, 2010 at 2:48 pm
Jun 8, 2010 at 12:51 am -
Hello - I am new to PostgreSQL and trying to create a program to update a table, but I am getting syntax errors. Here is my program: ------------------------------------------------------------- -- ...
Alan Simon
Jun 4, 2010 at 7:08 pm
Jun 5, 2010 at 12:42 pm -
Okay, maybe not that simple, but is there a way to transfer a table easily between two databases? The easiest way I can think of is to back-up the table in an sql file and then run the sql file in ...
John Gage
Jun 3, 2010 at 3:29 pm
Jun 4, 2010 at 10:20 am -
The postgres manual states: "In the default mode, statements are committed only when EXEC SQL COMMIT is issued. The embedded SQL interface also supports autocommit of transactions (similar to libpq ...
Atif Jung
Jun 28, 2010 at 2:57 pm
Jul 1, 2010 at 4:30 pm -
Hi, We are using pgool-II version 2.3.2.2 (tomiteboshi)and postgres 8.3.9 and facing the below error while running the select queries in the application side:: ERROR: prepared statement ...
Raghu ram
Jun 28, 2010 at 9:32 pm
Jun 29, 2010 at 7:48 am -
I'm getting an error msg which reads: DECLARE CURSOR can only be used in transaction blocks. does that mean to DECLARE a cursor I must surrond it with a BEGIN & COMMIT work? Atif
Atif Jung
Jun 28, 2010 at 11:27 am
Jun 28, 2010 at 3:46 pm -
On 9.0 beta 2, I have tried to prevent autostart of the database engine via the by the process shown in http://forums.enterprisedb.com/posts/list/2240.page Leaving the file in place and setting the ...
MattK
Jun 24, 2010 at 12:45 am
Jun 26, 2010 at 11:38 pm -
I have some data like this 2010/06/26 Task A:started at 5:30AM:ended 6:00AM Task B:started at 5:30AM:ended 7:00AM Task C:started at 5:45AM:ended 6:00AM Task D:started at 7:30AM:ended 11:00AM ...
Mag Gam
Jun 26, 2010 at 9:55 pm
Jun 26, 2010 at 10:22 pm -
We have a Postgres database that is so huge(images are stored inside the database) that any Pg_dump configuration I tried wouldn't finish. After taking with the software vendor it was decided that ...
Teri Holmes
Jun 24, 2010 at 12:19 am
Jun 25, 2010 at 4:40 pm -
I'm trying to drop an index from called t_sub_ind_1 from table t_submissions using the role update_all. The role has been granted full access privileges on the table from which the index is to be ...
Atif Jung
Jun 24, 2010 at 9:44 am
Jun 24, 2010 at 2:26 pm -
Is it possible to grant a user 'ALL' privileges to all tables in a database in one command? Atif
Atif Jung
Jun 23, 2010 at 9:10 am
Jun 23, 2010 at 10:28 pm -
Hi everyone, How are sequences' state dumped and transferred via pg_dump? I am dumping and restoring a database via pg_dump. In the dump file I have CREATE SEQUENCE and ALTER SEQUENCE commands. The ...
Александър Шопов
Jun 23, 2010 at 7:54 pm
Jun 23, 2010 at 9:54 pm -
The following lines inserts a row into table pending_file +1757 /* Add a row to pending_file */ +1758 EXEC SQL INSERT INTO pending_file +1759 (submission_no, orc, terminal_id, initials, user_id, ...
Atif Jung
Jun 23, 2010 at 10:24 am
Jun 23, 2010 at 12:40 pm -
Hi, Can anyone help me get up and running on Ubuntu 64-bit Server (lucid) OS with PostgreSQL 64-bit and Python 2.6? (Please note that this is all running in a VirtualBox VM however I am not convinced ...
Tom Wilcox
Jun 22, 2010 at 4:53 pm
Jun 23, 2010 at 2:14 am -
Hello there. Perhaps I'm supposed to know this, but how can I run a function on each query result in psql? I run the query select a,b from foo where x=y; and I would like to run the function bar(u,v) ...
A B
Jun 15, 2010 at 11:44 am
Jun 15, 2010 at 12:13 pm -
I created a global temporary table, using the following syntax: [[email protected] tmp]$ psql scott Timing is on. psql (8.4.4) Type "help" for help. scott=# create global temporary table t_emp scott-# on ...
Mladen Gogala
Jun 13, 2010 at 8:54 am
Jun 14, 2010 at 2:31 pm -
Hi, there's a way to set persistently the PROMPT1 and/or PROMPT2 variables? I didn't find anything about this in man pages, i can change them once in psql, but the changes are lost once i quit. ...
Salvatore De Paolis
Jun 14, 2010 at 1:19 am
Jun 14, 2010 at 2:11 am -
I've been searching for a way to do transaction blocks and savepoints within a user defined c function. Apparently the docs state that if an SPI function throws an error, control goes out of the ...
Michael Hadjivassiliou
Jun 9, 2010 at 12:55 am
Jun 9, 2010 at 8:24 pm -
LinkedIn ------------Jeanne Louize Emygdio requested to add you as a connection on LinkedIn: ------------------------------------------ Ammar, I'd like to add you to my professional network on ...
Jeanne Louize Emygdio
Jun 1, 2010 at 12:17 pm
Jun 2, 2010 at 12:12 am -
I have the following SPL written in plperlu which I need help with please. CREATE or replace FUNCTION validatesubmission(submission_num text) RETURNS INTEGER AS $$ $ISIS2_USER = "unknown"; $cmd = ...
Atif Jung
Jun 30, 2010 at 9:00 am
Jun 30, 2010 at 11:58 am -
Hi list, If I give column rights to a user, I can't use a general view for him, which is normal. I read a lot about DBs and some specialists say that I must not give direct data (table) access to ...
Jean-Yves F. Barbier
Jun 27, 2010 at 2:36 pm
Jun 27, 2010 at 2:51 pm -
1
md5
Hi list, As md5 isn't very safe, is it planned to introduce sha-256/sha-512)? JY -- I program, therefore I am.Jean-Yves F. Barbier
Jun 24, 2010 at 6:26 pm
Jun 24, 2010 at 6:34 pm -
I was wondering if someone could comment on any good MSSQL - Postgresql migration tools? I really only need to migrate the schema. I am going from SQL 2000 to current stable postgresql. Thanks! Roy
Morris, Roy
Jun 21, 2010 at 8:29 pm
Jun 21, 2010 at 8:43 pm -
In this fairly gruesome statement: "insert into public.abstract_choices (correct_ans, apache_user, descr_num, pmid, keyword, amer_term, abstr_lacking, abstr_having) select 'false', '$apache_user', ...
John Gage
Jun 16, 2010 at 7:03 pm
Jun 16, 2010 at 10:14 pm -
I've currently built all my code in an AIX environment but now wish to debug my code in MS Visual Studio under Win XP. What ecpg software do I require to do this successfully? Thanks Atif
Atif Jung
Jun 15, 2010 at 1:39 pm
Jun 15, 2010 at 7:49 pm -
I installed PostgreSQL on my Windows 7 64-bit machine. I set my path, classpath as follow: Path: %JAVA_HOME%\bin;%JAVA_HOME%\bin\server Classpath: C:\Program Files ...
Kelvin Lai
Jun 14, 2010 at 7:55 pm
Jun 14, 2010 at 7:57 pm -
Hi list, I must build a kind of ERP and I wonder what's the best DB layout, especially about quotations/orders/delivery orders/invoices/RMAs/credit notes. It must be very scalable (say from 10 ...
Jean-Yves F. Barbier
Jun 12, 2010 at 8:56 pm
Jun 14, 2010 at 2:27 pm -
HI all I am looking for some more suggestions here on ways to use variables in sql scripts to be run on postgresql We have some Sybase reports that needs to be run against a postgresql database using ...
Machiel Richards
Jun 9, 2010 at 11:38 am
Jun 9, 2010 at 11:48 am -
Is it possible to run pl/pgsql in a script, without putting it into a function? I need to run a one-time update to my db. I could easily create a function run it and then drop it, but I’m wondering ...
Tyler Hains
Jun 8, 2010 at 10:11 pm
Jun 8, 2010 at 10:39 pm -
Hello all, We recently migrated one of our products from Oracle to EnterpriseDB's Advanced Server. The Oracle database has tables with BLOB data type. One example is a column where we store html ...
Jayadevan M
Jun 4, 2010 at 6:13 am
Jun 4, 2010 at 10:16 am -
Hi, I want to create a function in plpgsql that must execute a INSERT query on the database. The problem comes in I want to create the query inside the function. Look at the following: CREATE OR ...
Carel Combrink
Jun 3, 2010 at 1:48 pm
Jun 3, 2010 at 2:05 pm
Group Overview
group | pgsql-novice |
categories | postgresql |
discussions | 63 |
posts | 226 |
users | 72 |
website | postgresql.org |
irc | #postgresql |
72 users for June 2010
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)