Re: [GENERAL] non intuitive behaviour of DROP TABLE IF EXISTS

2010-03-07 Thread Adrian von Bidder
On Sunday 07 March 2010 02.49:29 Bruce Momjian wrote: > Manlio Perillo wrote: > > I think the following behaviour is not intuitive: > > > > manlio=> DROP TABLE IF EXISTS foo.bar; > > ERROR: schema "foo" does not exist > > > > The statement should not fail if the schema does not exist > > Hmm.

Re: [GENERAL] non intuitive behaviour of DROP TABLE IF EXISTS

2010-03-06 Thread Bruce Momjian
Manlio Perillo wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi. > > I think the following behaviour is not intuitive: > > manlio=> DROP TABLE IF EXISTS foo.bar; > ERROR: schema "foo" does not exist > > The statement should not fail if the schema does not exist Hmm. Well, it s

[GENERAL] non intuitive behaviour of DROP TABLE IF EXISTS

2010-03-04 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I think the following behaviour is not intuitive: manlio=> DROP TABLE IF EXISTS foo.bar; ERROR: schema "foo" does not exist The statement should not fail if the schema does not exist Thanks Manlio -BEGIN PGP SIGNATURE- Version: GnuP