pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #10294: DROP DOMAIN IF EXISTS does not work as expected if schema does not exist also
2+ messages / 2 participants
[nested] [flat]
* BUG #10294: DROP DOMAIN IF EXISTS does not work as expected if schema does not exist also
@ 2014-05-12 11:48 ales.kratochvil@t-mobile.cz
2014-05-12 14:50 ` Re: BUG #10294: DROP DOMAIN IF EXISTS does not work as expected if schema does not exist also Pavel Stehule <pavel.stehule@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: ales.kratochvil@t-mobile.cz @ 2014-05-12 11:48 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 10294
Logged by: Aleš Kratochvíl
Email address: ales.kratochvil@t-mobile.cz
PostgreSQL version: 9.3.4
Operating system: Windows XP 32-bit
Description:
----------------------------------------------
-- Drop LO Domain
----------------------------------------------
DROP DOMAIN IF EXISTS "EA_Repository".LO;
ERROR: schema "EA_Repository" does not exist
********** Chyba **********
ERROR: schema "EA_Repository" does not exist
Stav SQL: 3F000
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #10294: DROP DOMAIN IF EXISTS does not work as expected if schema does not exist also
2014-05-12 11:48 BUG #10294: DROP DOMAIN IF EXISTS does not work as expected if schema does not exist also ales.kratochvil@t-mobile.cz
@ 2014-05-12 14:50 ` Pavel Stehule <pavel.stehule@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Stehule @ 2014-05-12 14:50 UTC (permalink / raw)
To: ales.kratochvil@t-mobile.cz; +Cc: pgsql-bugs
Hello
In this moment, this behave is expected. But DROP IF EXISTS statement was
refactored in 9.4
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b152c6cd0de1827ba58756e24e18110cf9...
postgres=# DROP DOMAIN IF EXISTS "EA_Repository".LO;
NOTICE: schema "EA_Repository" does not exist, skipping
DROP DOMAIN
postgres=#
postgres=# select version();
version
-----------------------------------------------------------------------------------------------------------------
PostgreSQL 9.4beta1 on x86_64-unknown-linux-gnu, compiled by gcc (GCC)
4.8.2 20131212 (Red Hat 4.8.2-7), 64-bit
(1 row)
Regards
Pavel Stehule
2014-05-12 13:48 GMT+02:00 <ales.kratochvil@t-mobile.cz>:
> The following bug has been logged on the website:
>
> Bug reference: 10294
> Logged by: Aleš Kratochvíl
> Email address: ales.kratochvil@t-mobile.cz
> PostgreSQL version: 9.3.4
> Operating system: Windows XP 32-bit
> Description:
>
> ----------------------------------------------
> -- Drop LO Domain
> ----------------------------------------------
> DROP DOMAIN IF EXISTS "EA_Repository".LO;
>
> ERROR: schema "EA_Repository" does not exist
> ********** Chyba **********
>
> ERROR: schema "EA_Repository" does not exist
> Stav SQL: 3F000
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2014-05-12 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-05-12 11:48 BUG #10294: DROP DOMAIN IF EXISTS does not work as expected if schema does not exist also ales.kratochvil@t-mobile.cz
2014-05-12 14:50 ` Pavel Stehule <pavel.stehule@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox