dbTalk Databases Forums  

Sponsored Links


mailing.database.pgsql-sql mailing.database.pgsql-sql


Discuss in the mailing.database.pgsql-sql forum.



Post New Thread
Threads in Forum : mailing.database.pgsql-sql Forum Tools
  Rating Thread / Thread Starter Last Post Reverse Sort Order    Replies         Views     
Hi Everybody ! I'm just wondering what is really better in terms of performance ... I have a large function that makes many things, and I must...
Charles N. Charotti
06-15-2011 10:40 AM
Charles N. Charotti Go to last post
0 16
This is a follow-up to an old message by Tom Lane: http://archives.postgresql.org/pgsql-sql/2006-10/msg00080.php In ORMs like NHibernate, there are...
Patrick Earl
06-14-2011 08:01 PM
greg.fenton Go to last post
1 17
Can anybody tell me why this doesn't work? pgslekt=> CREATE SEQUENCE sources_source_id_seq START WITH (SELECT MAX(source_id) FROM sources); ERROR: ...
Leif Biberg Kristensen
06-14-2011 09:00 AM
Florian Weimer Go to last post
9 13
In a PL/pgSQL function, I need to extract column/value pairs from a table ignoring some of the columns. The excluded column names have previously...
Tarlika Elisabeth Schmitz
06-13-2011 02:04 PM
Tarlika Elisabeth Schmitz Go to last post
0 18
I have a table that, at a minimum, has ID and timestamp columns. Records are inserted into with random IDs and timestamps. Duplicate IDs are...
lists-pgsql@useunix.net
06-12-2011 04:50 PM
Gavin Flower Go to last post
15 25
Hey folks, I am still slogging away on my pet project, and I'm giving up - I need help from the experts to try to get this function working like I...
C. Bensend
06-11-2011 05:18 PM
C. Bensend Go to last post
2 15
Good morning, String array compare command, I forgot how to do it. E.g., create table z_drop(id varchar); insert into z_drop values('{"a1", "a2",...
Emi Lu
06-11-2011 04:59 AM
Jasen Betts Go to last post
1 16
hi, I have a log-table that stores events of users and projects like this ( user_id integer, project_id integer, ts timestamp, event_type integer...
Andreas
06-09-2011 04:22 PM
Edgardo Portal Go to last post
6 17
Hello , do you know how to find a process that is locking a table ? I try to run a vacuum analyze , an it take a state of waiting , I canceled it...
manuel antonio ochoa
06-06-2011 06:21 PM
Scott Marlowe Go to last post
1 20
Is there a way in post-9.0 postgres for one session to determine if a LISTEN channel currently has a backend registered to receive notifications?...
James Robinson
06-01-2011 05:22 PM
Greg Sabino Mullane Go to last post
1 16
postgres 8.3 to 8.4 Open office base 3.2 Ubuntu 9.04 to 10.04 (new install) I recently upgraded from Ubuntu 9.04 to Ubuntu 10.04. Security and...
Dean le Roux
06-01-2011 10:00 AM
Dean le Roux Go to last post
4 14
Can procedural languages be used in rules? I didn't see any examples in the documentation that suggested something like this could be done using...
Kevin Crain
05-31-2011 09:46 AM
Kevin Crain Go to last post
1 14
Hi all, I need to write a function that totally empty a schema. So I have written a TRUNCATE statement for each table and set to 0...
Surfing
05-30-2011 09:45 AM
Rob Sargent Go to last post
4 16
On 2011-05-27, Kevin Crain <kevin.crain1 (AT) gmail (DOT) com> wrote: the problem is the check is running before the trigger. perhaps you can use a...
Jasen Betts
05-30-2011 04:21 AM
Jasen Betts Go to last post
0 16
Hi all, I need to write a function that totally empty a schema. So I have written a TRUNCATE statement for each table and set to 0...
Surfing
05-28-2011 09:16 AM
Surfing Go to last post
0 13
On Fri, May 27, 2011 at 9:15 AM, Emi Lu <emilu (AT) encs (DOT) concordia.ca> wrote: You asked about the "most efficient" but you didn't tell us...
Samuel Gendler
05-28-2011 02:58 AM
Piotr Czekalski Go to last post
1 13
On Fri, 27 May 2011 12:28:51 -0700 Kevin Crain <kevin.crain1 (AT) gmail (DOT) com> wrote: Are you aware that triggers are executed in alphabetical...
Tarlika Elisabeth Schmitz
05-27-2011 02:52 PM
Tarlika Elisabeth Schmitz Go to last post
0 15
I am trying to create a trigger on updates to a table that is partitioned. The child tables are partitioned by month and include checks on a...
Kevin Crain
05-27-2011 02:28 PM
Kevin Crain Go to last post
0 13
Hello, I'd like to have more comments about the following case: . tomcat6 Added more info Solution:
Emi Lu
05-27-2011 11:15 AM
Emi Lu Go to last post
0 17
Hello, I'd like to have more comments about the following case: .. 500KB per PDF file; 30 files per year .....
Emi Lu
05-27-2011 11:12 AM
Emi Lu Go to last post
0 16
A column contains location information, which may contain any of the following: 1) null 2) country name (e.g. "France") 3) city name, region name...
Tarlika Elisabeth Schmitz
05-26-2011 03:40 PM
Tarlika Elisabeth Schmitz Go to last post
15 29
Hello, To save pdf files into postgresql8.3, what is the best column type? bytea, blob, etc? Thank you, Emi --
Emi Lu
05-26-2011 01:07 PM
Ross J. Reedstrom Go to last post
13 22
Hi, Are there any guidelines for deciding whether to 1) create an enum data type or 2) create a table with the set of values and then have...
Seb
05-25-2011 06:08 PM
Seb Go to last post
2 14
Would you mind try: Select VehicleTrimAbbreviated, VehicleTrimAbbreviatedId from VehicleTrimAbbreviated Where vehicleTrimAbbreviated like...
Emi Lu
05-25-2011 05:18 PM
Ozer, Pam Go to last post
15 26
Hi, is there a reason why Not IN-performance is so poor in 9.0.4 compared to 8.4? Ty Jasmin
Jasmin Dizdarevic
05-25-2011 02:49 PM
Robert Haas Go to last post
9 14
I trying to get the next one : pg_dump -h 192.170.1.3 -U User --format custom --inserts --verbose --file \"/root/Desktop/$name .backup\" --table...
manuel antonio ochoa
05-24-2011 09:07 PM
Craig Ringer Go to last post
2 18
The tools "pg_dump" & "pg_restore" are used to extract and re-create databases. Can be used for chores such as deploying from development to...
Basil Bourque
05-24-2011 08:56 PM
Craig Ringer Go to last post
5 15
I have a couple of questions regarding unnest. 1) If I issue a select statement "select unnest(vector1) as v from some_table", I cannot seem to use...
Karl Koster
05-21-2011 10:23 PM
Craig Ringer Go to last post
2 23
I have a couple of questions regarding unnest. 1) If I issue a select statement "select unnest(vector1) as v from some_table", I cannot seem to use...
Karl Koster
05-20-2011 02:13 PM
Karl Koster Go to last post
0 18
Thanks Dave, I came up with the same answer after much googling. I managed to write a trigger to do this and it worked first time :D Then I...
Gary Stainburn
05-19-2011 03:38 AM
Gary Stainburn Go to last post
0 19
Hello, Postgresql8.3, tried: create table test(id, image oid); insert into test values(1, lo_import('apple.jpg')); ERROR: must be superuser to...
Emi Lu
05-18-2011 09:02 PM
Craig Ringer Go to last post
1 16
I have the following tables (individual seat allocation removed to make it simpler) create table coaches ( -- carriages c_id serial...
Gary Stainburn
05-18-2011 07:09 PM
David W Noon Go to last post
1 20
Hi, This probably reflects my confusion with how self joins work. Suppose we have this table: =# SELECT * FROM tmp; a | b ---+--- 1 | 2
Seb
05-17-2011 04:07 AM
Jasen Betts Go to last post
6 22
Hi, I am looking for a way to sort data returned from two tables with the first sort based on a field from table A and the secord sort based on the...
R. Smith
05-14-2011 07:58 AM
Oliver d'Azevedo Christina Go to last post
1 24
Hi all, I have this table id | date | score_count ----+--------------+------------- 13 | 1999-09-16 | 4 13 | 2002-06-27 | ...
Nguyen,Diep T
05-12-2011 05:18 PM
Samuel Gendler Go to last post
2 17
I am curious what is proper ordering for cross joining and joining at all for two tables. I look at the example...
Grzegorz Szpetkowski
05-11-2011 06:19 PM
Grzegorz Szpetkowski Go to last post
0 20
We are converting from Oracle to Postgres. An Oracle script contains this line: select replace(firstname,'"'), memberid, emailaddress from...
Tony Capobianco
05-11-2011 03:53 PM
Lew Go to last post
6 18
Hi, Maybe this is a dumb question but if I have a date field that contains a NULL will it show up when I ask for a where date range for the same date...
John Fabiani
05-10-2011 12:55 PM
Lew Go to last post
9 21
Hello List, I have searched extensively for the following question: Is it possible to view a table which has a column with a foreign key constraint...
fpirotti
05-10-2011 06:49 AM
fpirotti Go to last post
0 19
I wrote a trigger function to convert inserts into updates if the record exists already. - I am not using rules because the table is populated via...
Tarlika Elisabeth Schmitz
05-09-2011 07:17 AM
Tarlika Elisabeth Schmitz Go to last post
0 19
Hi there I am trying to get an example of SET BASED trigger logic with FOR EACH STATEMENT, but I cannot find any example involving the pseudo table...
F. BROUARD / SQLpro
05-09-2011 05:18 AM
Pavel Stehule Go to last post
2 20
Hi, When working with psql via sql.el, multiple prompts accumulate in a single line when sending multi-line input to the SQLi buffer. For example,...
Seb
05-07-2011 05:33 PM
Seb Go to last post
4 24
Hi, I'm playing around with 9.1beta1 and would like to create a table where one column has a non-default collation. But whatever I try, I can't...
Thomas Kellerer
05-07-2011 03:12 PM
Thomas Kellerer Go to last post
4 15
On Thu, May 5, 2011 at 11:06 PM, Tarlika Elisabeth Schmitz <postgresql3 (AT) numerixtechnology (DOT) de> wrote: You need another level of...
Scott Marlowe
05-07-2011 07:52 AM
Lew Go to last post
1 19
I have got a database that needs to be populated, first with historical data, then on a daily basis. Number of entities is small, data volume huge....
Tarlika Elisabeth Schmitz
05-07-2011 04:39 AM
Tarlika Elisabeth Schmitz Go to last post
3 18
Hi there I am trying to get an example of SET BASED trigger logic with FOR EACH STATEMENT, but I cannot find any example involving the pseudo table...
Frédéric BROUARD
05-06-2011 12:14 PM
Frédéric BROUARD Go to last post
0 19
I'll give it another try. :) Is there provision for creating none numeric exclusion constraints on GIST indexes? From my reading of the following,...
Richard Broersma
05-06-2011 09:57 AM
Richard Broersma Go to last post
0 19
Excuse me, The original table is: order*** ID*** value*** ---------------------- 1*** 1000*** 3 2*** 1000*** 5 3*** 1000*** 6 1*** 1001*** 1 2***...
Claudio Adriano Guarracino
05-06-2011 12:41 AM
Claudio Adriano Guarracino Go to last post
2 20
I specified: ALTER TABLE h ADD CONSTRAINT val_h_stats CHECK (NOT (sex = 'f') AND (stats IS NOT NULL)); which was translated to: ALTER TABLE h ADD...
Tarlika Elisabeth Schmitz
05-06-2011 12:06 AM
Tarlika Elisabeth Schmitz Go to last post
0 18
Hello! I have a doubt about a query that I tried to do, but I cant...... This is the scenario: I have a table, with this rows: order*** ID***...
Claudio Adriano Guarracino
05-05-2011 03:24 PM
Oliveiros Go to last post
1 19
Post New Thread

Display Options
Showing threads 451 to 500 of 4152
Sorted By Sort Order
From The
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.