Re: [GENERAL] [BUGS] compatibilty postgres 9.2 RHEL 6.4

2015-03-06 Thread Jaime Casanova
directori *is* compatible if you keep using 9.2 so i would install the right binary from yum.postgresql.org and use existing data directory -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-general mailing list (pgsql-general

[GENERAL] Comparing Oracle vs Postgres Fwd: [ADMIN] Database replication to 50-80 nodes

2013-10-03 Thread Jaime Casanova
-- Forwarded message -- From: Shahzad Bashir shahzadbashir4...@hotmail.com Date: Thu, Oct 3, 2013 at 5:43 AM Subject: RE: [ADMIN] Database replication to 50-80 nodes To: Jaime Casanova ja...@2ndquadrant.com hi, I am very much new to postgres, infact just started... can

Re: [GENERAL] Comparing Oracle vs Postgres Fwd: [ADMIN] Database replication to 50-80 nodes

2013-10-03 Thread Jaime Casanova
On Thu, Oct 3, 2013 at 5:40 PM, Ian Lawrence Barwick barw...@gmail.com wrote: 2013/10/4 Jaime Casanova ja...@2ndquadrant.com: what version of postgres is this? starting in 9.3 you can create foreign tables between postgres databases, before that you can create a foreing server and use

Re: [GENERAL] Postgres replication question :- One master 2 slaves 9.0.10

2013-10-02 Thread Jaime Casanova
On Tue, Oct 1, 2013 at 10:48 PM, Sergey Konoplev gray...@gmail.com wrote: On Tue, Oct 1, 2013 at 6:15 PM, Jaime Casanova ja...@2ndquadrant.com wrote: but it would be a good idea to set hot_standby_feedback to on and max_standby_archive_delay to something larger than 30s Doesn't replica need

Re: [GENERAL] Postgres replication question :- One master 2 slaves 9.0.10

2013-10-01 Thread Jaime Casanova
idea to set hot_standby_feedback to on and max_standby_archive_delay to something larger than 30s -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación Phone: +593 4 5107566 Cell: +593 987171157 -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] [PERFORM] Very slow inner join query Unacceptable latency.

2013-05-23 Thread Jaime Casanova
TO OFF STABLE; -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación Phone: +593 4 5107566 Cell: +593 987171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] [PERFORM] Very slow inner join query Unacceptable latency.

2013-05-21 Thread Jaime Casanova
by the mail client. what version of postgres is this? -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación Phone: +593 4 5107566 Cell: +593 987171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] PostgreSQL limitations question

2012-07-26 Thread Jaime Casanova
the parent it will read the childs too) but for the user they will look as one single table. so even say see limited by table size is not that true from certain point of view maybe: limited by other constraints (or some other words to say that) -- Jaime Casanova www.2ndQuadrant.com

Re: [GENERAL] Promoting sync slave to master without incrementing timeline counter?

2012-06-21 Thread Jaime Casanova
? it's safe as long as you let repmgr do it ;) -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql

Re: [GENERAL] synchronous replication + fsync=off?

2011-11-17 Thread Jaime Casanova
that will guarantee you will lose your master instalation on OS crash and i think to remember that even if the OS doesn't crash there is a risk (altough i can't find the mail saying that) -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via

Re: [GENERAL] Disable Streaming Replication == Stop WAL Sender on master and WAL receiver on Slave

2011-11-01 Thread Jaime Casanova
and to receive), so it will take some time until standby catch up 2) what if the wal segment that was being used when you stopped walsender is reused in master before walsender is reactivated? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent

Re: [GENERAL] about synchronous_standby_names or sync replic

2011-09-22 Thread Jaime Casanova
to on (of course, this SET is a command you send to the server just like any other SQL command) don't forget to reset synchronous_commit or use set local, otherwise you will let this node as the sync rep until disconnect -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y

Re: [GENERAL] postgres table have a large number of relpages and occupied a big memory size

2011-08-05 Thread Jaime Casanova
only one of the table should be in use while Slony is processing the queu of the other and truncate it. but if the slon process are not running those tables start to grow... can you check that the slon processes are running -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL

Re: [GENERAL] postgres table have a large number of relpages and occupied a big memory size

2011-08-05 Thread Jaime Casanova
many dead tuples are looking at the n_dead_tup in pg_stat_all_tables -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] repmgr problem with registering standby

2011-08-01 Thread Jaime Casanova
On Wed, Jul 27, 2011 at 7:24 PM, Toby Corkindale toby.corkind...@strategicdata.com.au wrote: On 28/07/11 03:47, Jaime Casanova wrote: On Wed, Jul 27, 2011 at 4:36 AM, Toby Corkindale toby.corkind...@strategicdata.com.au  wrote: So that looks good, but then I try this on the slave: # repmgr

Re: [GENERAL] Postgres 8.0 upgrade to 9.0

2011-08-01 Thread Jaime Casanova
to Version X.X in the release notes for the above mentioned versions 2)  Do I need to upgrade JDBC driver when I upgrade to postgres9.0. probably but i'm not so sure about it -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql

Re: [GENERAL] eval function

2011-07-30 Thread Jaime Casanova
that support for 8.2 will stop in December 2011, right? http://wiki.postgresql.org/wiki/PostgreSQL_Release_Support_Policy -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] repmgr and archive_mode

2011-07-29 Thread Jaime Casanova
be changed at anytime just reloading archive_mode needs to restart the server. so this is just a good configuration for 24x7 setups -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

Re: [GENERAL] repmgr problem with registering standby

2011-07-27 Thread Jaime Casanova
user=repmgr dbname=repmgr (1 row) this is on the master or the slave? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] [BUGS] Where is pg_create_restore_point funciton in 9.1a2 ?

2011-06-22 Thread Jaime Casanova
display anything (I must force with * to do that). i can confirm this -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] insert a SYSTIMESTAMP value in postgres

2011-06-20 Thread Jaime Casanova
) values (new.request_id, SYSTIMESTAMP ); How can I insert a dynamic timestamp value in postgress, please? Maybe this document can help you http://wiki.postgresql.org/wiki/Oracle_to_Postgres_Conversion -- Jaime Casanova

Re: [GENERAL] How to check a table content efficiently? With LIMIT and OFFSET?

2011-05-29 Thread Jaime Casanova
on that table. My table is a read-only table after all. That's another reason why I'm reluctant using ANALYZE table. sorry, i don't follow that... why do you think that a read-only table doesn't need an ANALYZE? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación

Re: [GENERAL] Remove Modifiers on Table

2011-05-17 Thread Jaime Casanova
to MySQL where this was as easy as running: CREATE TABLE test ( id INT PRIMARY KEY AUTO INCREMENT); in postgres is as easy as CREATE TABLE test( id SERIAL PRIMARY KEY); hey! it's even less keystrokes! -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y

Re: [GENERAL] Query to return every 1st Sat of a month between two dates

2011-05-17 Thread Jaime Casanova
' the final one, replace them with you're own range -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [GENERAL] [HACKERS] PostgreSQL Core Team

2011-04-27 Thread Jaime Casanova
On Wed, Apr 27, 2011 at 1:48 PM, Dave Page dp...@postgresql.org wrote: I'm pleased to announce that effective immediately, Magnus Hagander will be joining the PostgreSQL Core Team. Congratulations! -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación

Re: [GENERAL] shared folder in Hot Standby

2011-04-04 Thread Jaime Casanova
='exit 0' max_wal_senders = number of slaves or greater on slave: === postgresql.conf === hot_standby=on === recovery.conf === standby_mode='on' primary_conninfo = 'host=master_ip' or you can use repmgr to make all this easier: http://projects.2ndquadrant.com/repmgr -- Jaime Casanova         www

Re: [GENERAL] School teacher in need of HELP

2011-03-05 Thread Jaime Casanova
not have to supply a password. Try the command without a password. right. and because the OP is a good reader he should read chapter 19.1 (http://www.postgresql.org/docs/9.0/static/auth-pg-hba-conf.html) and use trust in authentication method -- Jaime Casanova         www.2ndQuadrant.com Professional

Re: [GENERAL] Copying data files to new hardware?

2010-10-13 Thread Jaime Casanova
to reindex) -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] 3rd time is a charm.....right sibling is not next child crash.

2010-06-08 Thread Jaime Casanova
On Tue, Jun 8, 2010 at 12:49 PM, Jeff Amiel jam...@istreamimaging.com wrote: Does Slony manage it's own vacuuming separate from postgres' autovacuum? Yes it does: http://www.slony.info/documentation/maintenance.html -- Jaime Casanova www.2ndQuadrant.com Soporte y capacitación de

