Re: [HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-07-10 Thread Tom Lane
Abhijit Menon-Sen <[EMAIL PROTECTED]> writes: > At 2008-07-03 16:36:02 +0200, [EMAIL PROTECTED] wrote: >> Here's a patch for this. > I reviewed the patch, it basically looks fine. A few quibbles with the > provided documentation: Applied, with ams' doc changes and some further wordsmithing.

Re: [HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-07-07 Thread Simon Riggs
On Thu, 2008-07-03 at 16:36 +0200, Bernd Helmle wrote: > --On Montag, Juni 30, 2008 18:47:33 -0400 Bruce Momjian <[EMAIL PROTECTED]> > wrote: > > >> > >> I'd like to implement them if we agree on them > > > > Bernd, have you made any progress on this? > > Here's a patch for this. I'll add it to

Re: [HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-07-07 Thread Abhijit Menon-Sen
At 2008-07-03 16:36:02 +0200, [EMAIL PROTECTED] wrote: > > Here's a patch for this. I reviewed the patch, it basically looks fine. A few quibbles with the provided documentation: > + Reports the number of pages which can be stored within a file > segment. > + The total physical

Re: [HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-07-04 Thread Simon Riggs
On Thu, 2008-07-03 at 16:36 +0200, Bernd Helmle wrote: > --On Montag, Juni 30, 2008 18:47:33 -0400 Bruce Momjian <[EMAIL PROTECTED]> > wrote: > > >> > >> I'd like to implement them if we agree on them > > > > Bernd, have you made any progress on this? > > Here's a patch for this. I'll add it to

Re: [HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-07-03 Thread Bernd Helmle
--On Montag, Juni 30, 2008 18:47:33 -0400 Bruce Momjian <[EMAIL PROTECTED]> wrote: I'd like to implement them if we agree on them Bernd, have you made any progress on this? Here's a patch for this. I'll add it to the commit fest wiki page if it's okay for you. -- Thanks

Re: [HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-06-30 Thread Bruce Momjian
Bernd Helmle wrote: > Now that we have customizable segment sizes for heap and WAL at compilation > time i would like to have some runtime variables to query that information > (besides pg_controldata). I can imagine to have the following names: > > segment_size: Reports heap segment size > wal_

Re: [HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-05-17 Thread Euler Taveira de Oliveira
Bernd Helmle wrote: segment_size: Reports heap segment size wal_segment_size: Reports wal segment size block_size: Available yet wal_block_size: wal block size +1. We already have block_size in GUC. -- Euler Taveira de Oliveira http://www.timbira.com/ -- Sent via pgsql-hackers mailing l

[HACKERS] Adding variables for segment_size, wal_segment_size and block sizes

2008-05-15 Thread Bernd Helmle
Now that we have customizable segment sizes for heap and WAL at compilation time i would like to have some runtime variables to query that information (besides pg_controldata). I can imagine to have the following names: segment_size: Reports heap segment size wal_segment_size: Reports wal segme