Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Sim Zacks
You wrote that either it is not implemented well (catastrophic data losss) or is expensive (Oracle) or it is a monopoly (MSSQL). None of those are easy. Expensive and monopoly don't seem to me to be non-easy, rather undesirable if you don't need to get into it. When someone asks a question abou

Re: [GENERAL] XML path function

2008-01-08 Thread Nikolay Samokhvalov
On Jan 8, 2008 11:21 PM, x asasaxax <[EMAIL PROTECTED]> wrote: > Hi everyone, > >I´m trying to undestand how to do select with xml path. First of all, what is your Postgres version? 8.3 with xml support or older one with conrib/xml2? In case of 8.3, you can find some examples in current docs:

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Joshua D. Drake
Ow Mun Heng wrote: On Tue, 2008-01-08 at 23:05 -0800, Joshua D. Drake wrote: Sim Zacks wrote: The reason companies go with the closed source, expensive solutions is because they are better products. Sometimes, sometimes not. It depends on your needs. This is total FUD. Everything has a pla

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Ow Mun Heng
On Wed, 2008-01-09 at 00:24 -0700, Guido Neitzer wrote: > On 09.01.2008, at 00:14, Ow Mun Heng wrote: > > >> Like, I have a situation where I need multi-master just for > >> availability. Two small servers are good enough for that. But > >> unfortunately with PostgreSQL the whole setup is a major

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Ow Mun Heng
On Wed, 2008-01-09 at 00:21 -0700, Guido Neitzer wrote: > On 09.01.2008, at 00:08, Joshua D. Drake wrote: > > Great! I was just trying to show you that there was a JDBC layer > > available for multi-mastering with PostgreSQL. > > When I find some time, I might dig a bit deeper in the Sequoia s

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Guido Neitzer
On 09.01.2008, at 00:14, Ow Mun Heng wrote: Like, I have a situation where I need multi-master just for availability. Two small servers are good enough for that. But unfortunately with PostgreSQL the whole setup is a major pain in the ... Isn't that the reason they hire DB admins and not t

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Ow Mun Heng
On Tue, 2008-01-08 at 23:05 -0800, Joshua D. Drake wrote: > Sim Zacks wrote: > > > > > The reason companies go with the closed source, expensive solutions is > > because they are better products. > > Sometimes, sometimes not. It depends on your needs. This is total FUD. Everything has a plac

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Guido Neitzer
On 09.01.2008, at 00:08, Joshua D. Drake wrote: Did you even bother to read the page? Actually I tried but typed it in the browser and it resolved directly to continuent.com (which I have as a bookmark) and I wasn't aware of the Sequoia stuff anymore and combined Contiuent with uni/cluster

Re: [GENERAL] Connect to SQL Server via ODBC from Postgresql

2008-01-08 Thread Ow Mun Heng
On Tue, 2008-01-08 at 23:16 -0800, Joshua D. Drake wrote: > Ow Mun Heng wrote: > > On Wed, 2008-01-09 at 08:41 +0200, Sim Zacks wrote: > >> Another way of doing this, without dblink, is using an unsecured language > >> (plpython, for example) is to connect to the sql server using odbc and > >> t

Re: [GENERAL] Connect to SQL Server via ODBC from Postgresql

2008-01-08 Thread Joshua D. Drake
Ow Mun Heng wrote: On Wed, 2008-01-09 at 08:41 +0200, Sim Zacks wrote: Another way of doing this, without dblink, is using an unsecured language (plpython, for example) is to connect to the sql server using odbc and then putting the data into your postgresql. I use perl DBI to connect to both

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Ow Mun Heng
On Tue, 2008-01-08 at 23:37 -0700, Guido Neitzer wrote: > On 08.01.2008, at 23:20, Joshua D. Drake wrote: > Like, I have a situation where I need multi-master just for > availability. Two small servers are good enough for that. But > unfortunately with PostgreSQL the whole setup is a major pa

Re: [GENERAL] Connect to SQL Server via ODBC from Postgresql

2008-01-08 Thread Ow Mun Heng
On Wed, 2008-01-09 at 08:41 +0200, Sim Zacks wrote: > Another way of doing this, without dblink, is using an unsecured language > (plpython, for example) is to connect to the sql server using odbc and then > putting the data into your postgresql. I use perl DBI to connect to both PG and MSSQL.

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Joshua D. Drake
Guido Neitzer wrote: On 08.01.2008, at 23:40, Joshua D. Drake wrote: There are OS level things you can do here. They are normally not really easier and, more important, I don't have them on my deployment environment. http://www.continuent.org/HomePage When I'm talking about two cheap ma

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Joshua D. Drake
Sim Zacks wrote: > That isn't really an extensibility argument. At least not in my mind. > Further I don't know of anyone that can "easily" do it. You either > suffer the possibility of catastrophic data loss (dolphins) or you > suffer guaranteed bank account drainage (Oracle), or you suffer

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Sim Zacks
> That isn't really an extensibility argument. At least not in my mind. > Further I don't know of anyone that can "easily" do it. You either > suffer the possibility of catastrophic data loss (dolphins) or you > suffer guaranteed bank account drainage (Oracle), or you suffer the > willingness of

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Guido Neitzer
On 08.01.2008, at 23:40, Joshua D. Drake wrote: There are OS level things you can do here. They are normally not really easier and, more important, I don't have them on my deployment environment. http://www.continuent.org/HomePage When I'm talking about two cheap machines you recommend

Re: [GENERAL] Connect to SQL Server via ODBC from Postgresql

2008-01-08 Thread Sim Zacks
Another way of doing this, without dblink, is using an unsecured language (plpython, for example) is to connect to the sql server using odbc and then putting the data into your postgresql. Sim Afewtips.com wrote: On Jan 4, 10:08 am, "Afewtips.com" <[EMAIL PROTECTED]> wrote: Hi, I am new to t

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Joshua D. Drake
Guido Neitzer wrote: On 08.01.2008, at 23:20, Joshua D. Drake wrote: That isn't really an extensibility argument. I was thinking about that too - for me, it still is just an outstanding issue with PostgreSQL. It is incredibly scalable on one machine but it totally sucks when you want more,

[GENERAL] Read/Write restriction mechanism

2008-01-08 Thread Naz Gassiep
A tangentially PG related question: In a PHP project I have several functions that I use for DB operations. I only want to allow one of them to write, all the others are for reading only. I was thinking that a way I can enforce this would be to check that the read only ones only have queries w

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Guido Neitzer
On 08.01.2008, at 23:20, Joshua D. Drake wrote: That isn't really an extensibility argument. I was thinking about that too - for me, it still is just an outstanding issue with PostgreSQL. It is incredibly scalable on one machine but it totally sucks when you want more, but not much more.

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Joshua D. Drake
Guido Neitzer wrote: On 08.01.2008, at 17:36, Joshua D. Drake wrote: 2. What types of extensibility (possibly already available in other DBMSs) are currently missing in PostgreSQL? None that I am aware of. Easy multi-master clustering with just two machines. That isn't really an exte

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Guido Neitzer
On 08.01.2008, at 17:36, Joshua D. Drake wrote: 2. What types of extensibility (possibly already available in other DBMSs) are currently missing in PostgreSQL? None that I am aware of. Easy multi-master clustering with just two machines. cug -- http://www.event-s.net ---

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Robert Treat
On Tuesday 08 January 2008 21:31, Gregory Stark wrote: > "Joshua D. Drake" <[EMAIL PROTECTED]> writes: > >> 2. What types of extensibility (possibly already available in > >> other DBMSs) are currently missing in PostgreSQL? > > > > None that I am aware of. > > I'm sure there are some options

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Gregory Stark
"Joshua D. Drake" <[EMAIL PROTECTED]> writes: >> 2. What types of extensibility (possibly already available in >> other DBMSs) are currently missing in PostgreSQL? > > None that I am aware of. I'm sure there are some options available in some databases which Postgres doesn't have. Usually P

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Alvaro Herrera
Joshua D. Drake wrote: > On Tue, 08 Jan 2008 16:28:11 -0800 > Eric Davies <[EMAIL PROTECTED]> wrote: > > 3. To what extent was your choice of PostgreSQL as a development > > platform based primarily on its extensibility features? > > There is no other open source database that can compare

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Rodrigo E. De León Plicet
On Jan 8, 2008 7:36 PM, Joshua D. Drake <[EMAIL PROTECTED]> wrote: > There is no other open source database that can compare with > PostgreSQL's extensibility, reliability and scalability. +1000 ---(end of broadcast)--- TIP 5: don't forget to increa

