Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

drop_table shouldn't care

#2888

When I go to drop a table, it shouldn't matter if it doesn't exist because I'm about to drop it anyway.

Please, let sanity prevail here.

Reported by Ryan Bigg · July 9th, 2009 @ 06:23 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Ryan Bigg
    Ryan Bigg

    Whoops, get your SQL right Ryan.

    July 9th, 2009 @ 06:26 AM

  2. Francesc Esplugas
    Francesc Esplugas

    Makes sense if database supports it.

    PostgreSQL 7 doesn't support it.

    July 9th, 2009 @ 08:08 AM

  3. Pratik
    Pratik

    It does matter if the table exists or not. If it doesn't exist, drop operation should be a failure.

    July 9th, 2009 @ 01:09 PM

  4. Pratik
    Pratik
    • State changed from new to invalid

    July 9th, 2009 @ 01:12 PM

  5. Ryan Bigg
    Ryan Bigg

    I couldn't disagree more. Why should we care if it exists before making it non-existant?

    July 10th, 2009 @ 04:16 AM