non intuitive behaviour of DROP TABLE IF EXISTS

Поиск
Список
Период
Сортировка
От Manlio Perillo
Тема non intuitive behaviour of DROP TABLE IF EXISTS
Дата
Msg-id 4B8FE141.9010007@gmail.com
обсуждение исходный текст
Ответы Re: non intuitive behaviour of DROP TABLE IF EXISTS
Список pgsql-general
-----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: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuP4UEACgkQscQJ24LbaURLWQCfVoKqOdnIzX0asSTbDnMJXV8M
WzoAniLEibeav+KLm6LbhWhxIiJWSGMG
=X1nb
-----END PGP SIGNATURE-----

В списке pgsql-general по дате отправления: