Re: [HACKERS] pg_dump directory archive format / parallel pg_dump

2011-02-06 Thread Jaime Casanova
On Sun, Feb 6, 2011 at 2:12 PM, Jaime Casanova wrote: > On Tue, Feb 1, 2011 at 11:32 PM, Joachim Wieland wrote: >> On Sun, Jan 30, 2011 at 5:26 PM, Robert Haas wrote: >>> The parallel pg_dump portion of this patch (i.e. the still-uncommitted >>> part) no lon

Re: [HACKERS] Named restore points

2011-02-07 Thread Jaime Casanova
On Mon, Feb 7, 2011 at 10:59 PM, Robert Haas wrote: > On Fri, Feb 4, 2011 at 9:15 PM, Jaime Casanova wrote: >> ok, i will see you're reviewed version later today > > This patch is still marked as "Needs Review" in the CommitFest > application, but I'm th

Re: [HACKERS] Sync Rep for 2011CF1

2011-02-14 Thread Jaime Casanova
his, until now the only issue i have found is that if i set allow_standalone_primary to off and there isn't a standby connected i need to stop the server with -m immediate which is at least surprising -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación

Re: [HACKERS] Sync Rep v17

2011-02-19 Thread Jaime Casanova
FY. Perhaps >> that could be used? > > Well, those are going to require work to notify someone externally, like > send an email alert. > although, that seems the work for a monitor tool. -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación

Re: [HACKERS] Sync Rep v17

2011-02-19 Thread Jaime Casanova
some data then you should disable synchronous_replication as well as synchronous_commit... maybe sending a message to the log when you detect the conflicting situation. -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsq

Re: [HACKERS] Sync Rep v17

2011-02-20 Thread Jaime Casanova
On Sun, Feb 20, 2011 at 7:20 AM, Florian Pflug wrote: > On Feb20, 2011, at 08:12 , Jaime Casanova wrote: >> considering that synchronous_replication to on means that we *want* >> durability, and that synchronous_commit to off means we don't *care* >> about durability. T

Re: [HACKERS] Sync Rep v17

2011-02-22 Thread Jaime Casanova
c->lwWaitLink; } if (proc->lwWaitLink == NULL) /* At tail */ { ! Assert(proc != MyProc); /* Remove ourselves from tail of queue */ Assert(queue->tail == MyProc);

Re: [HACKERS] Synchronous standbys?

2011-02-23 Thread Jaime Casanova
will always be the synch standby until it's removed from the list or phisically. the other comment in the doc should be removed -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@p

Re: [HACKERS] Synchronous standby

2011-02-23 Thread Jaime Casanova
; cases. i guess, we can put a new column in pg_stat_replication stating the type of the replication (synch or asynch). but that is surely a different patch... -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hacker

Re: [HACKERS] Sync Rep v17

2011-02-24 Thread Jaime Casanova
transaction unexpectedly would wait for replication > infinitely. > actually i think we should reject such standby as a synch standby, and look for another one in the synchronous_standby_names list -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación

Re: [HACKERS] Sync Rep v17

2011-02-25 Thread Jaime Casanova
ling right now to test again and see the effects, Robert maybe you can test your failure case again? i'm really sure it's related to this... -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing l

Re: wrapping up this CommitFest (was Re: [HACKERS] knngist - 0.8)

2011-03-01 Thread Jaime Casanova
is that Simon fixed them in one day... And for the open items, most of them are definitions about the behaviour... -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To m

Re: wrapping up this CommitFest (was Re: [HACKERS] knngist - 0.8)

2011-03-01 Thread Jaime Casanova
om this so i expect he will post a patch soon, meanwhile i'm following his repo and testing and seems i'm not the only one because Yeb Havinga has added two columns in pg_stat_replication to know which standby is the synch standby and which ones are potential synch standbys -- Jaim

Re: [HACKERS] Sync Rep v19

2011-03-04 Thread Jaime Casanova
them to be async, 2) also * will give priority 1 to all standbys so it doesn't seem like a very useful out-of-the-box configuration, better to make the dba to write the standby names in the order they want -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación d

Re: [HACKERS] Sync Rep v19

2011-03-05 Thread Jaime Casanova
e is > required. > It's not better to remove the code to manage * in synchronous_standby_names? Once we do that there is no chance of having 2 standbys with the same priority. After all, most of the times the dba will need to change the * for a real list of names anyway. At least in IMHO -- Jaime Casanovawww.2ndQuadrant.com

