[jOOQ/jOOQ#2682] Remove PolicyStatement again

PostgreSQL's feature where policies can apply to statements (or commands, such as SELECT, INSERT, UPDATE, DELETE) may be a bit overengineered for jOOQ. It would be very hard to re-implement the same semantics as PostgreSQL, in particular because we also cannot distinguish between USING and CHECK semantics easily.

As such, let's keep things simple and implement only ALL semantics.
This commit is contained in:
Lukas Eder 2023-09-27 15:09:46 +02:00
parent 59c268f7c0
commit d8dcff48da
12 changed files with 0 additions and 128 deletions

View File

@ -57,12 +57,6 @@ package org.jooq;

View File

@ -65,6 +65,5 @@ package org.jooq;

View File

@ -1,92 +0,0 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Other licenses:
* -----------------------------------------------------------------------------
* Commercial licenses for this work are available. These replace the above
* ASL 2.0 and offer limited warranties, support, maintenance, and commercial
* database integrations.
*
* For more information, please visit: https://www.jooq.org/legal/licensing
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.jooq;

View File

@ -89,7 +89,6 @@ import org.jooq.InverseForeignKey;
import org.jooq.JoinType;
import org.jooq.LanguageContext;
// ...
// ...
import org.jooq.QueryPart;
import org.jooq.QueryPartInternal;
import org.jooq.RenderContext;
@ -1238,7 +1237,6 @@ abstract class AbstractContext<C extends Context<C>> extends AbstractScope imple
for (Entry<ForeignKey<?, ?>, JoinNode> e : pathsToOne.entrySet()) {
Table<?> t = e.getValue().joinTree();

View File

@ -49,4 +49,3 @@ package org.jooq.impl;

View File

@ -57,26 +57,6 @@ package org.jooq.impl;

View File

@ -109,7 +109,6 @@ import org.jooq.Field;
import org.jooq.Operator;
import org.jooq.OrderField;
// ...
// ...
import org.jooq.QueryPart;
import org.jooq.Record;
// ...

View File

@ -45,7 +45,6 @@ import static org.jooq.tools.StringUtils.defaultIfNull;
import org.jooq.Condition;
import org.jooq.Context;
// ...
import org.jooq.QueryPart;
import org.jooq.Record;
// ...

View File

@ -147,7 +147,6 @@ import org.jooq.MergeOnConditionStep;
import org.jooq.Name;
import org.jooq.Operator;
// ...
// ...
import org.jooq.QueryPart;
import org.jooq.Record;
// ...

View File

@ -288,7 +288,6 @@ import org.jooq.OrderField;
import org.jooq.Param;
// ...
// ...
// ...
import org.jooq.QualifiedAsterisk;
import org.jooq.QueryPart;
import org.jooq.Record;

View File

@ -62,7 +62,6 @@ import org.jooq.DataType;
import org.jooq.Field;
import org.jooq.GeneratorStatementType;
import org.jooq.Name;
// ...
import org.jooq.Record;
import org.jooq.RowId;
import org.jooq.Table;

View File

@ -119,7 +119,6 @@ import org.jooq.FieldOrRowOrSelect;
import org.jooq.Operator;
import org.jooq.OrderField;
// ...
// ...
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.Record1;