Re: [GENERAL] Experiences with extensibility

2008-01-08 Thread Joshua D. Drake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 08 Jan 2008 16:28:11 -0800 Eric Davies <[EMAIL PROTECTED]> wrote: > The existing server extensibilities in modern DBMSs have been > critical in our company's development of software products that > improve database performance for certain sc

[GENERAL] Experiences with extensibility

2008-01-08 Thread Eric Davies
The existing server extensibilities in modern DBMSs have been critical in our company's development of software products that improve database performance for certain scientific computing applications. We are planning to develop other products that will utilize an extensible database engine, a

Re: [GENERAL] WHERE vs ORDER BY vs LIMIT why not using the correct index?

2008-01-08 Thread Tom Lane
"D. Dante Lorenso" <[EMAIL PROTECTED]> writes: > I don't understand why the ORDER BY condition would be affecting my > WHERE criteria. Shouldn't the ordering be done after the filter is > first applied? No, not necessarily. The problem you've got is that the planner thinks there are 1473 rows

[GENERAL] benchmarking update/insert and random record update

2008-01-08 Thread Ivan Sergio Borgonovo
I've to sync 2 tables with pk (serial/identity).The source comes from MS SQL, the destination is pg (ODBC is not an option currently). One solution would be to truncate the destination and just copy the new data in it but I prefer a slower sync but avoid a period where no data is available. So I

[GENERAL] WHERE vs ORDER BY vs LIMIT why not using the correct index?

2008-01-08 Thread D. Dante Lorenso
All, I have a simple query: SELECT tcq_id FROM queue q WHERE q.status = 'D' ORDER BY tcq_id ASC LIMIT 1; What I'm trying to do is find all the items in the queue which have a status of 'D' and then select the oldest item first. My data is very skewed such that there are not many re

[GENERAL] XML path function

2008-01-08 Thread x asasaxax
Hi everyone, I´m trying to undestand how to do select with xml path. I have this xml example: create table temp(id integer, xml text, Primary Key(id));

Re: [GENERAL] XML and Routing

2008-01-08 Thread David Fetter
On Tue, Jan 08, 2008 at 06:06:43PM +, William Temperley wrote: > Hi > > Does anyone know if there is an 8.2.X windows build that has xml > support, including the XML datatype and SQL/XML functions such as > xmlagg and xmlelement? No, and there won't be in the future. We don't add features af

Re: [GENERAL] large objects,was: Restoring 8.0 db to 8.1

2008-01-08 Thread Chris Browne
[EMAIL PROTECTED] ("Harald Armin Massa") writes: >> Not likely to change in the future, no. Slony uses triggers to manage the >> changed rows. We can't fire triggers on large object events, so there's no >> way for Slony to know what happened. > > that leads me to a question I often wanted to ask

[GENERAL] XML and Routing

2008-01-08 Thread William Temperley
Hi Does anyone know if there is an 8.2.X windows build that has xml support, including the XML datatype and SQL/XML functions such as xmlagg and xmlelement? I know 8.3 has excellent support for this, however I have a client that requires a routing solution using the PGRouting extension, which onl

Re: [GENERAL] Setting variables equal to elements from an Array

2008-01-08 Thread Tom Lane
cdecarlo <[EMAIL PROTECTED]> writes: > I'm new to pl/pgsql and postgres and I need some help with a part of > my function. In the function I loop through a multidemensional array > ( [n][3] ), once, while inside the loop, I find the index I want to > work with I would like to set a separate variab

Re: [GENERAL] need to dump/restore data for 8.3beta2 -> 8.3RC1 upgrade?

2008-01-08 Thread Tom Lane
rihad <[EMAIL PROTECTED]> writes: > Could you please be more specific? I can't find the steps to jump from > 8.3beta2 to 8.3rc1, only from 8.2 to 8.3. You should be able to just dump and restore. The forced initdb for beta4 was to fix a couple of mistaken system-catalog entries, but it shouldn't

Re: [GENERAL] deadlock priority?

2008-01-08 Thread Sergei Shelukhin
Alvaro Herrera wrote: Sergei Shelukhin escribió: Hi. I have a query that does some batch deletes and inserts into a table. It runs for 2-3 minutes when the application that uses the database is in production with users doing stuff. Recently I have noticed that this query is a frequent victim