Re: [HACKERS] Sync Rep v19

2011-03-05 Thread Jaime Casanova
n't > 3) speed is comparable to v17 :-) > yeah... it's a lot better than before, good work Simon :) -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make

Re: [HACKERS] Sync Rep v19

2011-03-06 Thread Jaime Casanova
o introduce something like "pg_ctl standalone" command? > > Well, there is one way to end the wait: shutdown, or use > pg_terminate_backend(). > I disconnected all standbys so the master keeps waiting on commit. Then i shutdown the master with immediate and got a cras

Re: [HACKERS] Sync Rep v19

2011-03-08 Thread Jaime Casanova
for sync rep. +1 for Fujii's proposal -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

[HACKERS] missing history for pg_exec_query_string()

2011-03-23 Thread Jaime Casanova
elegant :( any idea what happens to this part of the history? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] missing history for pg_exec_query_string()

2011-03-23 Thread Jaime Casanova
king the info to git... that -S option looks like a life saver, thanks! -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: htt

Re: [HACKERS] pg_last_xlog_receive_location()

2011-03-29 Thread Jaime Casanova
f you know the server was a standby and pg_is_in_recovery() returns false then it was promoted. is that what you want to know? or i misunderstood you? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (p

Re: [HACKERS] how to keep/lock/ hide pg_hba.conf ?

2011-04-11 Thread Jaime Casanova
ge? Also the directory in which the pg_hba.conf is is only visible/writable for the database cluster owner and the system administrator, so that means you're allowing your user to connect to the server as one of those users? or is windows uncapable of enforce those restrictions? -- J

Re: [HACKERS] Turning recovery.conf into GUCs

2013-11-15 Thread Jaime Casanova
On Fri, Nov 15, 2013 at 9:28 AM, Peter Eisentraut wrote: > On 11/13/13, 12:17 AM, Jaime Casanova wrote: >> I have rebased Michael Paquier's patch and did a few changes: >> >> * changed standby.enabled filename to recovery.trigger >> * make archive_command a

Re: [HACKERS] Turning recovery.conf into GUCs

2013-11-20 Thread Jaime Casanova
to >> facilitate maintenance across versions. > > I think lowercase is slightly more consistent with the majority of the > other GUCs, but if you change it you should change all the new GUC variables. > This one was my change, in the original patch is called "restore_c

Re: [HACKERS] tracking commit timestamps

2013-12-01 Thread Jaime Casanova
; LOG: database system was not properly shut down; automatic recovery in progress LOG: record with zero length at 0/3112AE58 LOG: redo is not required FATAL: cannot make new WAL entries during recovery LOG: startup process (PID 24876) exited with exit code 1 LOG: aborting startup due to startup p

Re: [HACKERS] Logical Replication WIP

2017-01-20 Thread Jaime Casanova
efault. You'd need to set > max_logical_replication_workers to 0 to disable that. > surely wal_level < logical shouldn't start a logical replication launcher, and after an initdb wal_level is only replica -- Jaime Casanova www.2ndQuadrant.com PostgreSQL Develo

Re: [HACKERS] Logical Replication WIP

2017-01-20 Thread Jaime Casanova
On 20 January 2017 at 11:39, Petr Jelinek wrote: > On 20/01/17 17:33, Jaime Casanova wrote: >>> >> >> surely wal_level < logical shouldn't start a logical replication >> launcher, and after an initdb wal_level is only replica >> > > Launcher is ne

Re: [HACKERS] Logical replication launcher's bgworker enabled by default, and max_logical_replication_workers

2017-01-22 Thread Jaime Casanova
f code > diffs, it would be disabled by default. > +1, we should that to 0 before release -- Jaime Casanova www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@po

Re: [HACKERS] Patch: Write Amplification Reduction Method (WARM)

2016-12-25 Thread Jaime Casanova
rtup due to startup process failure """ still cannot reproduce this one consistently but happens often enough will continue playing with it... -- Jaime Casanova www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Serv

Re: [HACKERS] 10.0

2016-05-17 Thread Jaime Casanova
Etc cetera. >>>> >>>> >>> Yes. Please! >> >> Hear, hear! >> >> Sadly, we're too late for 9.6, but we can start with 10.0 and finish >> this silliness once and for good. > > +1! > +1 -- Jaime Casanova

[HACKERS] Rename synchronous_standby_names?

2016-05-31 Thread Jaime Casanova
Hi, Are we going to change synchronous_standby_names? Certainly the GUC is not *only* a list of names anymore. synchronous_standby_config? synchronous_standbys (adjust to correct english if necesary)? -- Jaime Casanova www.2ndQuadrant.com PostgreSQL Development, 24x7

Re: [HACKERS] TABLESAMPLE patch

2014-12-15 Thread Jaime Casanova
the patch more close tomorrow when my brain wake up ;) -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación Phone: +593 4 5107566 Cell: +593 987171157 regression.diffs Description: Binary data -- Sent via pgsql-hackers mailing list (pg

Re: [HACKERS] Postgres TR for missing chunk

2014-12-16 Thread Jaime Casanova
ady fixed and you should update. http://www.postgresql.org/message-id/12138.1336019...@sss.pgh.pa.us Btw, when giving a bug report you should start but saying your PostgreSQL's version and explain what you did based on Google's "wisdom" -- Jaime Casanova 2ndQuadrant Consultant Your PostgreSQL partner

Re: [HACKERS] Commitfest problems

2014-12-16 Thread Jaime Casanova
27;s kind of frustrating when some not-yet customers ask for certificated engineers, and there isn't any official (as in "from community") certificate so you need to prove you're a contributor so let's see this random commit messages... -- Jaime Casanova www.2ndQuad

Re: [HACKERS] TABLESAMPLE patch

2014-12-22 Thread Jaime Casanova
count(1) from tenk1 tablesample system (null); count --- 28 (1 row) regression=# select count(1) from tenk1 tablesample bernoulli (null); count --- 0 (1 row) """ -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación Pho

Re: [HACKERS] pgaudit - an auditing extension for PostgreSQL

2014-12-25 Thread Jaime Casanova
foo ..." queries (by > any user). what if i want to audit different things for different users? -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación Phone: +593 4 5107566 Cell: +593 987171157 -- Sent via pgsql-hackers mailing list (pgsql-

Re: [HACKERS] List traffic

2010-05-28 Thread Jaime Casanova
'm >> good with not changing things. > > Yeah, that's because I was responding to the suggestion that 5 of our > lists should be collapsed into 'general' as the One Uber-List. > i think not all should be collapsed but at least -novice, IMHO -- Jaime Casanova

Re: [HACKERS] nvarchar notation accepted?

2010-06-06 Thread Jaime Casanova
On Thu, May 13, 2010 at 11:00 PM, Tom Lane wrote: > Jaime Casanova writes: >> On Thu, May 13, 2010 at 10:52 PM, Tom Lane wrote: >>> Actually, the lexer translates N'foo' to NCHAR 'foo' and then the >>> grammar treats that just like CHAR '

Re: [HACKERS] nvarchar notation accepted?

2010-06-07 Thread Jaime Casanova
On Mon, Jun 7, 2010 at 2:23 AM, Peter Eisentraut wrote: > > The N'' syntax is in the SQL standard, > I didn't know that, do you know what paragraph is it? i can't find it -- Jaime Casanova www.2ndQuadrant.com Soporte y capacitación de PostgreSQL -- Sent v

Re: [HACKERS] Partitioning syntax

2010-06-16 Thread Jaime Casanova
On Mon, Jan 18, 2010 at 3:55 AM, Takahiro Itagaki wrote: > > Robert Haas wrote: > >> A couple of preliminary comments on this: > > Thanks. > The attached is rebased on HEAD, with additional documentation. > This one, doesn't apply to head anymore... please update

Re: [HACKERS] Partitioning syntax

2010-06-23 Thread Jaime Casanova
sy with other things... i will make a complete review in next days... -- Jaime Casanova www.2ndQuadrant.com Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] bg worker: overview

2010-07-15 Thread Jaime Casanova
y. Nothing else. > so, merging this with the autovacuum will drop our hopes of having a time based autovacuum? not that i'm working on that nor i was thinking on working on that... just asking to know what the implications are, and what the future improves could be if we go this route -- Jai

Re: [HACKERS] including backend ID in relpath of temp rels - updated patch

2010-07-23 Thread Jaime Casanova
ertised, pass regression tests, and all tests i could think of... haven't looked the code at much detail but seems ok, to me at least... -- Jaime Casanova         www.2ndQuadrant.com Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) T

Re: [HACKERS] including backend ID in relpath of temp rels - updated patch

2010-07-24 Thread Jaime Casanova
On Fri, Jul 23, 2010 at 10:05 AM, Jaime Casanova wrote: > On Thu, Jun 10, 2010 at 3:39 PM, Robert Haas wrote: >> >> >> I believe that this patch will clear away one major obstacle to >> implementing global temporary and unlogged tables: it enables us to be >> sur

Re: [HACKERS] including backend ID in relpath of temp rels - updated patch

2010-07-28 Thread Jaime Casanova
On Sun, Jul 25, 2010 at 4:32 PM, Robert Haas wrote: > On Sun, Jul 25, 2010 at 2:37 AM, Jaime Casanova wrote: >> but i have a few questions, maybe is right what you did i only want to >> understand it: >> - you added this in include/storage/smgr.h, so why is safe to assume &