Re: [GENERAL] Commit every N rows in PL/pgsql

2010-05-26 Thread Jaime Casanova
in select col_a from t loop update t set col_c = col_a + col_b where col_a = r.a; end loop; return; end; $$ language plpgsql; -- Jaime Casanova www.2ndQuadrant.com Soporte y capacitación de PostgreSQL -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-16 Thread Jaime Casanova
in some lower end versions of our product. why you can't upgrade to say: 8.1.20... it has the same behaviour as 8.1.4 and less bugs... -- Jaime Casanova www.2ndQuadrant.com Soporte y capacitación de PostgreSQL -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] Performance and Clustering

2010-04-28 Thread Jaime Casanova
the fantasy of some one or are there numbers supporting that? if the app is correctly written the connections wiil be taken and relesead as needed then you can use a connection pooler -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil

Re: [GENERAL] How to read the execution Plan

2010-04-22 Thread Jaime Casanova
%2C_and_COUNT http://wiki.postgresql.org/wiki/Using_EXPLAIN -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Unique cosntraint based on contents of a field?

2010-04-07 Thread Jaime Casanova
with say the number 2 or any other single number in that field. create unique index unique_field_idx on table1(field) where field = 1; -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql

Re: [GENERAL] postgres

2010-01-13 Thread Jaime Casanova
On Wed, Jan 13, 2010 at 11:31 AM, Amy Smith vah...@gmail.com wrote: all how to set up  PGTAB file ? any example for PGTAB=/opt/postgres/utilities/conf/pgtab what is pgtab for? and where do you get it? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo

Re: [GENERAL] How to use read uncommitted transaction level and set update order

2009-12-28 Thread Jaime Casanova
for each row execute procedure keep_a_in_b_test1(); -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription

Re: [GENERAL] relation pg_autovacuum does not exist in postgresql 8.4.2

2009-12-22 Thread Jaime Casanova
allowed 2) create pg_catalog.pg_autovacuum with structure it has until 8.3 (i guess if those programs are broken enough to ask for the catalog maybe it is also asking for specific columns of the catalog) 3) Exit and start the service again -- Atentamente, Jaime Casanova Soporte y capacitación de

Re: [GENERAL] AccessShareLock question

2009-12-19 Thread Jaime Casanova
the structure of the table (ALTER, DROP) and with commands TRUNCATE, REINDEX, CLUSTER, and VACUUM FULL, and every select take it -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general

Re: [GENERAL] AccessShareLock question

2009-12-19 Thread Jaime Casanova
? no -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] alter table performance

2009-12-19 Thread Jaime Casanova
automatic... but if you insist in plpgsql you can execute select version() into some_text_var and act acordingly -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] How to use read uncommitted transaction level and set update order

2009-12-19 Thread Jaime Casanova
be 1, you want it to be 4... in an update the columns always hold the old value until the statement is finished, the only way i can think for doing this is with a trigger -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel

Re: [GENERAL] Implementing next 30 (or so) rows sliding window

2009-12-09 Thread Jaime Casanova
?) solution for this, -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] Implementing next 30 (or so) rows sliding window

2009-12-08 Thread Jaime Casanova
, you have to combine that with OFFSET -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] [HACKERS] New PostgreSQL Committers

2009-12-07 Thread Jaime Casanova
On Mon, Dec 7, 2009 at 5:49 AM, Dave Page dp...@pgadmin.org wrote: The new committers are: Robert Haas Simon Riggs Greg Stark ITAGAKI Takahiro Congratulations! +1 -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador

Re: [GENERAL] auto truncate/vacuum full

2009-10-28 Thread Jaime Casanova
-- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Help interpreting pg_stat_bgwriter output

2009-08-19 Thread Jaime Casanova
) equal or (better) lower than buffers_clean, rigth? or i'm understanding wrong? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] ERROR: syntax error at or near IF... why?

2009-05-01 Thread Jaime Casanova
COMMIT nor ROLLBACK; if you aren't inside a server-side function then you cannot use IF -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

Re: [GENERAL] BUMP: Using foreign key constraint to eliminate unnecessary joins in view

2009-04-13 Thread Jaime Casanova
be exactly one match. Am I just missing something obvious, or does postgresql (currently) not do that? postgres will look at all tables involved, i think there is work to make it smart enough to make what you describe but that's in the future... -- Atentamente, Jaime Casanova Soporte y

Re: [GENERAL] Rollback of Query Cancellation

2009-01-27 Thread Jaime Casanova
the ROLLBACK never executed based on... reponse time? very unscientific (there are plenty other reasons for that to happen) [1] http://www.postgresql.org/docs/8.3/static/tutorial-transactions.html -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas

Re: [GENERAL] Rollback of Query Cancellation

2009-01-27 Thread Jaime Casanova
On Wed, Jan 28, 2009 at 12:56 AM, Abdul Rahman abr_...@yahoo.com wrote: What do the logs show? Message just showed the time it took to delete certain number of records. can you show that message? copy 'n pasted from logs!! -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL

Re: [GENERAL] Rollback of Query Cancellation

2009-01-27 Thread Jaime Casanova
starting up again none of these are saying the time for some records being deleted, read my prior post about why is not possible that message (commit never executed) -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel

Re: [GENERAL] Rollback of Query Cancellation

2009-01-27 Thread Jaime Casanova
are all executed inside a transaction then they all were rollback if not only the last one (the one that generates the error) was rolledback -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql

Re: [HACKERS] Re: [GENERAL] Question regarding new windowing functions in 8.4devel

2009-01-16 Thread Jaime Casanova
4; ERROR: syntax error at or near WHERE LINE 8: WHERE ^ the WINDOW specification goes after the WHERE clause not before -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql

Re: [GENERAL] Indexing columns with low cardinality: persistent bitmap indexes?

2009-01-12 Thread Jaime Casanova
-- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] explain

2009-01-07 Thread Jaime Casanova
triggers que tenga una tabla -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] explain

2009-01-07 Thread Jaime Casanova
can use list pgsql-es-ayuda (http://archives.postgresql.org/pgsql-es-ayuda/). oops! i answered in spanish too! i never saw the list it was sent to... -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157

[GENERAL] monitor effectiveness of fillfactor and vacuums

2008-12-16 Thread Jaime Casanova
Hi, currently i'm trying to $SUBJECT, my actual approach is to look at n_tup_upd and n_tup_hot_upd assuming the more near they are the better... is that a good assumption? what else can i see? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas

Re: [GENERAL] [ADMIN] Urgente error in restore prod

2008-12-15 Thread Jaime Casanova
this error can you show what were you doing? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

[GENERAL] shared disk failover

2008-12-07 Thread Jaime Casanova
Hi, any one has doing this... is there a good tutorial o directions for it? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] about privileges on pg_stat_activity columns

2008-12-04 Thread Jaime Casanova
On Thu, Dec 4, 2008 at 4:02 AM, Richard Huxton [EMAIL PROTECTED] wrote: Jaime Casanova wrote: we created an user to him and give him privileges to pg_locks and pg_stat_activity (and the functions pg_stat_activity is calling) but still he see the columns that comes from the functions as null

[GENERAL] two postgres server seeing the same data

2008-12-03 Thread Jaime Casanova
tried that configuration? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

[GENERAL] about privileges on pg_stat_activity columns

2008-12-03 Thread Jaime Casanova
(and the functions pg_stat_activity is calling) but still he see the columns that comes from the functions as null... is there a way to give him access to that data without give him superuser? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil

Re: [GENERAL] two postgres server seeing the same data

2008-12-03 Thread Jaime Casanova
, and no recoverable data. the worst part of learning the lesson ;) -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] two postgres server seeing the same data

