title: How to kill postgres processes that won't die?
body: <p>I have the following processes running per <code>ps aux | grep postgres</code></p>
  
  <blockquote>
    <p>postgres         8720   0.0  0.0  2492848   5652   ??  SN    2:33PM<br>
    0:00.04
    /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker
    -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared postgres          495   0.0  0.0  2514428   1776   ??  S     1:57PM   0:00.07
    /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter
    postgres          491   0.0  1.0  2669764 166180   ??  Ss    1:57PM<br>
    0:10.31 com.apple.IconServicesAgent postgres          490   0.0  0.0 
    2505832   2884   ??  Ss    1:57PM   0:00.07 /usr/libexec/xpcd postgres
    485   0.0  0.0  2514284   1284   ??  S     1:57PM   0:00.07
    /usr/sbin/cfprefsd agent postgres          484   0.0  0.0  2536788<br>
    1708   ??  S     1:57PM   0:00.06 /usr/sbin/distnoted agent postgres<br>
    479   0.0  0.0  2508256   1100   ??  Ss    1:57PM   0:00.06
    /sbin/launchd postgres          427   0.0  0.0  2493792    608   ?? 
    Ss    1:55PM   0:00.02 postgres: stats collector process     postgres 
    426   0.0  0.0  2654624   2208   ??  Ss    1:55PM   0:00.02 postgres:
    autovacuum launcher process     postgres          425   0.0  0.0 
    2646300    764   ??  Ss    1:55PM   0:00.03 postgres: wal writer
    process     postgres          424   0.0  0.0  2638108   1608   ??  Ss 
    1:55PM   0:00.07 postgres: writer process     postgres          423<br>
    0.0  0.0  2638108    836   ??  Ss    1:55PM   0:00.00 postgres: checkpointer process     postgres          419   0.0  0.0  2493792<br>
    500   ??  Ss    1:55PM   0:00.00 postgres: logger process     postgres
    85   0.0  0.1  2638108  13844   ??  Ss    1:55PM   0:00.04
    /Library/PostgreSQL/9.3/bin/postmaster -D/Library/PostgreSQL/9.3/data
    Username       8910   0.0  0.0  2432784    612 s003  R+    2:35PM<br>
    0:00.00 grep postgres</p>
  </blockquote>
  
  <p>I want them dead! </p>
  
  <p>But killall postgres gives me:</p>
  
  <pre><code>No matching processes belonging to you were found
  </code></pre>
  
  <p>I understand I need to use:</p>
  
  <pre><code>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`
  </code></pre>
  
  <p>But I do not understand this command.</p>
  
  <p>Guidance is appreciated. Long frustrating morning!</p>