[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:
parent
be64a88083
commit
b72961dbfb
@ -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);
|
||||
|
||||
/**
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user