2008-12-03 Thread Jaime Casanova
On Wed, Dec 3, 2008 at 4:30 PM, Scott Marlowe [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 2:29 PM, Scott Marlowe [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 2:23 PM, Jaime Casanova [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 1:10 PM, Andrew Sullivan [EMAIL PROTECTED] wrote: On Wed

Re: [GENERAL] pg_get_serial_sequence Strangeness/Unreliable?

2008-11-26 Thread Jaime Casanova
by the table (ie: serial or manually created and owned) or is a manually created and maked default sequence? maybe a flag? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list

[GENERAL] filter statements in logs

2008-11-24 Thread Jaime Casanova
, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] PL/pgSQL stored procedure returning multiple result sets (SELECTs)?

2008-10-15 Thread Jaime Casanova
would a lazy millionaire do other than programming for fun? read dozens of mails from a forum? -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] How do I save data and then raise an exception?

2008-10-02 Thread Jaime Casanova
about RAISE NOTICE? -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [GENERAL] Vaccuum best practice: cronjob or autovaccuum?

2008-08-28 Thread Jaime Casanova
the majority of rows in a table, so that the steady-state size of the table can be shrunk substantially with VACUUM FULL's more aggressive approach. Use plain VACUUM, not VACUUM FULL, for routine vacuuming for space recovery. -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría

Re: [GENERAL] explain inside begin; commit;

2008-08-18 Thread Jaime Casanova
returned successfully with no result in 58 ms. don't do it in pgAdmin but in psql -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. (593) 87171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org

Re: [GENERAL] Initdb problem on debian mips cobalt: Bus error

2008-08-06 Thread Jaime Casanova
this: http://www.postgresql.org/docs/8.3/static/anoncvs.html -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Guayaquil - Ecuador Cel. (593) 87171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] What happen to the VARATT_SIZEP macro in version 8.3?

2008-08-05 Thread Jaime Casanova
can make your own wrapper in ine of your includes: #define VARATT_SIZEP(_PTR) \ VARATT_SIZEP_DEPRECATED(PTR) -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Guayaquil - Ecuador Cel. (593) 87171157 -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] non-WAL btree?

2008-08-02 Thread Jaime Casanova
to off; copy command; set synchronous_commit to on; -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Guayaquil - Ecuador Cel. (593) 87171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] non-WAL btree?

2008-08-01 Thread Jaime Casanova
On Fri, Aug 1, 2008 at 3:32 PM, Alex Vinogradovs [EMAIL PROTECTED] wrote: Isn't hash indexing implementation non-WAL ? yes, but that's because no one thinks is worth the effort of making them WAL logged while they keep slower than btree... -- regards, Jaime Casanova Soporte y capacitación de

Re: [GENERAL] non-WAL btree?

2008-08-01 Thread Jaime Casanova
logged the only way to re-create them after a recovery is with a REINDEX... dropping the index and create after the bulk is just the same, i think... -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Guayaquil - Ecuador Cel. (593) 87171157 -- Sent via pgsql-general mailing list

Re: [GENERAL] ERROR: missing FROM-clause entry for table on postgresql 8.1 not on 7.4; deleting from a join

2008-06-17 Thread Jaime Casanova
sleep :) it's there for older application like yours -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Guayaquil - Ecuador Cel. (593) 87171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

Re: [GENERAL] temporarily deactivate an index

2008-06-08 Thread Jaime Casanova
analyze of the query and rollback the transaction -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Guayaquil - Ecuador Cel. (593) 87171157 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [GENERAL] temporarily deactivate an index

2008-06-08 Thread Jaime Casanova
or pg_index.indisready depending on version). if i mark the index not ready (using pg_index.indisvalid or pg_index.indisready depending on version), will the index be updated if in another transaction i make an insert? -- regards, Jaime Casanova Soporte y capacitación de PostgreSQL Guayaquil

Re: [GENERAL] INFINITE RECURSION with rules...

2008-03-23 Thread Jaime Casanova
: INSERT INTO b(id, email_a, name_a) VALUES (33,'[EMAIL PROTECTED]','bill'); and in the trigger fill the tot column -- regards, Jaime Casanova - Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql

Re: [GENERAL] temp sequence

2008-02-02 Thread Jaime Casanova
EXECUTE 'create temp sequence seq1'; EXECUTE 'select nextval(' || quote_literal('seq') || ') '; the same apply for all kind of temp objects, in 8.3 this no longer will be an issue -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better

Re: [GENERAL] match accented chars with ASCII-normalised version

2008-01-27 Thread Jaime Casanova
overkill for this application. what about using to_ascii() ? http://www.postgresql.org/docs/8.3/static/functions-string.html -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying

Re: [GENERAL] publicar

2008-01-21 Thread Jaime Casanova
lista de la comunidad hispana ([EMAIL PROTECTED]) i think you already did it, just write a mail to the list address... but, this is an english list... so write in english or better write to the spanish list ([EMAIL PROTECTED]) -- Atentamente, Jaime Casanova Programming today is a race between

