Question about concurrent synchronous and asynchronous commits - Mailing list pgsql-general

From Dan Birken
Subject Question about concurrent synchronous and asynchronous commits
Date
Msg-id AANLkTim6Y7aFYOqUk2TkPvQJoNLQA2P80U4PBw_-7TX4@mail.gmail.com
Whole thread Raw
Responses Re: Question about concurrent synchronous and asynchronous commits
List pgsql-general
I notice on the documentation page about Asynchronous Commit (http://www.postgresql.org/docs/8.3/static/wal-async-commit.html), it says the follow "The user can select the commit mode of each transaction, so that it is possible to have both synchronous and asynchronous commit transactions running concurrently".  Now out of curiously, I have a couple questions about the details of this.

If I commit asynchronously and then follow that with a synchronous commit, does that flush the asynchronous commit as well?

Is the WAL strictly linear in that commit order must always replay back in the order that transactions return on the server, regardless of whether they are asynchronous or synchronous?

Thanks,
Dan

pgsql-general by date:

Previous
From: Kenneth Buckler
Date:
Subject: Re: Postgres in FIPS
Next
From: zab08
Date:
Subject: My DataBase can't accept conntecion