I come from an Oracle background so I am used to a few rules when it comes to DDL.
- Don't perform DDL in a production database until you've done it in a test instance.
- DDL is permanent unless you have flashback or want to restore.
In Oracle, I would have several options to recover my data. For one, the create would automatically have committed. But in Oracle, I wouldn't have needed the table, I would just flashback and restore my data.
Fortunately, this was just a test bed database and the data isn't really critical. Had it been critical, I would have taken steps to be sure it was backed up. So, no big deal really.
And, yeah, I know Ingres and SQL Server (and probably Sybase) work like Postgres. Doesn't make it a good thing.
My next whine will be transaction control is stored procedures. But at least that will be coming from EnterpriseDB at some point.
|