Re: [HACKERS] Per-column collation, proof of concept

2010-08-01 Thread Jaime Casanova
ate locale "es_EC.utf8"" (of course, that last part was me messing the things up, but it show we shouldn't be using a file locales.txt, i think) i can attach a collate to a domain but i can't see where are we storing that info (actually it says it's not collatable): --

Re: [HACKERS] including backend ID in relpath of temp rels - updated patch

2010-08-06 Thread Jaime Casanova
On Fri, Aug 6, 2010 at 12:50 PM, Robert Haas wrote: > > Just "DROP TABLE > pg_temp_2.foo" or whatever and away you go. > wow! that's true... and certainly a bug... we shouldn't allow any session to drop other session's temp tables, or is there a reason for

[HACKERS] more personal copyrights

2010-08-08 Thread Jaime Casanova
) there's something we can/need to do about it? I can make a list if anyone is interested showing what files are still copyrighted to something different to 'PostgreSQL Global Development Group' -- Jaime Casanova         www.2ndQuadrant.com Soporte y capacitación de PostgreSQL --

Re: [HACKERS] Per-column collation, proof of concept

2010-08-14 Thread Jaime Casanova
2010 at 11:32 AM, Peter Eisentraut wrote: > On mån, 2010-08-02 at 01:43 -0500, Jaime Casanova wrote: >> nowadays, CREATE DATABASE has a lc_collate clause. is the new collate >> clause similar as the lc_collate? >> i mean, is lc_collate what we will use as a default? >

Re: [HACKERS] Per-column collation, proof of concept

2010-08-16 Thread Jaime Casanova
On Mon, Aug 16, 2010 at 10:56 PM, Peter Eisentraut wrote: > On lör, 2010-08-14 at 02:05 -0500, Jaime Casanova wrote: > >> BTW, why the double quotes? > > Because the name contains upper case letters? > why everything seems so obvious once someone else state it? :) >>

Re: [HACKERS] Per-column collation, proof of concept

2010-08-18 Thread Jaime Casanova
On Wed, Aug 18, 2010 at 11:29 AM, Peter Eisentraut wrote: > On tis, 2010-08-17 at 01:16 -0500, Jaime Casanova wrote: >> >> creating collations ...FATAL:  invalid byte sequence for encoding >> >> "UTF8": 0xe56c09 >> >> CONTEXT:  COPY

Re: [HACKERS] Version Numbering

2010-08-20 Thread Jaime Casanova
only in version 8 so Oracle should have more features... no that i follow that reasoning but... -- Jaime Casanova         www.2ndQuadrant.com Soporte y capacitación de PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://

Re: [HACKERS] Version Numbering

2010-08-20 Thread Jaime Casanova
On Fri, Aug 20, 2010 at 4:48 PM, Greg Stark wrote: > On Fri, Aug 20, 2010 at 10:41 PM, Jaime Casanova > wrote: >> Look at other DBMSes: >> Oracle: 8i, 9i, 10g, 11g >> Informix 9, 10, 11 >> MS SQL Server 7, 2000, 2005, 2008 >> >> note the lack of dotes (

Re: [HACKERS] Enhanced psql in core?

2011-07-09 Thread Jaime Casanova
t of this seems to be (based on the examples on the page, haven't read the patch) scripting functionality but now that we have DO, is really a need for that? i'm not really sure if we can do what the same as your example using DO but i'm really dubious about the usefullness

Re: [HACKERS] Reduce WAL logging of INSERT SELECT

2011-08-06 Thread Jaime Casanova
right solution is move towards make a normal table unlogged and viceversa... probably that's harder to do but we will have better control and less odd heuristics -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers ma

Re: [HACKERS] Ignore lost+found when checking if a directory is empty

2011-08-09 Thread Jaime Casanova
e low you need them. I say, create a subdirectory. """ -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Comparing two PostgreSQL databases -- order of pg_dump output

2011-08-30 Thread Jaime Casanova
pg_dump -Fc -Osx and use pg_restore -l to list objects. then you can sort and compare objects and then a script that compare schema of objects extracting them with -P, -T or -t -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-ha

Re: [HACKERS] Comparing two PostgreSQL databases -- order of pg_dump output

2011-08-30 Thread Jaime Casanova
On Tue, Aug 30, 2011 at 3:14 PM, Joe Abbate wrote: > Hola Jaime, > > On 08/30/2011 03:24 PM, Jaime Casanova wrote: >> >> what about using pg_dump -Fc -Osx and use pg_restore -l to list >> objects. then you can sort and compare objects and then a script that >> com

Re: [HACKERS] PATCH: regular logging of checkpoint progress

2011-09-02 Thread Jaime Casanova
fer values {on, off, verbose} where "on" will log just the same as now -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] WAL "low watermark" during base backup

2011-09-02 Thread Jaime Casanova
s work, except with an absolute number rather than > relative. cool! just a question, shouldn't we clean the value after the base backup has finished? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list

Re: [HACKERS] xlog file naming

2011-09-12 Thread Jaime Casanova
pg_current_timeline(), pg_start_backup());". > we can do "SELECT pg_xlogfile_name(pg_start_backup())" now, so how is that different? > Furthermore, in the same way, we can get the backup end WAL file name or > current WAL file name from pg_stop_backup() or pg_current_x

Re: [HACKERS] What Would You Like To Do?

2011-09-14 Thread Jaime Casanova
Last I checked (it has been a few years) that was at best, a hack. I > remember either I or David Fetter? Writing about some issues with it on list > but it was a long time ago. > last time i tried it (last year), it seems broken because i couldn't log in with any user anymo

Re: [HACKERS] What Would You Like To Do?

2011-09-14 Thread Jaime Casanova
, and be able to have the same "userid" for different > databases, using different settings... > why "before" login? in 9.0+ you can use ALTER ROLE ... IN DATABASE, doesn't it help? pre 9.0 need the db_user_namespace GUC for that, though -- Jaime Casanova         w

Re: [HACKERS] Is there really no interest in SQL Standard?

2011-09-17 Thread Jaime Casanova
r each meeting either on -hackers or pgsql-sql. > Well Susanne said that the drafts are not public information so maybe the things that *could* end up in a draft shouldn't be either, if so i agree with the idea of creating a private list for that -- Jaime Casanova         www.2ndQuadrant.com

Re: [HACKERS] [BUGS] BUG #5206: wal_sync_method in stock postgresql.conf may be wrong

2011-09-22 Thread Jaime Casanova
to 1 but in windows and solaris it actually defaults to 0 >> (I still think we should get rid of the commented-out settings >> altogether, but that's another argument...) > > That's another reason not to expend work here --- it still seems > fairly likely that that might hap

Re: [HACKERS] Updated version of pg_receivexlog

2011-09-27 Thread Jaime Casanova
#x27;t read all the code in the detail but seems fine to me in other things: do we need to include src/bin/pg_basebackup/.gitignore in the patch? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (

Re: [HACKERS] Updated version of pg_receivexlog

2011-09-28 Thread Jaime Casanova
On Wed, Sep 28, 2011 at 1:38 AM, Jaime Casanova wrote: > On Tue, Aug 16, 2011 at 9:32 AM, Magnus Hagander wrote: >> Here's an updated version of pg_receivexlog, that should now actually >> work (it previously failed miserably when a replication record crossed >> a WAL

Re: [HACKERS] Updated version of pg_receivexlog

2011-09-28 Thread Jaime Casanova
eceivexlog to this file, > yes - in head it just contains pg_basebackup. > your patch includes a modification in the file src/bin/pg_basebackup/.gitignore, maybe i'm just being annoying besides is a simple change... just forget that... -- Jaime Casanova         www.2ndQuadrant.com Profes

Re: [HACKERS] [OT?] Time-zone database down [was: Re: timezone buglet?]

2011-10-07 Thread Jaime Casanova
strictions have that effect ;) -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Improving GEQO

2015-05-20 Thread Jaime Casanova
ithout the code to look at -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] to_date_valid()

2016-07-02 Thread Jaime Casanova
is instead? Sounds like a bug to me. We don't usually want to be bug compatible so it doesn't matter if we break something. -- Jaime Casanovahttp://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services

Re: [HACKERS] Updated version of pg_receivexlog

2011-10-24 Thread Jaime Casanova
; > Could we pass a parameter from the client indicating to the master > that it refuses to be a sync slave? An optional keyword to the > START_REPLICATION command, perhaps? > can't you execute "set synchronous_commit to off/local" for this connection? -- Jaime Casanova   

Re: [HACKERS] IDLE in transaction introspection

2011-10-31 Thread Jaime Casanova
e are going to create the "state" column let's do it now and change current_query for last_query (so last query can be running, or it was the last before enter in idle state) -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Se

Re: [HACKERS] Measuring relation free space

2011-11-08 Thread Jaime Casanova
he right buffer access strategy so it's using a ring buffer now -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación diff --git a/contrib/pageinspect/btreefuncs.c b/contrib/pageinspect/btreefuncs.c new file mode 100644 index dbb2158..8be2

Re: [HACKERS] Syntax for partitioning

2011-11-09 Thread Jaime Casanova
ss.ntt.co.jp not sure what happens after that. -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Measuring relation free space

2011-11-14 Thread Jaime Casanova
to 1.1. > good point... fixed that... a question i have is: are we supposed to let the old script (1.0) around? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación diff --git a/contrib/pageinspect/Makefile b/contrib/pageinspect/Makefile new file mode

Re: [HACKERS] patch : Allow toast tables to be moved to a different tablespace

2011-11-14 Thread Jaime Casanova
Hi, This patch doesn't apply cleanly to head now... can you send a new version against head? about the patch itself. i don't like the fact that now the normal case needs to include the word TABLE. IMHO, it should be optional and if ommited TABLE should be assumed -- Jaime Cas

Re: [HACKERS] patch : Allow toast tables to be moved to a different tablespace

2011-11-15 Thread Jaime Casanova
> TOAST Table at its place > ALTER TABLE ... SET TOAST TABLESPACE => keeps Table at its place & > moves associated TOAST Table > oh! i didn't test the patch just read it... and maybe i misunderstood, will see it again. -- Jaime Casanova         www.2ndQuadrant.com Professiona

Re: [HACKERS] patch : Allow toast tables to be moved to a different tablespace

2011-11-15 Thread Jaime Casanova
BLE SET TABLE TABLESPACE ALTER TABLE SET TOAST TABLESPACE why not also support ALTER TABLE SET INDEX TABLESPACE which should have the same behaviour as ALTER INDEX SET TABLESPACE... just an idea, and of course not necessary for this patch -- Jaime Casanova         www.2ndQuadrant.com Professional Postgre

Re: [HACKERS] [PATCH] Support for foreign keys with arrays

2011-11-16 Thread Jaime Casanova
ng column to the new value of the referenced column, respectively. """ so, that is what i will expect -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] [COMMITTERS] pgsql: Enable CHECK constraints to be declared NOT VALID

2011-11-25 Thread Jaime Casanova
lly at fault? > i can't find anything about this in the standard, so i guess even if the standard allows us to turn checks off. ours is not standard syntax so, IMHO, it should be only in ALTER TABLE. -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y cap

Re: [HACKERS] DOMAINs and CASTs

2011-11-29 Thread Jaime Casanova
hat objection, with much less > work than Robert suggests, if we just made the message be a WARNING not > an ERROR.  I think that'd do just as well in terms of what the message > could usefully accomplish, ie, steer people away from doing things that > won't work.  Still not su

Re: [HACKERS] [PATCH] Caching for stable expressions with constant arguments v3

2011-12-04 Thread Jaime Casanova
eds adjustment for the rangetypes regress test -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Measuring relation free space

2011-12-07 Thread Jaime Casanova
s in the supported objects and treat them as normal pages... or there is something i'm missing? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] patch : Allow toast tables to be moved to a different tablespace

2011-12-10 Thread Jaime Casanova
opinion about this? maybe i can make a patch for that if there is consensus that it could be good for symettry -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] patch : Allow toast tables to be moved to a different tablespace

