test commit_delay - Mailing list pgsql-admin

From A J
Subject test commit_delay
Date
Msg-id 1311784429.95728.YahooMailNeo@web120001.mail.ne1.yahoo.com
Whole thread Raw
Responses Re: test commit_delay  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-admin
I am trying to see the impact of commit_delay.
Set it to 100000 (microseconds), i.e. to 100ms
synchronous_commit is kept to default (i.e. ON)

Now I expect my DML statements to take atleast 100ms. But when I try to execute a few and measure using the timing command of postgres or the time command of linux, the duration is just a few milliseconds.
time /usr/local/pgsql/bin/psql -c "insert into abc values(1);" test
INSERT 0 1
real    0m0.010s
user    0m0.000s
sys     0m0.000s

OR

test=# \timing
Timing is on.
test=# insert into abc values(1);
INSERT 0 1
Time: 2.637 ms


What am I doing wrong ?

Thanks.

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?
Next
From: Glyn Astill
Date:
Subject: Re: Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?