Skip to content
Snippets Groups Projects
  • Alvaro Herrera's avatar
    b152c6cd
    Make DROP IF EXISTS more consistently not fail · b152c6cd
    Alvaro Herrera authored
    Some cases were still reporting errors and aborting, instead of a NOTICE
    that the object was being skipped.  This makes it more difficult to
    cleanly handle pg_dump --clean, so change that to instead skip missing
    objects properly.
    
    Per bug #7873 reported by Dave Rolsky; apparently this affects a large
    number of users.
    
    Authors: Pavel Stehule and Dean Rasheed.  Some tweaks by Álvaro Herrera
    b152c6cd
    History
    Make DROP IF EXISTS more consistently not fail
    Alvaro Herrera authored
    Some cases were still reporting errors and aborting, instead of a NOTICE
    that the object was being skipped.  This makes it more difficult to
    cleanly handle pg_dump --clean, so change that to instead skip missing
    objects properly.
    
    Per bug #7873 reported by Dave Rolsky; apparently this affects a large
    number of users.
    
    Authors: Pavel Stehule and Dean Rasheed.  Some tweaks by Álvaro Herrera