diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-07-17 18:37:39 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-07-17 18:38:20 -0400 |
commit | 89779bf2c8f9aa480e0ceb8883f93e9d65c43a6e (patch) | |
tree | 53e96dcd4762a0f371248c4a8141289224acb24e /src/backend/executor/nodeModifyTable.c | |
parent | 107cbc90a7564b6cd773c56ad3da8b66c7377df5 (diff) | |
download | postgresql-89779bf2c8f9aa480e0ceb8883f93e9d65c43a6e.tar.gz postgresql-89779bf2c8f9aa480e0ceb8883f93e9d65c43a6e.zip |
Fix a few problems in barrier.h.
On HPPA, implement pg_memory_barrier() as pg_compiler_barrier(), which
should be correct since this arch doesn't do memory access reordering,
and is anyway better than the completely-nonfunctional-on-this-arch
dummy_spinlock code. (But note this patch only fixes things for gcc,
not for builds with HP's compiler.)
Also, fix incorrect default definition of pg_memory_barrier as a macro
requiring an argument.
Also, fix incorrect spelling of "#elif" as "#else if" in icc code path
(spotted by pgindent).
This doesn't come close to fixing all of the functional and stylistic
deficiencies in barrier.h, but at least it un-breaks my personal build.
Now that we're actually using barriers in the code, this file is going
to need some serious attention.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions