hi shammat,
the log file will say like this
LOG: database system was shut down at 2011-05-07 10:50:51 IST
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
LOG: server process (PID 3404) was terminated by exception 0xC000013A
HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
LOG: terminating any other active server processes
LOG: statistics collector process (PID 1724) was terminated by exception 0xC000013A
HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
LOG: all server processes terminated; reinitializing
LOG: database system was interrupted; last known up at 2011-05-07 10:50:51 IST
LOG: database system was not properly shut down; automatic recovery in progress
LOG: record with zero length at 0/4FF8D0
LOG: redo is not required