psql use of 'volatile'

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Date: 2000-06-29T16:17:19Z
Lists: pgsql-hackers
Can someone explain why 'volatile' is used in psql/mainloop.c?  Seems
volatile is only for hardware-specific variables that can not be
optimized.


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026