2011-12-12 Thread Jaime Casanova
On Mon, Dec 12, 2011 at 10:54 AM, Julien Tachoires wrote: > Hi, > > 2011/12/10 Jaime Casanova : >> On Mon, Nov 28, 2011 at 1:32 PM, Julien Tachoires wrote: >> >>>> 2) after CLUSTER the index of the toast table gets moved to the same >>>> tablespace

Re: [HACKERS] [PATCH] Caching for stable expressions with constant arguments v3

2011-12-16 Thread Jaime Casanova
and saw some regression with normal pgbench runs, but it wasn't much... so i was trying to found out some queries that show benefit now that we have it, that will be a lot more easier -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent

[HACKERS] streaming header too small

2012-01-08 Thread Jaime Casanova
nt explaining those? more important it's seems obvious something broke that, unless i misunderstood something which is completely possible, and that the way is do it it will broke again in the future if the header change -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Sop

[HACKERS] pg_basebackup is not checking IDENTIFY_SYSTEM numbre of columns

2012-01-11 Thread Jaime Casanova
? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

[HACKERS] create index regression fail

2012-01-12 Thread Jaime Casanova
e2c2c2e8b1df7dfdb01e7e6f6191a569ce3c3195 to "Improve planner's handling of duplicated index column expressions", so this commit broke something or the count is wrong in the expected result -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacit

Re: [HACKERS] create index regression fail

2012-01-12 Thread Jaime Casanova
On Thu, Jan 12, 2012 at 1:59 PM, Tom Lane wrote: > Jaime Casanova writes: >> the query where the regression fails is: > >> SELECT count(*) FROM dupindexcols >>   WHERE f1 > 'LX' and id < 1000 and f1 ~<~ 'YX'; > >> my first theory was

Re: [HACKERS] Measuring relation free space

2012-01-14 Thread Jaime Casanova
ion_free_space() patch to accept toast tables and other kind of indexes and add it to the commitfest unless someone says that my math is wrong and somehow there is a more accurate way of getting the free space (which is entirely possible) -- Jaime Casanova         www.2ndQuadrant.com Professiona

Re: [HACKERS] Measuring relation free space

2012-01-14 Thread Jaime Casanova
unity for anyone to point my error if any > - relation_free_space() belongs in the pgstattuple extension, because its role >  is cheaper access to a single pgstattuple() metric. > oh! right! so, what about just fixing the free_percent that pgstattuple is providing -- Jaime Casanova         w

Re: [HACKERS] pg_basebackup is not checking IDENTIFY_SYSTEM numbre of columns

2012-01-15 Thread Jaime Casanova
nstead of disconnect_and_exit() and that is probably a typo too -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c new file mode 100644 index 4007680..22d906a

Re: [HACKERS] patch : Allow toast tables to be moved to a different tablespace

2012-01-15 Thread Jaime Casanova
next cycle? do we consider this as a useful thing? -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Caching for stable expressions with constant arguments v6

2012-01-16 Thread Jaime Casanova
almost complete since last CF and seems something we want... i made some performance test that didn't give me good results last time but didn't show them and wasn't able to reproduce so maybe it was something in my machine... so, i would say add it and if the CF manager d

Re: [HACKERS] 9.3 feature proposal: vacuumdb -j #

2012-01-17 Thread Jaime Casanova
actly that or am I missing your point? > not really. if you have 12 cores and you say -j 12 you would have 1 process per core, with Susanne's suggestion, AFAIUI, you can say -j 12 --shared-cores=6... so you would only use 6 cores of the 12 and have 2 processes per core --

Re: [HACKERS] Measuring relation free space

2012-01-18 Thread Jaime Casanova
rable difference between pgstattuple and relation_free_space() -- Jaime Casanova         www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] [COMMITTERS] pgsql: Add GUC temp_tablespaces to provide a default location for

2007-03-17 Thread Jaime Casanova
w unsafe to call OpenTemporaryFile outside a transaction. ok, you are right... what do you suggest? maybe move the GetTempTablespace function to somewhere in src/backend/utils? -- regards, Jaime Casanova "Programming today is a race between software engineers striving to build bigger and better idi

Re: [HACKERS] [COMMITTERS] pgsql: Add GUC temp_tablespaces to provide a default location for

2007-03-18 Thread Jaime Casanova
On 3/17/07, Tom Lane <[EMAIL PROTECTED]> wrote: "Jaime Casanova" <[EMAIL PROTECTED]> writes: > On 3/5/07, Tom Lane <[EMAIL PROTECTED]> wrote: >> In the second place, it's a serious violation of what little modularity >> and layering we have f

<    1   2   3   4   5   6   7   8   9   >