[jOOQ/jOOQ#8835] Remove POSTGRES support for ALTER SCHEMA IF EXISTS

Postgres does not actually implement the `ALTER SCHEMA ... IF EXISTS`
clause.
This commit is contained in:
Knut Wannheden 2019-06-25 09:23:35 +02:00
parent be64a88083
commit b72961dbfb
2 changed files with 6 additions and 6 deletions

View File

@ -9376,7 +9376,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterSchemaIfExists(String)
*/
@Support({ H2, POSTGRES })
@Support({ H2 })
AlterSchemaStep alterSchemaIfExists(String schema);
/**
@ -9384,7 +9384,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterSchemaIfExists(Name)
*/
@Support({ H2, POSTGRES })
@Support({ H2 })
AlterSchemaStep alterSchemaIfExists(Name schema);
/**
@ -9392,7 +9392,7 @@ public interface DSLContext extends Scope , AutoCloseable {
*
* @see DSL#alterSchemaIfExists(Schema)
*/
@Support({ H2, POSTGRES })
@Support({ H2 })
AlterSchemaStep alterSchemaIfExists(Schema schema);
/**

View File

@ -7441,7 +7441,7 @@ public class DSL {
*
* @see DSLContext#alterSchemaIfExists(String)
*/
@Support({ H2, POSTGRES })
@Support({ H2 })
public static AlterSchemaStep alterSchemaIfExists(String schema) {
return dsl().alterSchemaIfExists(schema);
}
@ -7451,7 +7451,7 @@ public class DSL {
*
* @see DSLContext#alterSchemaIfExists(Name)
*/
@Support({ H2, POSTGRES })
@Support({ H2 })
public static AlterSchemaStep alterSchemaIfExists(Name schema) {
return dsl().alterSchemaIfExists(schema);
}
@ -7461,7 +7461,7 @@ public class DSL {
*
* @see DSLContext#alterSchemaIfExists(Schema)
*/
@Support({ H2, POSTGRES })
@Support({ H2 })
public static AlterSchemaStep alterSchemaIfExists(Schema schema) {
return dsl().alterSchemaIfExists(schema);
}