On Sat, Jan 24, 2015 at 1:31 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Another idea is to teach Valgrind that whenever a backend reduces its
pin count on a shared buffer to zero, that buffer should become undefined
memory.
That should be fairly straightforward to implement.
But I don't know if
Peter Geoghegan p...@heroku.com writes:
On Sat, Jan 24, 2015 at 1:31 PM, Tom Lane t...@sss.pgh.pa.us wrote:
Another idea is to teach Valgrind that whenever a backend reduces its
pin count on a shared buffer to zero, that buffer should become undefined
memory.
That should be fairly
Andrew Gierth and...@tao11.riddles.org.uk writes:
I can see two possible fixes: one to correct the assumptions in the
macros, the other to check for NaN before calling init_var_from_num in
numeric_send (all the other functions seem to do this check explicitly).
Which would be preferable?
I'm
While the CLOBBER_FREED_MEMORY hack does a fairly good job of catching
stale pointers to already-freed memory, commit fd496129d160950e exhibits
a case that is not caught at all: RelationBuildRowSecurity was copying
*pointers into disk buffers* into backend-local relcaches. This would
of course
Hi,
seems the CF app uses an invalid e-mail address when sending messages to
pgsql-hackers - I've added a comment to one of the patches and got this:
pgsql-hackers-testing@localhost
Unrouteable address
Maybe that's expected as the CF app is new, but I haven't seen it
mentioned in this
On 20.1.2015 22:30, Alvaro Herrera wrote:
I've decided to abandon this patch. I have spent too much time looking
at it now.
If anyone is interested in trying to study, I can provide the patches I
came up with, explanations, and references to prior discussion -- feel
free to ask.
I'll take
On Fri, Jan 23, 2015 at 02:34:36PM -0500, Stephen Frost wrote:
You'd have to replace the existing data directory on the master to do
that, which pg_upgrade was designed specifically to not do, in case
things went poorly.
Why? Just rsync the new data directory onto the old directory
2014-11-13 9:05 GMT+01:00 Heikki Linnakangas hlinnakan...@vmware.com:
Right. You have to be careful to make sure the standby really did fully
catch up with the master, though. If it happens that the replication
connection is momentarily down when you shut down the master, for example,
then
On Fri, Jan 23, 2015 at 4:13 PM, Andrew Gierth
and...@tao11.riddles.org.uk wrote:
[pruning the Cc: list and starting a new thread]
Here's the cleaned-up version of the patch to allow abbreviated keys
when sorting a single Datum. This also removes comments that suggest
that the caller of
On Sat, Jan 24, 2015 at 6:19 PM, Robert Haas robertmh...@gmail.com wrote:
I think this is a good idea. Do you have a test case that shows the benefit?
I agree. It seems likely that this will show a similar benefit to
other cases already tested, but I'd like to see a test case too.
--
Peter
Hi
with array_offsets - returns a array of offsets
Regards
Pavel
2015-01-20 21:32 GMT+01:00 Jim Nasby jim.na...@bluetreble.com:
On 1/20/15 11:12 AM, Pavel Stehule wrote:
I am sending updated version - it allow third optional argument that
specify where searching should to start. With it
On Thu, Jan 22, 2015 at 03:50:03PM -0600, Merlin Moncure wrote:
Quick update: not done yet, but I'm making consistent progress, with
several false starts. (for example, I had a .conf problem with the
new dynamic shared memory setting and git merrily bisected down to the
introduction of the
Happened to notice this:
postgres=# select numeric_send('NaN');
numeric_send
\x7f7ec000
(1 row)
7f7e obviously screams accessing memory beyond the end of data, and
indeed this is so: init_var_from_num, when passed a NaN, accesses two
bytes after the input.
13 matches
Mail list logo