Re: large objects,was: [GENERAL] Restoring 8.0 db to 8.1

2008-01-08 Thread Erik Jones
On Jan 8, 2008, at 9:13 AM, Scott Marlowe wrote: On Jan 8, 2008 9:01 AM, Harald Armin Massa <[EMAIL PROTECTED]> wrote: Not likely to change in the future, no. Slony uses triggers to manage the changed rows. We can't fire triggers on large object events, so there's no way for Slony to kn

Re: large objects,was: [GENERAL] Restoring 8.0 db to 8.1

2008-01-08 Thread Scott Marlowe
On Jan 8, 2008 9:01 AM, Harald Armin Massa <[EMAIL PROTECTED]> wrote: > > Not likely to change in the future, no. Slony uses triggers to manage the > > changed rows. We can't fire triggers on large object events, so there's no > > way for Slony to know what happened. > > that leads me to a questi

Re: [GENERAL] Cannot connect to PgPool

2008-01-08 Thread Tatsuo Ishii
Can you provide more info please? - pgpool version(I assume it's pgpool-II since you use 3 PostgreSQL servers) - pgpool.conf Do you get the error right after start psql? Or it only happens after you issue create database command? Also please provide detailed log which can be obtained by using

large objects,was: [GENERAL] Restoring 8.0 db to 8.1

2008-01-08 Thread Harald Armin Massa
> Not likely to change in the future, no. Slony uses triggers to manage the > changed rows. We can't fire triggers on large object events, so there's no > way for Slony to know what happened. that leads me to a question I often wanted to ask: is there any reason to create NEW PostgreSQL databas

Re: [GENERAL] Create Index (Hash) on a Large Table Taking Days...

2008-01-08 Thread Harald Armin Massa
>I have a very large table (~5GB, 100mm rows) on which I am creating an >index on an int4 column: >CREATE INDEX CONCURRENTLY rums_idx2 > ON rums > USING hash > (user_id); Why are you using a hash index on an int4 column? as you have 100mm (mm= Million?) rows, only 1 GIG ram and the column_name i

Re: [GENERAL] PostgreSQL - XML

2008-01-08 Thread Pavel Stehule
Hello yes, new 8.3 supports SQL/XML http://www.postgresql.org/docs/8.3/static/datatype-xml.html http://www.postgresql.org/docs/8.3/static/functions-xml.html Regards Pavel Stehule On 05/01/2008, Joana G. Malaverri <[EMAIL PROTECTED]> wrote: > I like to know if Postgre has an embebed aplicattion

Re: [GENERAL] deadlock priority?

2008-01-08 Thread Alvaro Herrera
Sergei Shelukhin escribió: > Hi. I have a query that does some batch deletes and inserts into a > table. It runs for 2-3 minutes when the application that uses the > database is in production with users doing stuff. > Recently I have noticed that this query is a frequent victim of > deadlocks. Wh

Re: [GENERAL] Restoring 8.0 db to 8.1

2008-01-08 Thread Andrew Sullivan
On Mon, Jan 07, 2008 at 12:58:44PM +0100, Michelle Konzack wrote: > > except he has large objects, which slony can't replicate. > > currently or will this be changed in the future? Not likely to change in the future, no. Slony uses triggers to manage the changed rows. We can't fire triggers on

Re: [GENERAL] Using syslog on pg for Windows

2008-01-08 Thread Goboxe
On Jan 4, 11:22 pm, [EMAIL PROTECTED] ("Jeff Larsen") wrote: > On Jan 4, 2008 8:33 AM, Magnus Hagander <[EMAIL PROTECTED]> wrote: > > > > > > > On Wed, Jan 02, 2008 at 11:17:52PM -0800, Goboxe wrote: > > > Hi, > > > > What are required to be configured in order to send logs to > > > remote syslog s

[GENERAL] Can a stored procedure that creates a temp table be declared STABLE?

2008-01-08 Thread Dennis Brakhane
Hello, I need to write a stored procedure that does look something like this: CREATE FUNCTION foo() RETURNS SETOF BIGINT LANGUAGE plpgsql AS $$ DECLARE result RECORD; BEGIN EXECUTE 'CREATE TEMP TABLE foo (id int,...)'; -- Insert something into foo depending on contents of the data

[GENERAL] deadlock priority?

2008-01-08 Thread Sergei Shelukhin
Hi. I have a query that does some batch deletes and inserts into a table. It runs for 2-3 minutes when the application that uses the database is in production with users doing stuff. Recently I have noticed that this query is a frequent victim of deadlocks. Is there any way to set a deadlock prio

Re: [GENERAL] Connect to SQL Server via ODBC from Postgresql

2008-01-08 Thread Afewtips.com
On Jan 4, 10:08 am, "Afewtips.com" <[EMAIL PROTECTED]> wrote: > Hi, > I am new to this product and don't quite know what can and cannot be > done. > > I need to submit queries to a SQL Server database and create a table > in Postgresql with the results from SQL Server. > > Normally I would do this

Re: [GENERAL] ERROR: catalog is missing 9 attribute(s) for relid 10297

2008-01-08 Thread O'Shea, Brendan
> "Lane, Tom" <[EMAIL PROTECTED]> writes: > > Ugh. Does it work if you do > > export PGOPTIONS="--ignore_system_indexes=1" > > first? If so, the problem would evidently be corruption of > the indexes for pg_attribute, specifically > pg_attribute_relid_attnum_index. It seems pretty su

Re: [GENERAL] ERROR: catalog is missing 9 attribute(s) for relid 10297

2008-01-08 Thread O'Shea, Brendan
"Lane, Tom" <[EMAIL PROTECTED]> writes:> > "O'Shea, Brendan" <[EMAIL PROTECTED]> writes: > >> "Lane, Tom" <[EMAIL PROTECTED]> writes: > >> Ugh. Does it work if you do > >> export PGOPTIONS="--ignore_system_indexes=1" > > > I tried that, but unfortunately pg_dump still fails to run > and the err

Re: [GENERAL] tsearch2 headline options

2008-01-08 Thread Jan Sunavec
Thanks a lot. It helps. On Fri, 04 Jan 2008 16:54:32 +0100, Oleg Bartunov <[EMAIL PROTECTED]> wrote: On Wed, 2 Jan 2008, Jan Sunavec wrote: Hi all I have following problem when I use this select headline('asd asd asd asd asd asd asd asd asd asd asd asd more more more more more more more',

[GENERAL] Connect to SQL Server via ODBC from Postgresql

2008-01-08 Thread Afewtips.com
Hi, I am new to this product and don't quite know what can and cannot be done. I need to submit queries to a SQL Server database and create a table in Postgresql with the results from SQL Server. Normally I would do this with an ODBC driver into SQL Server, but I don't see any references to doing

[GENERAL] PostgreSQL - XML

2008-01-08 Thread Joana G. Malaverri
I like to know if Postgre has an embebed aplicattion to allow transform a sql query and return a xml request. Thanks Joana ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [GENERAL] Need efficient way to do comparison with NULL as an option

2008-01-08 Thread Lew
D. Dante Lorenso wrote: But if I want to find all the items which are not in any folder, I want: SELECT * FROM mytable WHERE folder_id IS NULL; I don't have any folder_id 0, so on a URL I might do this: http://xyz/page.php?fid=123 http://xyz/page.php?fid=0 SELECT * FROM mytable WHE

[GENERAL] Cannot connect to PgPool

2008-01-08 Thread Christopher M Siwy
I have 3 postgresql services running and I have them correctly referenced in the pgpool.conf file. However, I get the following error when I try to create db's to them using the following command: psql -p db_name psql: server closed the connection unexpectedly This probably means the

[GENERAL] Create Index (Hash) on a Large Table Taking Days...

2008-01-08 Thread ProfKheel
I have a very large table (~5GB, 100mm rows) on which I am creating an index on an int4 column: CREATE INDEX CONCURRENTLY rums_idx2 ON rums USING hash (user_id); The process has been running for about two days, and the index has been growing; when I run du i can see that it is ~2GB on the f

[GENERAL] Setting variables equal to elements from an Array

2008-01-08 Thread cdecarlo
Hello, I'm new to pl/pgsql and postgres and I need some help with a part of my function. In the function I loop through a multidemensional array ( [n][3] ), once, while inside the loop, I find the index I want to work with I would like to set a separate variable equal to the element in the array

Re: [GENERAL] need to dump/restore data for 8.3beta2 -> 8.3RC1 upgrade?

2008-01-08 Thread rihad
Hi, all! Subj, as is. Any other pitfalls I should be aware of? Please check the release notes for this information. Could you please be more specific? I can't find the steps to jump from 8.3beta2 to 8.3rc1, only from 8.2 to 8.3. http://www.postgresql.org/docs/8.3/static/release-8-3.html --

Re: [GENERAL] Restoring 8.0 db to 8.1

2008-01-08 Thread Michelle Konzack
Hello Vivek, Am 2007-12-21 15:59:21, schrieb Vivek Khera: > > On Dec 21, 2007, at 11:09 AM, Martijn van Oosterhout wrote: > > >The usual answer is use slony. You can use it to replicate the 8.0 > >server onto an 8.1 server. This may take weeks/months/years/whatever > >to > >synchronise. When t

Re: [GENERAL] need to dump/restore data for 8.3beta2 -> 8.3RC1 upgrade?

2008-01-08 Thread Peter Eisentraut
Am Dienstag, 8. Januar 2008 schrieb rihad: > Hi, all! Subj, as is. Any other pitfalls I should be aware of? Please check the release notes for this information. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)---

Re: [GENERAL] Best way to fix Error: could not access status of transaction?

2008-01-08 Thread Alvaro Herrera
Paul McGarry wrote: > Bearing in mind that I don't particularly need the data in that table > can I simply truncate it or drop/recreate it to clear the above error? Yes, truncate should work. -- Alvaro Herrerahttp://www.CommandPrompt.com/ The PostgreSQL Company -

[GENERAL] RE: [GENERAL] Problema al cargar polígonos

2008-01-08 Thread Albe Laurenz
Pedro Briones García wrote: > Tengo un fichero .SQL generado con SHP2PGSQL a partir de un > fichero SHAPE de polígonos. El problema es que algunos de > esos polígonos están definidos por muchas coordenadas (crean > una sentencia INSERT muy grande). En una instalación de > PostgreSQL/PostGIS se

Re: [GENERAL] many to one of many modeling question

2008-01-08 Thread Sam Mason
On Mon, Jan 07, 2008 at 02:32:26PM -0500, Kevin Hunter wrote: > Something along the lines of > > CREATE TABLE o_1 ( id SERIAL ... ); > CREATE TABLE o_2 ( id SERIAL ... ); > CREATE TABLE o_3 ( id SERIAL ... ); > CREATE TABLE comments ( >id SERIAL, >obj_id INTEGER ... >FOREIGN KEY (obj_

[GENERAL] Problema al cargar polígonos

2008-01-08 Thread Pedro Briones García
Hola a todos. Tengo un fichero .SQL generado con SHP2PGSQL a partir de un fichero SHAPE de polígonos. El problema es que algunos de esos polígonos están definidos por muchas coordenadas (crean una sentencia INSERT muy grande). En una instalación de PostgreSQL/PostGIS se cargan bien. Sin e

Re: [GENERAL] Performance problem. Could it be related to 8.3-beta4?

2008-01-08 Thread Clodoaldo
2008/1/8, Alvaro Herrera <[EMAIL PROTECTED]>: > Clodoaldo escribió: > > 8.2: > > > Trigger for constraint datas: time=14231.240 calls=880691 > > Total runtime: 356862.302 ms > > (12 rows) > > > > Time: 357750.531 ms > > 8.3: > > > Trigger for constraint datas: time=33179.197 calls=877895 > > To

Re: [GENERAL] Announcing PostgreSQL RPM Buildfarm

2008-01-08 Thread Andrew Kelly
On Mon, 2008-01-07 at 12:32 -0800, Joshua D. Drake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, 07 Jan 2008 20:25:45 + > Richard Huxton <[EMAIL PROTECTED]> wrote: > > > Scott Marlowe wrote: > > > On Jan 7, 2008 12:57 PM, Devrim GÜNDÜZ <[EMAIL PROTECTED]> > > > wrote: >

[GENERAL] firewall and resource management was: Memory on 32bit machine

2008-01-08 Thread Ivan Sergio Borgonovo
On Mon, 07 Jan 2008 20:56:49 -0800 "Joshua D. Drake" <[EMAIL PROTECTED]> wrote: > Some people won't like this but... packet shaping and bandwidth > control as well. Isn't there a native way to allocate postgresql resources accordingly to the user? Won't traffic shaping place "on hold" things that