Re: [GENERAL] AUXILIO!!!! CONSULTA SOBRE CURSORES HELP!!! ABOUT CURSORS

2007-09-24 Thread Jaime Casanova
te sirva - hope it helps you -- Atentamente, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning

Re: [GENERAL] Max File size per Table (1G limit??)

2007-09-03 Thread Jaime Casanova
partitioning just yet. postgres uses datafiles from up to 1GB, if a table has more data than that limit then postgres creates more files. http://www.postgresql.org/docs/8.2/static/storage-file-layout.html -- regards, Jaime Casanova Programming today is a race between software engineers striving

Re: [GENERAL] Can this function be declared IMMUTABLE?

2007-08-29 Thread Jaime Casanova
optimization is the root of all evil? -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning

Re: [GENERAL] Add Column BEFORE/AFTER another column

2007-08-24 Thread Jaime Casanova
hacker, there is a good chance it could be included in 8.4. really? i don't remember it? can you point me where that patch is?, i can't find it, either -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs

Re: [GENERAL] automatically execute a function each day

2007-06-10 Thread Jaime Casanova
, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning. Richard Cook

Re: [GENERAL] Transactional DDL

2007-06-02 Thread Jaime Casanova
that mysql inserts a commit immidiatelly after a DDL but this one example shows the thing is worse than that. if that is the case this 3 rows should have been gone with the rollback. -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better

Re: [GENERAL] Transactional DDL

2007-06-02 Thread Jaime Casanova
... sadly enough, i don't have an informix database at hand to confirm if my memory has no corrupted indexes ;) -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger

Re: [GENERAL] Why can't I put a BEFORE EACH ROW trigger on a view?

2007-02-24 Thread Jaime Casanova
to rewrite those operations to the equivalents on the tables... that way you will have your TRIGGERS validating the data... -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce

Re: [GENERAL] postgresql vs mysql

2007-02-20 Thread Jaime Casanova
://archives.postgresql.org/pgsql-general/2005-12/msg00487.php http://dev.mysql.com/doc/refman/5.1/en/join.html (Join Processing Changes in MySQL 5.0.12) -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying

Re: [GENERAL] Ayuda sobre Indices

2007-01-26 Thread Jaime Casanova
valido si existe o no el indice para luego eliminarlo ?? Gracias. from 8.2 you can do: DROP INDEX IF EXISTS name ; -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger

Re: [GENERAL] Migrate 8.0 dump to 7.4

2007-01-21 Thread Jaime Casanova
of the script and ROLLBACK at the end until you fix all messages)... -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning

Re: [GENERAL] can't CREATE TRIGGER

2007-01-21 Thread Jaime Casanova
many minutes, I kill the creation with Ctrl+c. perhaps the table is locked, view in pg_locks... -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots

Re: [GENERAL] Spam from EnterpriseDB?

2007-01-18 Thread Jaime Casanova
On 1/18/07, Steve Atkins [EMAIL PROTECTED] wrote: Anyone else get spam from EnterpriseDB today, talking about Postgresql Support Services? yes... -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs

Re: [GENERAL] Spam from EnterpriseDB?

2007-01-18 Thread Jaime Casanova
by now. Hopefully whoever is responsible is cleaning out their desk this afternoon. please, no!! just be more careful... -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce

Re: [GENERAL] Spam from EnterpriseDB?

2007-01-18 Thread Jaime Casanova
for that... -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning. Richard Cook

Re: [GENERAL] SELECT INTO TEMPORARY problem

2007-01-18 Thread Jaime Casanova
. regards, tom lane IIRC, you can do it using CREATE TEMP TABLE t1 ON COMMIT DROP AS query but i think this new in 8.2 why not extending this to SELECT INTO TEMP? -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger

Re: [GENERAL] installing 8.2 on solaris 10?

2007-01-12 Thread Jaime Casanova
want to do it yourself then you should get the sources and compile... -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe

Re: [GENERAL] How to force the parser to use index scan instead of sequential scan

2006-10-07 Thread Jaime Casanova
: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match upgrade -- regards, Jaime Casanova Programming today is a race between software engineers striving to build bigger and better idiot-proof programs

  1   2   3   >