Re: [HACKERS] proposal: UTF8 to_ascii function

2008-08-12 Thread Jan Urbański
Peter Eisentraut wrote: On Monday 11 August 2008 16:23:29 Jan Urbański wrote: Often clients want their searches to be accented-or-language-specific letters insensitive. So searching for 'łódź' returns 'lodz'. So the use case is there (in fact, the lack of such facility made me consider not

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Dave Page
On Tue, Aug 12, 2008 at 4:13 AM, Bruce Momjian [EMAIL PROTECTED] wrote: So, ideally, if we do a plug-in system, I think we need some way to have these plugins be very easily installed, perhaps by choosing object files pre-compile by the build farm for each operating system. Hmm, that idea

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Markus Wanner
Hi, Bruce Momjian wrote: So, ideally, if we do a plug-in system, I think we need some way to have these plugins be very easily installed, perhaps by choosing object files pre-compile by the build farm for each operating system. IIRC the main problem isn't compilation and packaging of plugins.

Re: [HACKERS] WIP: New Page API

2008-08-12 Thread Markus Wanner
Hi, Zdenek Kotala wrote: I finished first prototype of new page API. This might seem obvious to you, but could you please describe the problem you are trying to solve with this new page API? How does it relate to the relation forks, that have just been committed? Regards Markus -- Sent

[HACKERS] Copy column storage parameters on CREATE TABLE LIKE/INHERITS

2008-08-12 Thread ITAGAKI Takahiro
Here is an updated version of the Copy storage parameters patch. http://archives.postgresql.org/pgsql-hackers/2008-07/msg01417.php This patch copies only column storage parameters and does not copy reloptions as a result of the discussion, in which reloptions should not be copied because LIKE and

[HACKERS] psql bug -- using old variables and database connection

2008-08-12 Thread Gregory Stark
We're currently printing the warning about connecting to the wrong version of the server *before* syncing variables. On reconnecting this results in using the *old* server version before reconnecting. I'm not sure what happens for the initial connection but it can't be good. connection_warnings

Re: [HACKERS] WIP: New Page API

2008-08-12 Thread Zdenek Kotala
Markus Wanner napsal(a): Hi, Zdenek Kotala wrote: I finished first prototype of new page API. This might seem obvious to you, but could you please describe the problem you are trying to solve with this new page API? How does it relate to the relation forks, that have just been committed?

Re: [HACKERS] WIP: New Page API

2008-08-12 Thread Markus Wanner
Hi Zdenek, Zdenek Kotala wrote: It is not related to fork maps. The idea is to learn PostgreSQL process to read old data page structures. It is part of in-place upgrade and it was discussed on PGCon this year. You can see more info on http://wiki.postgresql.org/wiki/In-place_upgrade

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Peter Eisentraut
Am Tuesday, 12. August 2008 schrieb Bruce Momjian: I feel the above comment about Firefox is the crux of the plugin issue. The difference is that Firefox is an interactive eye-candy system whereas PostgreSQL is a functionality-based server system. A PostgreSQL database system needs to have a

Re: [HACKERS] Proposal of SE-PostgreSQL patches [try#2]

2008-08-12 Thread KaiGai Kohei
Josh Berkus wrote: KaiGai Kohei wrote: On the WiKi of CommitFest:Sep, http://wiki.postgresql.org/wiki/CommitFest:2008-09 The entry of SE-PostgreSQL points a message when I submitted older version of our patch set. But the latest ones are listed on another message. Please add a link to the

Re: [HACKERS] Replay attack of query cancel

2008-08-12 Thread Magnus Hagander
Tom Lane wrote: Magnus Hagander [EMAIL PROTECTED] writes: The problem was (third IIRC here :-P) in other clients, such as the JDBC driver (I think that one was checked specifically) which currently only accept the BackendKeyData message during startup. All drivers not based on libpq would

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Bruce Momjian
Markus Wanner wrote: Hi, Bruce Momjian wrote: So, ideally, if we do a plug-in system, I think we need some way to have these plugins be very easily installed, perhaps by choosing object files pre-compile by the build farm for each operating system. IIRC the main problem isn't

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Bruce Momjian
Peter Eisentraut wrote: Am Tuesday, 12. August 2008 schrieb Bruce Momjian: I feel the above comment about Firefox is the crux of the plugin issue. The difference is that Firefox is an interactive eye-candy system whereas PostgreSQL is a functionality-based server system. A PostgreSQL

Re: [HACKERS] temporary statistics option at initdb time

2008-08-12 Thread Robert Treat
On Saturday 09 August 2008 21:31:28 Euler Taveira de Oliveira wrote: Hi, After the Magnus patch [1], that make it possible store statistics files at another (RAM-based) disk, I was thinking that would be useful to add an option at initdb time to do the symlink as we already do with xlog.

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Markus Wanner
Hi, Bruce Momjian wrote: The bottom line is that for software to be successful we need a critical mass, and as long as we are doing OS-specific plugins we aren't going to reach that critical mass because the OS-specific aspect splits up demand. What about the pgxs toolchain? Doesn't that

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Bruce Momjian
Simon Riggs wrote: We can generalise this as three closed questions, answered either Yes (Synchronous) or No (Asynchronous) * Does WAL get forced to disk on primary at commit time? * Does WAL get forced across link to standby at commit time? * Does WAL get forced to disk on standby at

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Bruce Momjian
Simon Riggs wrote: On Sat, 2008-07-26 at 10:17 +0200, Markus Wanner wrote: What I still don't understand is, why you are speaking about logical replication. It rather sounds like an ordinary log shipping approach, where the complete WAL is sent over the wire. Nothing wrong with

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Simon Riggs
On Tue, 2008-08-12 at 11:52 -0400, Bruce Momjian wrote: Simon Riggs wrote: On Sat, 2008-07-26 at 10:17 +0200, Markus Wanner wrote: What I still don't understand is, why you are speaking about logical replication. It rather sounds like an ordinary log shipping approach, where

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Bruce Momjian
Markus Wanner wrote: Hi, Bruce Momjian wrote: The bottom line is that for software to be successful we need a critical mass, and as long as we are doing OS-specific plugins we aren't going to reach that critical mass because the OS-specific aspect splits up demand. What about the

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Simon Riggs
On Tue, 2008-08-12 at 11:51 -0400, Bruce Momjian wrote: I think you need to make it an enumerated type like log_min_messages; something like: wal_transfer_wait Yeh, that way sounds best and I like name. with values of: nothing:have network traffic send WAL as

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Bruce Momjian
Simon Riggs wrote: What is the attraction of logical application of the WAL logs? Transmitting to a server with different architecture? Yes, * different release * different encoding * different CPU architecture * (with the correct transform) a different DBMS So logical apply can

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Bruce Momjian
Simon Riggs wrote: On Tue, 2008-08-12 at 11:51 -0400, Bruce Momjian wrote: I think you need to make it an enumerated type like log_min_messages; something like: wal_transfer_wait Yeh, that way sounds best and I like name. with values of: nothing:have

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Simon Riggs
On Tue, 2008-08-12 at 12:54 -0400, Bruce Momjian wrote: Simon Riggs wrote: On Tue, 2008-08-12 at 11:51 -0400, Bruce Momjian wrote: I think you need to make it an enumerated type like log_min_messages; something like: wal_transfer_wait Yeh, that way sounds best and I

Re: [HACKERS] temporary statistics option at initdb time

2008-08-12 Thread Magnus Hagander
Robert Treat wrote: On Saturday 09 August 2008 21:31:28 Euler Taveira de Oliveira wrote: Hi, After the Magnus patch [1], that make it possible store statistics files at another (RAM-based) disk, I was thinking that would be useful to add an option at initdb time to do the symlink as we

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Bruce Momjian
Simon Riggs wrote: with values of: nothing:have network traffic send WAL as needed netflush: wait for flush of WAL network packets to slave process:wait for slave to process WAL traffic and optionally

Re: [HACKERS] Uncopied parameters on CREATE TABLE LIKE

2008-08-12 Thread Bruce Momjian
Is there a TODO here? --- ITAGAKI Takahiro wrote: Simon Riggs [EMAIL PROTECTED] wrote: On Thu, 2008-07-24 at 11:41 -0400, Tom Lane wrote: Now, if you're suggesting we need a plugin hook somewhere in or around

Re: [HACKERS] Replay attack of query cancel

2008-08-12 Thread Magnus Hagander
Andrew Gierth wrote: Tom == Tom Lane [EMAIL PROTECTED] writes: Alvaro Herrera [EMAIL PROTECTED] writes: I wonder if we can do something diffie-hellman'ish, where we have a parameter exchanged in the initial SSL'ed handshake, which is later used to generate new cancel keys each time

Re: [HACKERS] [DOCS] [ADMIN] shared_buffers and shmmax

2008-08-12 Thread Bruce Momjian
Greg Smith wrote: On Thu, 24 Jul 2008, Greg Sabino Mullane wrote: Bite the bullet and start showing the buffer settings as a pure number of bytes everywhere, and get rid of the confusing '8kB' unit in pg_settings? There's already some changes needed in this area needed to execute the

Re: [HACKERS] Uncopied parameters on CREATE TABLE LIKE

2008-08-12 Thread Simon Riggs
On Tue, 2008-08-12 at 13:34 -0400, Bruce Momjian wrote: Is there a TODO here? Yes, three: * create plugin API to allow extensible reloptions * allow reloptions to be copied when using INCLUDING DEFAULTS (if I got that right..) * allow new option to copy comments INCLUDING COMMENTS --

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Robert Haas
I can't speak for anyone else, but I much prefer packages that make use of my operating system's package management system rather than rolling their own. If I need a perl package that I can't get through yum, I build my own RPMs rather than installing through CPAN. I actually think that the

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Markus Wanner
Hi, Robert Haas wrote: I can't speak for anyone else, but I much prefer packages that make use of my operating system's package management system rather than rolling their own. If I need a perl package that I can't get through yum, I build my own RPMs rather than installing through CPAN. I

[HACKERS] SeqScan costs

2008-08-12 Thread Simon Riggs
If we access a 1 block table using a SeqScan then it costs seq_page_cost, or 1 by default. If we access the same 1 block table using an IndexScan then the access costs random_page_cost to access the index block and then random_page_cost to access to the data block. So the same block accessed

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Tom Lane
Simon Riggs [EMAIL PROTECTED] writes: On Tue, 2008-08-12 at 11:52 -0400, Bruce Momjian wrote: What is the attraction of logical application of the WAL logs? Transmitting to a server with different architecture? Yes, * different release * different encoding * different CPU architecture *

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Bruce Momjian
Markus Wanner wrote: Hi, Robert Haas wrote: I can't speak for anyone else, but I much prefer packages that make use of my operating system's package management system rather than rolling their own. If I need a perl package that I can't get through yum, I build my own RPMs rather than

Re: [HACKERS] [DOCS] [ADMIN] shared_buffers and shmmax

2008-08-12 Thread Greg Smith
On Tue, 12 Aug 2008, Bruce Momjian wrote: There's already some changes needed in this area needed to execute the full GUC cleanup/wizard plan that's being worked on. The pg_settings view really should show the value both as the user input it and as it's stored internally for cases like these,

Re: [HACKERS] SeqScan costs

2008-08-12 Thread Tom Lane
Simon Riggs [EMAIL PROTECTED] writes: Proposal: Make the first block of a seq scan cost random_page_cost, then after that every additional block costs seq_page_cost. This is only going to matter for a table of 1 block (or at least very few blocks), and for such a table it's highly likely that

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Simon Riggs
On Tue, 2008-08-12 at 15:40 -0400, Tom Lane wrote: Simon Riggs [EMAIL PROTECTED] writes: On Tue, 2008-08-12 at 11:52 -0400, Bruce Momjian wrote: What is the attraction of logical application of the WAL logs? Transmitting to a server with different architecture? Yes, * different

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Markus Wanner
Hi, Bruce Momjian wrote: .. an OS-agnostic way of installing packages. Uh.. I don't think such a thing exists. I realize many prefer their OS-native packaging system, but that isn't the target audience of a packaging system that will increase adoption. I'm just arguing that such a

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Bruce Momjian
Markus Wanner wrote: Hi, Bruce Momjian wrote: .. an OS-agnostic way of installing packages. Uh.. I don't think such a thing exists. Seems to in Firefox. I realize many prefer their OS-native packaging system, but that isn't the target audience of a packaging system that will

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread David E. Wheeler
On Aug 12, 2008, at 13:16, Bruce Momjian wrote: .. an OS-agnostic way of installing packages. Uh.. I don't think such a thing exists. Seems to in Firefox. And Perl's CPAN repository and installation module. Best, David -- Sent via pgsql-hackers mailing list

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Steve Atkins
On Aug 12, 2008, at 12:42 PM, Bruce Momjian wrote: Markus Wanner wrote: Hi, Robert Haas wrote: I can't speak for anyone else, but I much prefer packages that make use of my operating system's package management system rather than rolling their own. If I need a perl package that I can't get

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Robert Hodges
Hi Tom, Could you expand on why logical application of WAL records is impractical in these cases? This is what Oracle does. Moreover once you are into SQL a lot of other use cases immediately become practical, such as large scale master/slave set-ups for read scaling. Thanks, Robert On

Re: [HACKERS] SeqScan costs

2008-08-12 Thread Simon Riggs
On Tue, 2008-08-12 at 15:46 -0400, Tom Lane wrote: Simon Riggs [EMAIL PROTECTED] writes: Proposal: Make the first block of a seq scan cost random_page_cost, then after that every additional block costs seq_page_cost. This is only going to matter for a table of 1 block (or at least very

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Markus Wanner
Hi, Robert Hodges wrote: Could you expand on why logical application of WAL records is impractical in these cases? This is what Oracle does. Moreover once you are into SQL a lot of other use cases immediately become practical, such as large scale master/slave set-ups for read scaling. I

Re: [HACKERS] SeqScan costs

2008-08-12 Thread Andrew Gierth
Tom == Tom Lane [EMAIL PROTECTED] writes: Proposal: Make the first block of a seq scan cost random_page_cost, then after that every additional block costs seq_page_cost. Tom This is only going to matter for a table of 1 block (or at least Tom very few blocks), and for such a table it's

Re: [HACKERS] SeqScan costs

2008-08-12 Thread Gregory Stark
Simon Riggs [EMAIL PROTECTED] writes: On Tue, 2008-08-12 at 15:46 -0400, Tom Lane wrote: Simon Riggs [EMAIL PROTECTED] writes: Proposal: Make the first block of a seq scan cost random_page_cost, then after that every additional block costs seq_page_cost. This is only going to matter for

Re: [HACKERS] IN vs EXISTS equivalence

2008-08-12 Thread Decibel!
On Aug 11, 2008, at 3:40 PM, Gregory Stark wrote: Decibel! [EMAIL PROTECTED] writes: On Aug 8, 2008, at 3:23 PM, Tom Lane wrote: * has no set operations (UNION etc), grouping, set-returning functions in the SELECT list, LIMIT, or a few other funny cases Couldn't union/union all be treated

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Webb Sprague
.. an OS-agnostic way of installing packages. Uh.. I don't think such a thing exists. Seems to in Firefox. And Perl's CPAN repository and installation module. Don't forget the command line installation of packages for the R programming language. -- Sent via pgsql-hackers mailing list

Re: [HACKERS] temporary statistics option at initdb time

2008-08-12 Thread Decibel!
On Aug 12, 2008, at 12:27 PM, Magnus Hagander wrote: I don't think it'd be that hard to handle the SIGHUP case - just have the stats collector start writing it in the new location the next time it writes it out, and backends will start reading from there. There's a short window where the

[HACKERS] Planner question

2008-08-12 Thread Tom Raney
I've been working on a client application (based on the Red Hat Visual Explain tool) to display all plans the planner considers graphically and it does that. But, the trace functionality in the planner is always on (and thus, taking up cycles and resources) whether or not it is requested by

Re: [HACKERS] Uncopied parameters on CREATE TABLE LIKE

2008-08-12 Thread ITAGAKI Takahiro
Simon Riggs [EMAIL PROTECTED] wrote: On Tue, 2008-08-12 at 13:34 -0400, Bruce Momjian wrote: Is there a TODO here? Yes, three: * create plugin API to allow extensible reloptions Yes, and some index access methods (gist and gin) should have abilities to handle reloptions in user defined

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Robert Haas
.. an OS-agnostic way of installing packages. Uh.. I don't think such a thing exists. Seems to in Firefox. I think nearly all Firefox extensions are written in XML and Javascript. It's quite a bit easier to have an OS-agnostic way of installing packages when the packages are

Re: [HACKERS] SeqScan costs

2008-08-12 Thread Jeff Davis
On Tue, 2008-08-12 at 23:58 +0100, Gregory Stark wrote: People lower random_page_cost because we're not doing a good job estimating how much of a table is in cache. Is it because of a bad estimate about how much of a table is in cache, or a bad assumption about the distribution of access to a

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread David E. Wheeler
On Aug 12, 2008, at 18:12, Robert Haas wrote: I realize many prefer their OS-native packaging system, but that isn't the target audience of a packaging system that will increase adoption. Really? Who is it? Those of us who don't use packaging systems. And, we are legion. Best, David

[HACKERS] pgbench duration option

2008-08-12 Thread ITAGAKI Takahiro
Hello, Here is a patch to add duration option (-T) to pgbench instead of number of transactions (-t). -t and -T are mutually exclusive. $ pgbench -n -S -c10 -T10 transaction type: SELECT only scaling factor: 1 query mode: simple number of clients: 10 number of transactions actually processed:

Re: [HACKERS] temporary statistics option at initdb time

2008-08-12 Thread Euler Taveira de Oliveira
Robert Treat escreveu: On Saturday 09 August 2008 21:31:28 Euler Taveira de Oliveira wrote: Hi, After the Magnus patch [1], that make it possible store statistics files at another (RAM-based) disk, I was thinking that would be useful to add an option at initdb time to do the symlink as we

Re: [HACKERS] pgbench duration option

2008-08-12 Thread Tom Lane
ITAGAKI Takahiro [EMAIL PROTECTED] writes: Here is a patch to add duration option (-T) to pgbench instead of number of transactions (-t). -t and -T are mutually exclusive. This seems like a fairly bad idea, because it introduces a gettimeofday() call per transaction. On lots of (admittedly

Re: [HACKERS] Planner question

2008-08-12 Thread Tom Lane
Tom Raney [EMAIL PROTECTED] writes: My question is: How would I let the planner know when a planner session has been invoked by the explain command? If I can slip a flag into PlannerInfo or PlannerGlobal, that would be perfect. But, I'm a bit stuck on how to get explain context to that

Re: [HACKERS] SeqScan costs

2008-08-12 Thread Tom Lane
Gregory Stark [EMAIL PROTECTED] writes: On Tue, 2008-08-12 at 15:46 -0400, Tom Lane wrote: This is only going to matter for a table of 1 block (or at least very few blocks), and for such a table it's highly likely that it's in RAM anyway. So I'm unconvinced that the proposed change represents

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Tom Lane
Markus Wanner [EMAIL PROTECTED] writes: Robert Hodges wrote: Could you expand on why logical application of WAL records is impractical in these cases? This is what Oracle does. Moreover once you are into SQL a lot of other use cases immediately become practical, such as large scale

Re: [HACKERS] temporary statistics option at initdb time

2008-08-12 Thread Tom Lane
Decibel! [EMAIL PROTECTED] writes: I disagree. While we don't guarantee stats are absolutely up-to-date, or atomic I don't think that gives license for them to just magically not exist sometimes. Would it really be that hard to have the system copy the file out before telling all the

Re: [HACKERS] SeqScan costs

2008-08-12 Thread Simon Riggs
On Tue, 2008-08-12 at 23:58 +0100, Gregory Stark wrote: Simon Riggs [EMAIL PROTECTED] writes: On Tue, 2008-08-12 at 15:46 -0400, Tom Lane wrote: Simon Riggs [EMAIL PROTECTED] writes: Proposal: Make the first block of a seq scan cost random_page_cost, then after that every additional

Re: [HACKERS] Replay attack of query cancel

2008-08-12 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] writes: Andrew Gierth wrote: That's easily solved: when the client wants to do a cancel, have it send, in place of the actual cancel key, an integer N and the value HMAC(k,N) where k is the cancel key. Replay is prevented by requiring the value of N to be

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Alvaro Herrera
Tom Lane wrote: What I think Simon was actually driving at was query-shipping, which is not my idea of WAL at all. It has some usefulness, but also a bunch of downsides of its very own, mostly centered around reproducibility. With the current WAL design I have some faith that the slaves

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Robert Hodges
Hi Tom, Part of this is semantics-I like Simon's logical vs. physical terminology because it distinguishes neatly between replication that copies implementation down to OIDs etc. and replication that copies data content including schema changes but not implementation. It seems a noble goal

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: Tom Lane wrote: What I think Simon was actually driving at was query-shipping, which is not my idea of WAL at all. It has some usefulness, but also a bunch of downsides of its very own, mostly centered around reproducibility. Actually I think the

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Bruce Momjian
Robert Haas wrote: .. an OS-agnostic way of installing packages. Uh.. I don't think such a thing exists. Seems to in Firefox. I think nearly all Firefox extensions are written in XML and Javascript. It's quite a bit easier to have an OS-agnostic way of installing packages when the

Re: [HACKERS] Transaction-controlled robustness for replication

2008-08-12 Thread Alvaro Herrera
Tom Lane wrote: Alvaro Herrera [EMAIL PROTECTED] writes: Tom Lane wrote: What I think Simon was actually driving at was query-shipping, which is not my idea of WAL at all. It has some usefulness, but also a bunch of downsides of its very own, mostly centered around reproducibility.

Re: [HACKERS] Plugin system like Firefox

2008-08-12 Thread Dann Corbit
-Original Message- From: [EMAIL PROTECTED] [mailto:pgsql-hackers- [EMAIL PROTECTED] On Behalf Of Bruce Momjian Sent: Tuesday, August 12, 2008 9:04 PM To: Robert Haas Cc: Markus Wanner; Matthew T. O'Connor; Tom Lane; Greg Sabino Mullane; pgsql-hackers@postgresql.org Subject: Re:

Re: [HACKERS] pgbench duration option

2008-08-12 Thread ITAGAKI Takahiro
Tom Lane [EMAIL PROTECTED] wrote: ITAGAKI Takahiro [EMAIL PROTECTED] writes: Here is a patch to add duration option (-T) to pgbench instead of number of transactions (-t). -t and -T are mutually exclusive. This seems like a fairly bad idea, because it introduces a gettimeofday() call