From 19a61d2214cd3aeb0e2bde583f4e0a115eaaa3ea Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Mon, 20 Jan 2020 15:54:09 +0100 Subject: [PATCH] [jOOQ/jOOQ#9200] Use COLUMNS.IS_IDENTITY for PostgreSQL 10+ As of PostgreSQL 10.0 the column `INFORMATION_SCHEMA.COLUMNS.IS_IDENTITY` can be used to determine whether a column represents a table's identity column or not. This is now used by jOOQ's code generator and for older releases it will continue to check wheter the default value (i.e. using `INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT`) starts with `NEXTVAL`. --- .../jooq/meta/postgres/PostgresDatabase.java | 11 ++ .../postgres/PostgresTableDefinition.java | 9 +- .../information_schema/DefaultCatalog.java | 13 +- .../information_schema/InformationSchema.java | 33 ++-- .../postgres/pg_catalog/DefaultCatalog.java | 13 +- .../meta/postgres/pg_catalog/PgCatalog.java | 43 +++--- .../meta/postgres/pg_catalog/Routines.java | 4 +- .../jooq/meta/postgres/pg_catalog/Tables.java | 30 ++-- .../postgres/pg_catalog/routines/Count1.java | 9 +- .../postgres/pg_catalog/routines/Count2.java | 5 +- .../pg_catalog/routines/FormatType.java | 9 +- .../postgres/pg_catalog/tables/PgAttrdef.java | 29 ++-- .../pg_catalog/tables/PgAttribute.java | 66 ++++---- .../postgres/pg_catalog/tables/PgClass.java | 87 +++++------ .../pg_catalog/tables/PgCollation.java | 37 ++--- .../pg_catalog/tables/PgConstraint.java | 76 ++++------ .../pg_catalog/tables/PgDescription.java | 19 +-- .../postgres/pg_catalog/tables/PgEnum.java | 22 ++- .../postgres/pg_catalog/tables/PgIndex.java | 55 +++---- .../pg_catalog/tables/PgInherits.java | 17 +-- .../pg_catalog/tables/PgNamespace.java | 22 ++- .../postgres/pg_catalog/tables/PgProc.java | 76 +++++----- .../pg_catalog/tables/PgSequence.java | 143 ++++++++++++++++++ .../postgres/pg_catalog/tables/PgType.java | 78 +++++----- 24 files changed, 487 insertions(+), 419 deletions(-) create mode 100644 jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgSequence.java diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresDatabase.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresDatabase.java index 1065f86364..d092c8b6d7 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresDatabase.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresDatabase.java @@ -78,6 +78,7 @@ import static org.jooq.meta.postgres.pg_catalog.Tables.PG_INDEX; import static org.jooq.meta.postgres.pg_catalog.Tables.PG_INHERITS; import static org.jooq.meta.postgres.pg_catalog.Tables.PG_NAMESPACE; import static org.jooq.meta.postgres.pg_catalog.Tables.PG_PROC; +import static org.jooq.meta.postgres.pg_catalog.Tables.PG_SEQUENCE; import static org.jooq.meta.postgres.pg_catalog.Tables.PG_TYPE; import static org.jooq.util.postgres.PostgresDSL.array; import static org.jooq.util.postgres.PostgresDSL.arrayAppend; @@ -157,6 +158,7 @@ public class PostgresDatabase extends AbstractDatabase { private static Boolean is84; private static Boolean is94; + private static Boolean is10; private static Boolean is11; private static Boolean canUseRoutines; private static Boolean canCastToEnumType; @@ -901,6 +903,15 @@ public class PostgresDatabase extends AbstractDatabase { return is94; } + boolean is10() { + + // [#7785] pg_sequence was added in PostgreSQL 10 only + if (is10 == null) + is10 = exists(PG_SEQUENCE.SEQRELID); + + return is10; + } + boolean is11() { // [#7785] pg_proc.prokind was added in PostgreSQL 11 only, and diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresTableDefinition.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresTableDefinition.java index dbc979e5f7..0ba69c940d 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresTableDefinition.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/PostgresTableDefinition.java @@ -41,6 +41,7 @@ package org.jooq.meta.postgres; import static org.jooq.impl.DSL.inline; import static org.jooq.impl.DSL.name; import static org.jooq.impl.DSL.nvl; +import static org.jooq.impl.DSL.val; import static org.jooq.impl.DSL.when; import static org.jooq.meta.postgres.information_schema.Tables.COLUMNS; import static org.jooq.meta.postgres.pg_catalog.Tables.PG_ATTRIBUTE; @@ -82,6 +83,7 @@ public class PostgresTableDefinition extends AbstractTableDefinition { + for (Record record : create().select( COLUMNS.COLUMN_NAME, COLUMNS.ORDINAL_POSITION, @@ -93,6 +95,7 @@ public class PostgresTableDefinition extends AbstractTableDefinition { when(COLUMNS.UDT_NAME.eq(inline("_varchar")), PG_ATTRIBUTE.ATTTYPMOD.sub(inline(4)))).as(COLUMNS.CHARACTER_MAXIMUM_LENGTH), COLUMNS.NUMERIC_PRECISION, COLUMNS.NUMERIC_SCALE, + (database.is10() ? COLUMNS.IS_IDENTITY : val(null, String.class)).as(COLUMNS.IS_IDENTITY), COLUMNS.IS_NULLABLE, COLUMNS.COLUMN_DEFAULT, COLUMNS.UDT_SCHEMA, @@ -144,7 +147,11 @@ public class PostgresTableDefinition extends AbstractTableDefinition { record.get(COLUMNS.COLUMN_NAME), record.get(COLUMNS.ORDINAL_POSITION, int.class), type, - defaultString(record.get(COLUMNS.COLUMN_DEFAULT)).trim().toLowerCase().startsWith("nextval"), + database.is10() ? record.get(COLUMNS.IS_IDENTITY, boolean.class) + : defaultString(record.get(COLUMNS.COLUMN_DEFAULT)) + .trim() + .toLowerCase() + .startsWith("nextval"), record.get(PG_DESCRIPTION.DESCRIPTION) ); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/DefaultCatalog.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/DefaultCatalog.java index bb491a9b7e..9c1740c1d3 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/DefaultCatalog.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/DefaultCatalog.java @@ -4,7 +4,6 @@ package org.jooq.meta.postgres.information_schema; -import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -18,17 +17,17 @@ import org.jooq.impl.CatalogImpl; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class DefaultCatalog extends CatalogImpl { - private static final long serialVersionUID = -804841712; + private static final long serialVersionUID = 1692669599; /** - * The reference instance of + * The reference instance of DEFAULT_CATALOG */ public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog(); /** * The schema information_schema. */ - public final InformationSchema INFORMATION_SCHEMA = org.jooq.meta.postgres.information_schema.InformationSchema.INFORMATION_SCHEMA; + public final InformationSchema INFORMATION_SCHEMA = InformationSchema.INFORMATION_SCHEMA; /** * No further instances allowed @@ -39,12 +38,6 @@ public class DefaultCatalog extends CatalogImpl { @Override public final List getSchemas() { - List result = new ArrayList(); - result.addAll(getSchemas0()); - return result; - } - - private final List getSchemas0() { return Arrays.asList( InformationSchema.INFORMATION_SCHEMA); } diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/InformationSchema.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/InformationSchema.java index 9b1a8c0aa2..f07edaf8bd 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/InformationSchema.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/information_schema/InformationSchema.java @@ -4,7 +4,6 @@ package org.jooq.meta.postgres.information_schema; -import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -31,7 +30,7 @@ import org.jooq.meta.postgres.information_schema.tables.Tables; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class InformationSchema extends SchemaImpl { - private static final long serialVersionUID = -1162303064; + private static final long serialVersionUID = -756918565; /** * The reference instance of information_schema @@ -41,62 +40,62 @@ public class InformationSchema extends SchemaImpl { /** * The table information_schema.attributes. */ - public final Attributes ATTRIBUTES = org.jooq.meta.postgres.information_schema.tables.Attributes.ATTRIBUTES; + public final Attributes ATTRIBUTES = Attributes.ATTRIBUTES; /** * The table information_schema.check_constraints. */ - public final CheckConstraints CHECK_CONSTRAINTS = org.jooq.meta.postgres.information_schema.tables.CheckConstraints.CHECK_CONSTRAINTS; + public final CheckConstraints CHECK_CONSTRAINTS = CheckConstraints.CHECK_CONSTRAINTS; /** * The table information_schema.columns. */ - public final Columns COLUMNS = org.jooq.meta.postgres.information_schema.tables.Columns.COLUMNS; + public final Columns COLUMNS = Columns.COLUMNS; /** * The table information_schema.constraint_column_usage. */ - public final ConstraintColumnUsage CONSTRAINT_COLUMN_USAGE = org.jooq.meta.postgres.information_schema.tables.ConstraintColumnUsage.CONSTRAINT_COLUMN_USAGE; + public final ConstraintColumnUsage CONSTRAINT_COLUMN_USAGE = ConstraintColumnUsage.CONSTRAINT_COLUMN_USAGE; /** * The table information_schema.key_column_usage. */ - public final KeyColumnUsage KEY_COLUMN_USAGE = org.jooq.meta.postgres.information_schema.tables.KeyColumnUsage.KEY_COLUMN_USAGE; + public final KeyColumnUsage KEY_COLUMN_USAGE = KeyColumnUsage.KEY_COLUMN_USAGE; /** * The table information_schema.parameters. */ - public final Parameters PARAMETERS = org.jooq.meta.postgres.information_schema.tables.Parameters.PARAMETERS; + public final Parameters PARAMETERS = Parameters.PARAMETERS; /** * The table information_schema.referential_constraints. */ - public final ReferentialConstraints REFERENTIAL_CONSTRAINTS = org.jooq.meta.postgres.information_schema.tables.ReferentialConstraints.REFERENTIAL_CONSTRAINTS; + public final ReferentialConstraints REFERENTIAL_CONSTRAINTS = ReferentialConstraints.REFERENTIAL_CONSTRAINTS; /** * The table information_schema.routines. */ - public final Routines ROUTINES = org.jooq.meta.postgres.information_schema.tables.Routines.ROUTINES; + public final Routines ROUTINES = Routines.ROUTINES; /** * The table information_schema.schemata. */ - public final Schemata SCHEMATA = org.jooq.meta.postgres.information_schema.tables.Schemata.SCHEMATA; + public final Schemata SCHEMATA = Schemata.SCHEMATA; /** * The table information_schema.sequences. */ - public final Sequences SEQUENCES = org.jooq.meta.postgres.information_schema.tables.Sequences.SEQUENCES; + public final Sequences SEQUENCES = Sequences.SEQUENCES; /** * The table information_schema.table_constraints. */ - public final TableConstraints TABLE_CONSTRAINTS = org.jooq.meta.postgres.information_schema.tables.TableConstraints.TABLE_CONSTRAINTS; + public final TableConstraints TABLE_CONSTRAINTS = TableConstraints.TABLE_CONSTRAINTS; /** * The table information_schema.tables. */ - public final Tables TABLES = org.jooq.meta.postgres.information_schema.tables.Tables.TABLES; + public final Tables TABLES = Tables.TABLES; /** * No further instances allowed @@ -113,12 +112,6 @@ public class InformationSchema extends SchemaImpl { @Override public final List> getTables() { - List result = new ArrayList(); - result.addAll(getTables0()); - return result; - } - - private final List> getTables0() { return Arrays.>asList( Attributes.ATTRIBUTES, CheckConstraints.CHECK_CONSTRAINTS, diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/DefaultCatalog.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/DefaultCatalog.java index 57da17ab19..620bf1cbe6 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/DefaultCatalog.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/DefaultCatalog.java @@ -4,7 +4,6 @@ package org.jooq.meta.postgres.pg_catalog; -import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -18,17 +17,17 @@ import org.jooq.impl.CatalogImpl; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class DefaultCatalog extends CatalogImpl { - private static final long serialVersionUID = -1568979925; + private static final long serialVersionUID = 2096040957; /** - * The reference instance of + * The reference instance of DEFAULT_CATALOG */ public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog(); /** * The schema pg_catalog. */ - public final PgCatalog PG_CATALOG = org.jooq.meta.postgres.pg_catalog.PgCatalog.PG_CATALOG; + public final PgCatalog PG_CATALOG = PgCatalog.PG_CATALOG; /** * No further instances allowed @@ -39,12 +38,6 @@ public class DefaultCatalog extends CatalogImpl { @Override public final List getSchemas() { - List result = new ArrayList(); - result.addAll(getSchemas0()); - return result; - } - - private final List getSchemas0() { return Arrays.asList( PgCatalog.PG_CATALOG); } diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/PgCatalog.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/PgCatalog.java index c5a5fe4c90..0c2c516758 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/PgCatalog.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/PgCatalog.java @@ -4,7 +4,6 @@ package org.jooq.meta.postgres.pg_catalog; -import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -22,6 +21,7 @@ import org.jooq.meta.postgres.pg_catalog.tables.PgIndex; import org.jooq.meta.postgres.pg_catalog.tables.PgInherits; import org.jooq.meta.postgres.pg_catalog.tables.PgNamespace; import org.jooq.meta.postgres.pg_catalog.tables.PgProc; +import org.jooq.meta.postgres.pg_catalog.tables.PgSequence; import org.jooq.meta.postgres.pg_catalog.tables.PgType; @@ -31,7 +31,7 @@ import org.jooq.meta.postgres.pg_catalog.tables.PgType; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgCatalog extends SchemaImpl { - private static final long serialVersionUID = -743375417; + private static final long serialVersionUID = 1085930158; /** * The reference instance of pg_catalog @@ -41,62 +41,67 @@ public class PgCatalog extends SchemaImpl { /** * The table pg_catalog.pg_attrdef. */ - public final PgAttrdef PG_ATTRDEF = org.jooq.meta.postgres.pg_catalog.tables.PgAttrdef.PG_ATTRDEF; + public final PgAttrdef PG_ATTRDEF = PgAttrdef.PG_ATTRDEF; /** * The table pg_catalog.pg_attribute. */ - public final PgAttribute PG_ATTRIBUTE = org.jooq.meta.postgres.pg_catalog.tables.PgAttribute.PG_ATTRIBUTE; + public final PgAttribute PG_ATTRIBUTE = PgAttribute.PG_ATTRIBUTE; /** * The table pg_catalog.pg_class. */ - public final PgClass PG_CLASS = org.jooq.meta.postgres.pg_catalog.tables.PgClass.PG_CLASS; + public final PgClass PG_CLASS = PgClass.PG_CLASS; /** * The table pg_catalog.pg_collation. */ - public final PgCollation PG_COLLATION = org.jooq.meta.postgres.pg_catalog.tables.PgCollation.PG_COLLATION; + public final PgCollation PG_COLLATION = PgCollation.PG_COLLATION; /** * The table pg_catalog.pg_constraint. */ - public final PgConstraint PG_CONSTRAINT = org.jooq.meta.postgres.pg_catalog.tables.PgConstraint.PG_CONSTRAINT; + public final PgConstraint PG_CONSTRAINT = PgConstraint.PG_CONSTRAINT; /** * The table pg_catalog.pg_description. */ - public final PgDescription PG_DESCRIPTION = org.jooq.meta.postgres.pg_catalog.tables.PgDescription.PG_DESCRIPTION; + public final PgDescription PG_DESCRIPTION = PgDescription.PG_DESCRIPTION; /** * The table pg_catalog.pg_enum. */ - public final PgEnum PG_ENUM = org.jooq.meta.postgres.pg_catalog.tables.PgEnum.PG_ENUM; + public final PgEnum PG_ENUM = PgEnum.PG_ENUM; /** * The table pg_catalog.pg_index. */ - public final PgIndex PG_INDEX = org.jooq.meta.postgres.pg_catalog.tables.PgIndex.PG_INDEX; + public final PgIndex PG_INDEX = PgIndex.PG_INDEX; /** * The table pg_catalog.pg_inherits. */ - public final PgInherits PG_INHERITS = org.jooq.meta.postgres.pg_catalog.tables.PgInherits.PG_INHERITS; + public final PgInherits PG_INHERITS = PgInherits.PG_INHERITS; /** * The table pg_catalog.pg_namespace. */ - public final PgNamespace PG_NAMESPACE = org.jooq.meta.postgres.pg_catalog.tables.PgNamespace.PG_NAMESPACE; + public final PgNamespace PG_NAMESPACE = PgNamespace.PG_NAMESPACE; /** * The table pg_catalog.pg_proc. */ - public final PgProc PG_PROC = org.jooq.meta.postgres.pg_catalog.tables.PgProc.PG_PROC; + public final PgProc PG_PROC = PgProc.PG_PROC; + + /** + * The table pg_catalog.pg_sequence. + */ + public final PgSequence PG_SEQUENCE = PgSequence.PG_SEQUENCE; /** * The table pg_catalog.pg_type. */ - public final PgType PG_TYPE = org.jooq.meta.postgres.pg_catalog.tables.PgType.PG_TYPE; + public final PgType PG_TYPE = PgType.PG_TYPE; /** * No further instances allowed @@ -106,9 +111,6 @@ public class PgCatalog extends SchemaImpl { } - /** - * {@inheritDoc} - */ @Override public Catalog getCatalog() { return DefaultCatalog.DEFAULT_CATALOG; @@ -116,12 +118,6 @@ public class PgCatalog extends SchemaImpl { @Override public final List> getTables() { - List result = new ArrayList(); - result.addAll(getTables0()); - return result; - } - - private final List> getTables0() { return Arrays.>asList( PgAttrdef.PG_ATTRDEF, PgAttribute.PG_ATTRIBUTE, @@ -134,6 +130,7 @@ public class PgCatalog extends SchemaImpl { PgInherits.PG_INHERITS, PgNamespace.PG_NAMESPACE, PgProc.PG_PROC, + PgSequence.PG_SEQUENCE, PgType.PG_TYPE); } } diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Routines.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Routines.java index 2077837141..bb2f72a634 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Routines.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Routines.java @@ -19,7 +19,7 @@ import org.jooq.meta.postgres.pg_catalog.routines.FormatType; public class Routines { /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated public static AggregateFunction count1(Object __1) { @@ -30,7 +30,7 @@ public class Routines { } /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated public static AggregateFunction count1(Field __1) { diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Tables.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Tables.java index 5e61e3e4f6..15ab40c661 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Tables.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/Tables.java @@ -15,6 +15,7 @@ import org.jooq.meta.postgres.pg_catalog.tables.PgIndex; import org.jooq.meta.postgres.pg_catalog.tables.PgInherits; import org.jooq.meta.postgres.pg_catalog.tables.PgNamespace; import org.jooq.meta.postgres.pg_catalog.tables.PgProc; +import org.jooq.meta.postgres.pg_catalog.tables.PgSequence; import org.jooq.meta.postgres.pg_catalog.tables.PgType; @@ -27,60 +28,65 @@ public class Tables { /** * The table pg_catalog.pg_attrdef. */ - public static final PgAttrdef PG_ATTRDEF = org.jooq.meta.postgres.pg_catalog.tables.PgAttrdef.PG_ATTRDEF; + public static final PgAttrdef PG_ATTRDEF = PgAttrdef.PG_ATTRDEF; /** * The table pg_catalog.pg_attribute. */ - public static final PgAttribute PG_ATTRIBUTE = org.jooq.meta.postgres.pg_catalog.tables.PgAttribute.PG_ATTRIBUTE; + public static final PgAttribute PG_ATTRIBUTE = PgAttribute.PG_ATTRIBUTE; /** * The table pg_catalog.pg_class. */ - public static final PgClass PG_CLASS = org.jooq.meta.postgres.pg_catalog.tables.PgClass.PG_CLASS; + public static final PgClass PG_CLASS = PgClass.PG_CLASS; /** * The table pg_catalog.pg_collation. */ - public static final PgCollation PG_COLLATION = org.jooq.meta.postgres.pg_catalog.tables.PgCollation.PG_COLLATION; + public static final PgCollation PG_COLLATION = PgCollation.PG_COLLATION; /** * The table pg_catalog.pg_constraint. */ - public static final PgConstraint PG_CONSTRAINT = org.jooq.meta.postgres.pg_catalog.tables.PgConstraint.PG_CONSTRAINT; + public static final PgConstraint PG_CONSTRAINT = PgConstraint.PG_CONSTRAINT; /** * The table pg_catalog.pg_description. */ - public static final PgDescription PG_DESCRIPTION = org.jooq.meta.postgres.pg_catalog.tables.PgDescription.PG_DESCRIPTION; + public static final PgDescription PG_DESCRIPTION = PgDescription.PG_DESCRIPTION; /** * The table pg_catalog.pg_enum. */ - public static final PgEnum PG_ENUM = org.jooq.meta.postgres.pg_catalog.tables.PgEnum.PG_ENUM; + public static final PgEnum PG_ENUM = PgEnum.PG_ENUM; /** * The table pg_catalog.pg_index. */ - public static final PgIndex PG_INDEX = org.jooq.meta.postgres.pg_catalog.tables.PgIndex.PG_INDEX; + public static final PgIndex PG_INDEX = PgIndex.PG_INDEX; /** * The table pg_catalog.pg_inherits. */ - public static final PgInherits PG_INHERITS = org.jooq.meta.postgres.pg_catalog.tables.PgInherits.PG_INHERITS; + public static final PgInherits PG_INHERITS = PgInherits.PG_INHERITS; /** * The table pg_catalog.pg_namespace. */ - public static final PgNamespace PG_NAMESPACE = org.jooq.meta.postgres.pg_catalog.tables.PgNamespace.PG_NAMESPACE; + public static final PgNamespace PG_NAMESPACE = PgNamespace.PG_NAMESPACE; /** * The table pg_catalog.pg_proc. */ - public static final PgProc PG_PROC = org.jooq.meta.postgres.pg_catalog.tables.PgProc.PG_PROC; + public static final PgProc PG_PROC = PgProc.PG_PROC; + + /** + * The table pg_catalog.pg_sequence. + */ + public static final PgSequence PG_SEQUENCE = PgSequence.PG_SEQUENCE; /** * The table pg_catalog.pg_type. */ - public static final PgType PG_TYPE = org.jooq.meta.postgres.pg_catalog.tables.PgType.PG_TYPE; + public static final PgType PG_TYPE = PgType.PG_TYPE; } diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count1.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count1.java index 417d131e38..d59882b1a3 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count1.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count1.java @@ -7,6 +7,7 @@ package org.jooq.meta.postgres.pg_catalog.routines; import org.jooq.Field; import org.jooq.Parameter; import org.jooq.impl.AbstractRoutine; +import org.jooq.impl.Internal; import org.jooq.meta.postgres.pg_catalog.PgCatalog; @@ -16,18 +17,18 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Count1 extends AbstractRoutine { - private static final long serialVersionUID = -614321278; + private static final long serialVersionUID = -376610363; /** * The parameter pg_catalog.count.RETURN_VALUE. */ - public static final Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.BIGINT, false, false); + public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.BIGINT, false, false); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public static final Parameter _1 = createParameter("_1", org.jooq.impl.SQLDataType.OTHER, false, true); + public static final Parameter _1 = Internal.createParameter("_1", org.jooq.impl.SQLDataType.OTHER, false, true); /** * Create a new routine call instance diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count2.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count2.java index a18d7d9801..5ff608d642 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count2.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/Count2.java @@ -6,6 +6,7 @@ package org.jooq.meta.postgres.pg_catalog.routines; import org.jooq.Parameter; import org.jooq.impl.AbstractRoutine; +import org.jooq.impl.Internal; import org.jooq.meta.postgres.pg_catalog.PgCatalog; @@ -15,12 +16,12 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Count2 extends AbstractRoutine { - private static final long serialVersionUID = 2011390593; + private static final long serialVersionUID = -160896812; /** * The parameter pg_catalog.count.RETURN_VALUE. */ - public static final Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.BIGINT, false, false); + public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.BIGINT, false, false); /** * Create a new routine call instance diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/FormatType.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/FormatType.java index 4e573c5cfa..96e1917d37 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/FormatType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/routines/FormatType.java @@ -7,6 +7,7 @@ package org.jooq.meta.postgres.pg_catalog.routines; import org.jooq.Field; import org.jooq.Parameter; import org.jooq.impl.AbstractRoutine; +import org.jooq.impl.Internal; import org.jooq.meta.postgres.pg_catalog.PgCatalog; @@ -16,22 +17,22 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class FormatType extends AbstractRoutine { - private static final long serialVersionUID = -2059228872; + private static final long serialVersionUID = -1381477707; /** * The parameter pg_catalog.format_type.RETURN_VALUE. */ - public static final Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.CLOB, false, false); + public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter pg_catalog.format_type._1. */ - public static final Parameter _1 = createParameter("_1", org.jooq.impl.SQLDataType.BIGINT, false, true); + public static final Parameter _1 = Internal.createParameter("_1", org.jooq.impl.SQLDataType.BIGINT, false, true); /** * The parameter pg_catalog.format_type._2. */ - public static final Parameter _2 = createParameter("_2", org.jooq.impl.SQLDataType.INTEGER, false, true); + public static final Parameter _2 = Internal.createParameter("_2", org.jooq.impl.SQLDataType.INTEGER, false, true); /** * Create a new routine call instance diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttrdef.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttrdef.java index c136df1803..665ff1cdeb 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttrdef.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttrdef.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgAttrdef extends TableImpl { - private static final long serialVersionUID = 1102213973; + private static final long serialVersionUID = -608714992; /** * The reference instance of pg_catalog.pg_attrdef @@ -37,26 +37,26 @@ public class PgAttrdef extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_attrdef.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_attrdef.adrelid. */ - public final TableField ADRELID = createField("adrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField ADRELID = createField(DSL.name("adrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_attrdef.adnum. */ - public final TableField ADNUM = createField("adnum", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField ADNUM = createField(DSL.name("adnum"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField ADBIN = createField("adbin", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); - - /** - * The column pg_catalog.pg_attrdef.adsrc. - */ - public final TableField ADSRC = createField("adsrc", org.jooq.impl.SQLDataType.CLOB, this, ""); + public final TableField ADBIN = createField(DSL.name("adbin"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\"").nullable(false), this, ""); /** * Create a pg_catalog.pg_attrdef table reference @@ -91,25 +91,16 @@ public class PgAttrdef extends TableImpl { super(child, key, PG_ATTRDEF); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgAttrdef as(String alias) { return new PgAttrdef(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgAttrdef as(Name alias) { return new PgAttrdef(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttribute.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttribute.java index e0c0f1b757..3ea2a8e17e 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttribute.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgAttribute.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgAttribute extends TableImpl { - private static final long serialVersionUID = 1133024613; + private static final long serialVersionUID = 1985719853; /** * The reference instance of pg_catalog.pg_attribute @@ -40,123 +40,128 @@ public class PgAttribute extends TableImpl { /** * The column pg_catalog.pg_attribute.attrelid. */ - public final TableField ATTRELID = createField("attrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField ATTRELID = createField(DSL.name("attrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attname. */ - public final TableField ATTNAME = createField("attname", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField ATTNAME = createField(DSL.name("attname"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.atttypid. */ - public final TableField ATTTYPID = createField("atttypid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField ATTTYPID = createField(DSL.name("atttypid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attstattarget. */ - public final TableField ATTSTATTARGET = createField("attstattarget", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField ATTSTATTARGET = createField(DSL.name("attstattarget"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attlen. */ - public final TableField ATTLEN = createField("attlen", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField ATTLEN = createField(DSL.name("attlen"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attnum. */ - public final TableField ATTNUM = createField("attnum", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField ATTNUM = createField(DSL.name("attnum"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attndims. */ - public final TableField ATTNDIMS = createField("attndims", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField ATTNDIMS = createField(DSL.name("attndims"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attcacheoff. */ - public final TableField ATTCACHEOFF = createField("attcacheoff", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField ATTCACHEOFF = createField(DSL.name("attcacheoff"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.atttypmod. */ - public final TableField ATTTYPMOD = createField("atttypmod", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField ATTTYPMOD = createField(DSL.name("atttypmod"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attbyval. */ - public final TableField ATTBYVAL = createField("attbyval", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField ATTBYVAL = createField(DSL.name("attbyval"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attstorage. */ - public final TableField ATTSTORAGE = createField("attstorage", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField ATTSTORAGE = createField(DSL.name("attstorage"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attalign. */ - public final TableField ATTALIGN = createField("attalign", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField ATTALIGN = createField(DSL.name("attalign"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attnotnull. */ - public final TableField ATTNOTNULL = createField("attnotnull", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField ATTNOTNULL = createField(DSL.name("attnotnull"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.atthasdef. */ - public final TableField ATTHASDEF = createField("atthasdef", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField ATTHASDEF = createField(DSL.name("atthasdef"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.atthasmissing. */ - public final TableField ATTHASMISSING = createField("atthasmissing", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField ATTHASMISSING = createField(DSL.name("atthasmissing"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attidentity. */ - public final TableField ATTIDENTITY = createField("attidentity", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField ATTIDENTITY = createField(DSL.name("attidentity"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_attribute.attgenerated. + */ + public final TableField ATTGENERATED = createField(DSL.name("attgenerated"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attisdropped. */ - public final TableField ATTISDROPPED = createField("attisdropped", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField ATTISDROPPED = createField(DSL.name("attisdropped"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attislocal. */ - public final TableField ATTISLOCAL = createField("attislocal", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField ATTISLOCAL = createField(DSL.name("attislocal"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attinhcount. */ - public final TableField ATTINHCOUNT = createField("attinhcount", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField ATTINHCOUNT = createField(DSL.name("attinhcount"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attcollation. */ - public final TableField ATTCOLLATION = createField("attcollation", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField ATTCOLLATION = createField(DSL.name("attcollation"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_attribute.attacl. */ - public final TableField ATTACL = createField("attacl", org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); + public final TableField ATTACL = createField(DSL.name("attacl"), org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_attribute.attoptions. */ - public final TableField ATTOPTIONS = createField("attoptions", org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); + public final TableField ATTOPTIONS = createField(DSL.name("attoptions"), org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_attribute.attfdwoptions. */ - public final TableField ATTFDWOPTIONS = createField("attfdwoptions", org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); + public final TableField ATTFDWOPTIONS = createField(DSL.name("attfdwoptions"), org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField ATTMISSINGVAL = createField("attmissingval", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"anyarray\""), this, ""); + public final TableField ATTMISSINGVAL = createField(DSL.name("attmissingval"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"anyarray\""), this, ""); /** * Create a pg_catalog.pg_attribute table reference @@ -191,25 +196,16 @@ public class PgAttribute extends TableImpl { super(child, key, PG_ATTRIBUTE); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgAttribute as(String alias) { return new PgAttribute(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgAttribute as(Name alias) { return new PgAttribute(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgClass.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgClass.java index 23eed295f3..6c5871df39 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgClass.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgClass.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgClass extends TableImpl { - private static final long serialVersionUID = -1768594416; + private static final long serialVersionUID = -828976724; /** * The reference instance of pg_catalog.pg_class @@ -37,171 +37,171 @@ public class PgClass extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_class.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_class.relname. */ - public final TableField RELNAME = createField("relname", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField RELNAME = createField(DSL.name("relname"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relnamespace. */ - public final TableField RELNAMESPACE = createField("relnamespace", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELNAMESPACE = createField(DSL.name("relnamespace"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.reltype. */ - public final TableField RELTYPE = createField("reltype", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELTYPE = createField(DSL.name("reltype"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.reloftype. */ - public final TableField RELOFTYPE = createField("reloftype", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELOFTYPE = createField(DSL.name("reloftype"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relowner. */ - public final TableField RELOWNER = createField("relowner", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELOWNER = createField(DSL.name("relowner"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relam. */ - public final TableField RELAM = createField("relam", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELAM = createField(DSL.name("relam"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relfilenode. */ - public final TableField RELFILENODE = createField("relfilenode", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELFILENODE = createField(DSL.name("relfilenode"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.reltablespace. */ - public final TableField RELTABLESPACE = createField("reltablespace", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELTABLESPACE = createField(DSL.name("reltablespace"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relpages. */ - public final TableField RELPAGES = createField("relpages", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField RELPAGES = createField(DSL.name("relpages"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_class.reltuples. */ - public final TableField RELTUPLES = createField("reltuples", org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); + public final TableField RELTUPLES = createField(DSL.name("reltuples"), org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relallvisible. */ - public final TableField RELALLVISIBLE = createField("relallvisible", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField RELALLVISIBLE = createField(DSL.name("relallvisible"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_class.reltoastrelid. */ - public final TableField RELTOASTRELID = createField("reltoastrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELTOASTRELID = createField(DSL.name("reltoastrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relhasindex. */ - public final TableField RELHASINDEX = createField("relhasindex", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELHASINDEX = createField(DSL.name("relhasindex"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relisshared. */ - public final TableField RELISSHARED = createField("relisshared", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELISSHARED = createField(DSL.name("relisshared"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relpersistence. */ - public final TableField RELPERSISTENCE = createField("relpersistence", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField RELPERSISTENCE = createField(DSL.name("relpersistence"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relkind. */ - public final TableField RELKIND = createField("relkind", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField RELKIND = createField(DSL.name("relkind"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relnatts. */ - public final TableField RELNATTS = createField("relnatts", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField RELNATTS = createField(DSL.name("relnatts"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relchecks. */ - public final TableField RELCHECKS = createField("relchecks", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); - - /** - * The column pg_catalog.pg_class.relhasoids. - */ - public final TableField RELHASOIDS = createField("relhasoids", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELCHECKS = createField(DSL.name("relchecks"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relhasrules. */ - public final TableField RELHASRULES = createField("relhasrules", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELHASRULES = createField(DSL.name("relhasrules"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relhastriggers. */ - public final TableField RELHASTRIGGERS = createField("relhastriggers", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELHASTRIGGERS = createField(DSL.name("relhastriggers"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relhassubclass. */ - public final TableField RELHASSUBCLASS = createField("relhassubclass", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELHASSUBCLASS = createField(DSL.name("relhassubclass"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relrowsecurity. */ - public final TableField RELROWSECURITY = createField("relrowsecurity", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELROWSECURITY = createField(DSL.name("relrowsecurity"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relforcerowsecurity. */ - public final TableField RELFORCEROWSECURITY = createField("relforcerowsecurity", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELFORCEROWSECURITY = createField(DSL.name("relforcerowsecurity"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relispopulated. */ - public final TableField RELISPOPULATED = createField("relispopulated", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELISPOPULATED = createField(DSL.name("relispopulated"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relreplident. */ - public final TableField RELREPLIDENT = createField("relreplident", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField RELREPLIDENT = createField(DSL.name("relreplident"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relispartition. */ - public final TableField RELISPARTITION = createField("relispartition", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField RELISPARTITION = createField(DSL.name("relispartition"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relrewrite. */ - public final TableField RELREWRITE = createField("relrewrite", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELREWRITE = createField(DSL.name("relrewrite"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relfrozenxid. */ - public final TableField RELFROZENXID = createField("relfrozenxid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELFROZENXID = createField(DSL.name("relfrozenxid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relminmxid. */ - public final TableField RELMINMXID = createField("relminmxid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField RELMINMXID = createField(DSL.name("relminmxid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_class.relacl. */ - public final TableField RELACL = createField("relacl", org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); + public final TableField RELACL = createField(DSL.name("relacl"), org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_class.reloptions. */ - public final TableField RELOPTIONS = createField("reloptions", org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); + public final TableField RELOPTIONS = createField(DSL.name("reloptions"), org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField RELPARTBOUND = createField("relpartbound", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); + public final TableField RELPARTBOUND = createField(DSL.name("relpartbound"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); /** * Create a pg_catalog.pg_class table reference @@ -236,25 +236,16 @@ public class PgClass extends TableImpl { super(child, key, PG_CLASS); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgClass as(String alias) { return new PgClass(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgClass as(Name alias) { return new PgClass(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgCollation.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgCollation.java index 305eca7dd0..05adb8f163 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgCollation.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgCollation.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgCollation extends TableImpl { - private static final long serialVersionUID = -623132255; + private static final long serialVersionUID = -1168306903; /** * The reference instance of pg_catalog.pg_collation @@ -37,45 +37,55 @@ public class PgCollation extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_collation.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_collation.collname. */ - public final TableField COLLNAME = createField("collname", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField COLLNAME = createField(DSL.name("collname"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_collation.collnamespace. */ - public final TableField COLLNAMESPACE = createField("collnamespace", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField COLLNAMESPACE = createField(DSL.name("collnamespace"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_collation.collowner. */ - public final TableField COLLOWNER = createField("collowner", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField COLLOWNER = createField(DSL.name("collowner"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_collation.collprovider. */ - public final TableField COLLPROVIDER = createField("collprovider", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField COLLPROVIDER = createField(DSL.name("collprovider"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_collation.collisdeterministic. + */ + public final TableField COLLISDETERMINISTIC = createField(DSL.name("collisdeterministic"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_collation.collencoding. */ - public final TableField COLLENCODING = createField("collencoding", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField COLLENCODING = createField(DSL.name("collencoding"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_collation.collcollate. */ - public final TableField COLLCOLLATE = createField("collcollate", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField COLLCOLLATE = createField(DSL.name("collcollate"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_collation.collctype. */ - public final TableField COLLCTYPE = createField("collctype", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField COLLCTYPE = createField(DSL.name("collctype"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_collation.collversion. */ - public final TableField COLLVERSION = createField("collversion", org.jooq.impl.SQLDataType.CLOB, this, ""); + public final TableField COLLVERSION = createField(DSL.name("collversion"), org.jooq.impl.SQLDataType.CLOB, this, ""); /** * Create a pg_catalog.pg_collation table reference @@ -110,25 +120,16 @@ public class PgCollation extends TableImpl { super(child, key, PG_COLLATION); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgCollation as(String alias) { return new PgCollation(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgCollation as(Name alias) { return new PgCollation(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgConstraint.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgConstraint.java index 3bdf6f66b2..f7b0022022 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgConstraint.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgConstraint.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgConstraint extends TableImpl { - private static final long serialVersionUID = -928323374; + private static final long serialVersionUID = -491743673; /** * The reference instance of pg_catalog.pg_constraint @@ -37,136 +37,131 @@ public class PgConstraint extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_constraint.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_constraint.conname. */ - public final TableField CONNAME = createField("conname", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField CONNAME = createField(DSL.name("conname"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.connamespace. */ - public final TableField CONNAMESPACE = createField("connamespace", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField CONNAMESPACE = createField(DSL.name("connamespace"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.contype. */ - public final TableField CONTYPE = createField("contype", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField CONTYPE = createField(DSL.name("contype"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.condeferrable. */ - public final TableField CONDEFERRABLE = createField("condeferrable", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField CONDEFERRABLE = createField(DSL.name("condeferrable"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.condeferred. */ - public final TableField CONDEFERRED = createField("condeferred", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField CONDEFERRED = createField(DSL.name("condeferred"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.convalidated. */ - public final TableField CONVALIDATED = createField("convalidated", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField CONVALIDATED = createField(DSL.name("convalidated"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.conrelid. */ - public final TableField CONRELID = createField("conrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField CONRELID = createField(DSL.name("conrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.contypid. */ - public final TableField CONTYPID = createField("contypid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField CONTYPID = createField(DSL.name("contypid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.conindid. */ - public final TableField CONINDID = createField("conindid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField CONINDID = createField(DSL.name("conindid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.conparentid. */ - public final TableField CONPARENTID = createField("conparentid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField CONPARENTID = createField(DSL.name("conparentid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.confrelid. */ - public final TableField CONFRELID = createField("confrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField CONFRELID = createField(DSL.name("confrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.confupdtype. */ - public final TableField CONFUPDTYPE = createField("confupdtype", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField CONFUPDTYPE = createField(DSL.name("confupdtype"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.confdeltype. */ - public final TableField CONFDELTYPE = createField("confdeltype", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField CONFDELTYPE = createField(DSL.name("confdeltype"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.confmatchtype. */ - public final TableField CONFMATCHTYPE = createField("confmatchtype", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField CONFMATCHTYPE = createField(DSL.name("confmatchtype"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.conislocal. */ - public final TableField CONISLOCAL = createField("conislocal", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField CONISLOCAL = createField(DSL.name("conislocal"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.coninhcount. */ - public final TableField CONINHCOUNT = createField("coninhcount", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField CONINHCOUNT = createField(DSL.name("coninhcount"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.connoinherit. */ - public final TableField CONNOINHERIT = createField("connoinherit", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField CONNOINHERIT = createField(DSL.name("connoinherit"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_constraint.conkey. */ - public final TableField CONKEY = createField("conkey", org.jooq.impl.SQLDataType.SMALLINT.getArrayDataType(), this, ""); - - /** - * The column pg_catalog.pg_constraint.conincluding. - */ - public final TableField CONINCLUDING = createField("conincluding", org.jooq.impl.SQLDataType.SMALLINT.getArrayDataType(), this, ""); + public final TableField CONKEY = createField(DSL.name("conkey"), org.jooq.impl.SQLDataType.SMALLINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_constraint.confkey. */ - public final TableField CONFKEY = createField("confkey", org.jooq.impl.SQLDataType.SMALLINT.getArrayDataType(), this, ""); + public final TableField CONFKEY = createField(DSL.name("confkey"), org.jooq.impl.SQLDataType.SMALLINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_constraint.conpfeqop. */ - public final TableField CONPFEQOP = createField("conpfeqop", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField CONPFEQOP = createField(DSL.name("conpfeqop"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_constraint.conppeqop. */ - public final TableField CONPPEQOP = createField("conppeqop", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField CONPPEQOP = createField(DSL.name("conppeqop"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_constraint.conffeqop. */ - public final TableField CONFFEQOP = createField("conffeqop", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField CONFFEQOP = createField(DSL.name("conffeqop"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_constraint.conexclop. */ - public final TableField CONEXCLOP = createField("conexclop", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField CONEXCLOP = createField(DSL.name("conexclop"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField CONBIN = createField("conbin", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); - - /** - * The column pg_catalog.pg_constraint.consrc. - */ - public final TableField CONSRC = createField("consrc", org.jooq.impl.SQLDataType.CLOB, this, ""); + public final TableField CONBIN = createField(DSL.name("conbin"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); /** * Create a pg_catalog.pg_constraint table reference @@ -201,25 +196,16 @@ public class PgConstraint extends TableImpl { super(child, key, PG_CONSTRAINT); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgConstraint as(String alias) { return new PgConstraint(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgConstraint as(Name alias) { return new PgConstraint(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgDescription.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgDescription.java index 07129d3b56..5a316cec1e 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgDescription.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgDescription.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgDescription extends TableImpl { - private static final long serialVersionUID = -1066461844; + private static final long serialVersionUID = 201387977; /** * The reference instance of pg_catalog.pg_description @@ -40,22 +40,22 @@ public class PgDescription extends TableImpl { /** * The column pg_catalog.pg_description.objoid. */ - public final TableField OBJOID = createField("objoid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField OBJOID = createField(DSL.name("objoid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_description.classoid. */ - public final TableField CLASSOID = createField("classoid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField CLASSOID = createField(DSL.name("classoid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_description.objsubid. */ - public final TableField OBJSUBID = createField("objsubid", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField OBJSUBID = createField(DSL.name("objsubid"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_description.description. */ - public final TableField DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); + public final TableField DESCRIPTION = createField(DSL.name("description"), org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); /** * Create a pg_catalog.pg_description table reference @@ -90,25 +90,16 @@ public class PgDescription extends TableImpl { super(child, key, PG_DESCRIPTION); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgDescription as(String alias) { return new PgDescription(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgDescription as(Name alias) { return new PgDescription(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgEnum.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgEnum.java index e16e848b71..cfc9f06c5e 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgEnum.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgEnum.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgEnum extends TableImpl { - private static final long serialVersionUID = -1455567423; + private static final long serialVersionUID = 1086087906; /** * The reference instance of pg_catalog.pg_enum @@ -37,20 +37,25 @@ public class PgEnum extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_enum.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_enum.enumtypid. */ - public final TableField ENUMTYPID = createField("enumtypid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField ENUMTYPID = createField(DSL.name("enumtypid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_enum.enumsortorder. */ - public final TableField ENUMSORTORDER = createField("enumsortorder", org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); + public final TableField ENUMSORTORDER = createField(DSL.name("enumsortorder"), org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); /** * The column pg_catalog.pg_enum.enumlabel. */ - public final TableField ENUMLABEL = createField("enumlabel", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField ENUMLABEL = createField(DSL.name("enumlabel"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * Create a pg_catalog.pg_enum table reference @@ -85,25 +90,16 @@ public class PgEnum extends TableImpl { super(child, key, PG_ENUM); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgEnum as(String alias) { return new PgEnum(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgEnum as(Name alias) { return new PgEnum(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgIndex.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgIndex.java index 64d71ff929..9fb46a7674 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgIndex.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgIndex.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgIndex extends TableImpl { - private static final long serialVersionUID = 1437046984; + private static final long serialVersionUID = -2067879899; /** * The reference instance of pg_catalog.pg_index @@ -40,104 +40,104 @@ public class PgIndex extends TableImpl { /** * The column pg_catalog.pg_index.indexrelid. */ - public final TableField INDEXRELID = createField("indexrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField INDEXRELID = createField(DSL.name("indexrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indrelid. */ - public final TableField INDRELID = createField("indrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField INDRELID = createField(DSL.name("indrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indnatts. */ - public final TableField INDNATTS = createField("indnatts", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField INDNATTS = createField(DSL.name("indnatts"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indnkeyatts. */ - public final TableField INDNKEYATTS = createField("indnkeyatts", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField INDNKEYATTS = createField(DSL.name("indnkeyatts"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indisunique. */ - public final TableField INDISUNIQUE = createField("indisunique", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISUNIQUE = createField(DSL.name("indisunique"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indisprimary. */ - public final TableField INDISPRIMARY = createField("indisprimary", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISPRIMARY = createField(DSL.name("indisprimary"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indisexclusion. */ - public final TableField INDISEXCLUSION = createField("indisexclusion", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISEXCLUSION = createField(DSL.name("indisexclusion"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indimmediate. */ - public final TableField INDIMMEDIATE = createField("indimmediate", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDIMMEDIATE = createField(DSL.name("indimmediate"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indisclustered. */ - public final TableField INDISCLUSTERED = createField("indisclustered", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISCLUSTERED = createField(DSL.name("indisclustered"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indisvalid. */ - public final TableField INDISVALID = createField("indisvalid", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISVALID = createField(DSL.name("indisvalid"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indcheckxmin. */ - public final TableField INDCHECKXMIN = createField("indcheckxmin", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDCHECKXMIN = createField(DSL.name("indcheckxmin"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indisready. */ - public final TableField INDISREADY = createField("indisready", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISREADY = createField(DSL.name("indisready"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indislive. */ - public final TableField INDISLIVE = createField("indislive", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISLIVE = createField(DSL.name("indislive"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indisreplident. */ - public final TableField INDISREPLIDENT = createField("indisreplident", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField INDISREPLIDENT = createField(DSL.name("indisreplident"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_index.indkey. */ - public final TableField INDKEY = createField("indkey", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"int2vector\"").getArrayDataType(), this, ""); + public final TableField INDKEY = createField(DSL.name("indkey"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"int2vector\"").getArrayDataType(), this, ""); /** * The column pg_catalog.pg_index.indcollation. */ - public final TableField INDCOLLATION = createField("indcollation", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField INDCOLLATION = createField(DSL.name("indcollation"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_index.indclass. */ - public final TableField INDCLASS = createField("indclass", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField INDCLASS = createField(DSL.name("indclass"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_index.indoption. */ - public final TableField INDOPTION = createField("indoption", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"int2vector\"").getArrayDataType(), this, ""); + public final TableField INDOPTION = createField(DSL.name("indoption"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"int2vector\"").getArrayDataType(), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField INDEXPRS = createField("indexprs", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); + public final TableField INDEXPRS = createField(DSL.name("indexprs"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField INDPRED = createField("indpred", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); + public final TableField INDPRED = createField(DSL.name("indpred"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); /** * Create a pg_catalog.pg_index table reference @@ -172,25 +172,16 @@ public class PgIndex extends TableImpl { super(child, key, PG_INDEX); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgIndex as(String alias) { return new PgIndex(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgIndex as(Name alias) { return new PgIndex(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgInherits.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgInherits.java index a4e57f14f9..b1737c184a 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgInherits.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgInherits.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgInherits extends TableImpl { - private static final long serialVersionUID = 982667057; + private static final long serialVersionUID = -1859127245; /** * The reference instance of pg_catalog.pg_inherits @@ -40,17 +40,17 @@ public class PgInherits extends TableImpl { /** * The column pg_catalog.pg_inherits.inhrelid. */ - public final TableField INHRELID = createField("inhrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField INHRELID = createField(DSL.name("inhrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_inherits.inhparent. */ - public final TableField INHPARENT = createField("inhparent", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField INHPARENT = createField(DSL.name("inhparent"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_inherits.inhseqno. */ - public final TableField INHSEQNO = createField("inhseqno", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField INHSEQNO = createField(DSL.name("inhseqno"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * Create a pg_catalog.pg_inherits table reference @@ -85,25 +85,16 @@ public class PgInherits extends TableImpl { super(child, key, PG_INHERITS); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgInherits as(String alias) { return new PgInherits(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgInherits as(Name alias) { return new PgInherits(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgNamespace.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgNamespace.java index a76e68645b..b32eb43975 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgNamespace.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgNamespace.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgNamespace extends TableImpl { - private static final long serialVersionUID = 1800070998; + private static final long serialVersionUID = 1835313691; /** * The reference instance of pg_catalog.pg_namespace @@ -37,20 +37,25 @@ public class PgNamespace extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_namespace.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_namespace.nspname. */ - public final TableField NSPNAME = createField("nspname", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField NSPNAME = createField(DSL.name("nspname"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_namespace.nspowner. */ - public final TableField NSPOWNER = createField("nspowner", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField NSPOWNER = createField(DSL.name("nspowner"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_namespace.nspacl. */ - public final TableField NSPACL = createField("nspacl", org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); + public final TableField NSPACL = createField(DSL.name("nspacl"), org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); /** * Create a pg_catalog.pg_namespace table reference @@ -85,25 +90,16 @@ public class PgNamespace extends TableImpl { super(child, key, PG_NAMESPACE); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgNamespace as(String alias) { return new PgNamespace(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgNamespace as(Name alias) { return new PgNamespace(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgProc.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgProc.java index 8d32c159a5..90aef708bf 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgProc.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgProc.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgProc extends TableImpl { - private static final long serialVersionUID = -112741665; + private static final long serialVersionUID = 107189806; /** * The reference instance of pg_catalog.pg_proc @@ -37,146 +37,151 @@ public class PgProc extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_proc.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_proc.proname. */ - public final TableField PRONAME = createField("proname", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField PRONAME = createField(DSL.name("proname"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.pronamespace. */ - public final TableField PRONAMESPACE = createField("pronamespace", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField PRONAMESPACE = createField(DSL.name("pronamespace"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.proowner. */ - public final TableField PROOWNER = createField("proowner", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField PROOWNER = createField(DSL.name("proowner"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.prolang. */ - public final TableField PROLANG = createField("prolang", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField PROLANG = createField(DSL.name("prolang"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.procost. */ - public final TableField PROCOST = createField("procost", org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); + public final TableField PROCOST = createField(DSL.name("procost"), org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.prorows. */ - public final TableField PROROWS = createField("prorows", org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); + public final TableField PROROWS = createField(DSL.name("prorows"), org.jooq.impl.SQLDataType.REAL.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.provariadic. */ - public final TableField PROVARIADIC = createField("provariadic", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField PROVARIADIC = createField(DSL.name("provariadic"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** - * The column pg_catalog.pg_proc.protransform. + * The column pg_catalog.pg_proc.prosupport. */ - public final TableField PROTRANSFORM = createField("protransform", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField PROSUPPORT = createField(DSL.name("prosupport"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.prokind. */ - public final TableField PROKIND = createField("prokind", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField PROKIND = createField(DSL.name("prokind"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.prosecdef. */ - public final TableField PROSECDEF = createField("prosecdef", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField PROSECDEF = createField(DSL.name("prosecdef"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.proleakproof. */ - public final TableField PROLEAKPROOF = createField("proleakproof", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField PROLEAKPROOF = createField(DSL.name("proleakproof"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.proisstrict. */ - public final TableField PROISSTRICT = createField("proisstrict", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField PROISSTRICT = createField(DSL.name("proisstrict"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.proretset. */ - public final TableField PRORETSET = createField("proretset", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField PRORETSET = createField(DSL.name("proretset"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.provolatile. */ - public final TableField PROVOLATILE = createField("provolatile", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField PROVOLATILE = createField(DSL.name("provolatile"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.proparallel. */ - public final TableField PROPARALLEL = createField("proparallel", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField PROPARALLEL = createField(DSL.name("proparallel"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.pronargs. */ - public final TableField PRONARGS = createField("pronargs", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField PRONARGS = createField(DSL.name("pronargs"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.pronargdefaults. */ - public final TableField PRONARGDEFAULTS = createField("pronargdefaults", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField PRONARGDEFAULTS = createField(DSL.name("pronargdefaults"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.prorettype. */ - public final TableField PRORETTYPE = createField("prorettype", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField PRORETTYPE = createField(DSL.name("prorettype"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.proargtypes. */ - public final TableField PROARGTYPES = createField("proargtypes", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField PROARGTYPES = createField(DSL.name("proargtypes"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_proc.proallargtypes. */ - public final TableField PROALLARGTYPES = createField("proallargtypes", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField PROALLARGTYPES = createField(DSL.name("proallargtypes"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_proc.proargmodes. */ - public final TableField PROARGMODES = createField("proargmodes", org.jooq.impl.SQLDataType.CHAR.getArrayDataType(), this, ""); + public final TableField PROARGMODES = createField(DSL.name("proargmodes"), org.jooq.impl.SQLDataType.CHAR.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_proc.proargnames. */ - public final TableField PROARGNAMES = createField("proargnames", org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); + public final TableField PROARGNAMES = createField(DSL.name("proargnames"), org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField PROARGDEFAULTS = createField("proargdefaults", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); + public final TableField PROARGDEFAULTS = createField(DSL.name("proargdefaults"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); /** * The column pg_catalog.pg_proc.protrftypes. */ - public final TableField PROTRFTYPES = createField("protrftypes", org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); + public final TableField PROTRFTYPES = createField(DSL.name("protrftypes"), org.jooq.impl.SQLDataType.BIGINT.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_proc.prosrc. */ - public final TableField PROSRC = createField("prosrc", org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); + public final TableField PROSRC = createField(DSL.name("prosrc"), org.jooq.impl.SQLDataType.CLOB.nullable(false), this, ""); /** * The column pg_catalog.pg_proc.probin. */ - public final TableField PROBIN = createField("probin", org.jooq.impl.SQLDataType.CLOB, this, ""); + public final TableField PROBIN = createField(DSL.name("probin"), org.jooq.impl.SQLDataType.CLOB, this, ""); /** * The column pg_catalog.pg_proc.proconfig. */ - public final TableField PROCONFIG = createField("proconfig", org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); + public final TableField PROCONFIG = createField(DSL.name("proconfig"), org.jooq.impl.SQLDataType.CLOB.getArrayDataType(), this, ""); /** * The column pg_catalog.pg_proc.proacl. */ - public final TableField PROACL = createField("proacl", org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); + public final TableField PROACL = createField(DSL.name("proacl"), org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); /** * Create a pg_catalog.pg_proc table reference @@ -211,25 +216,16 @@ public class PgProc extends TableImpl { super(child, key, PG_PROC); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgProc as(String alias) { return new PgProc(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgProc as(Name alias) { return new PgProc(alias, this); diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgSequence.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgSequence.java new file mode 100644 index 0000000000..81c944a816 --- /dev/null +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgSequence.java @@ -0,0 +1,143 @@ +/* + * This file is generated by jOOQ. + */ +package org.jooq.meta.postgres.pg_catalog.tables; + + +import org.jooq.Field; +import org.jooq.ForeignKey; +import org.jooq.Name; +import org.jooq.Record; +import org.jooq.Schema; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.impl.DSL; +import org.jooq.impl.TableImpl; +import org.jooq.meta.postgres.pg_catalog.PgCatalog; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class PgSequence extends TableImpl { + + private static final long serialVersionUID = -599690389; + + /** + * The reference instance of pg_catalog.pg_sequence + */ + public static final PgSequence PG_SEQUENCE = new PgSequence(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return Record.class; + } + + /** + * The column pg_catalog.pg_sequence.seqrelid. + */ + public final TableField SEQRELID = createField(DSL.name("seqrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_sequence.seqtypid. + */ + public final TableField SEQTYPID = createField(DSL.name("seqtypid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_sequence.seqstart. + */ + public final TableField SEQSTART = createField(DSL.name("seqstart"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_sequence.seqincrement. + */ + public final TableField SEQINCREMENT = createField(DSL.name("seqincrement"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_sequence.seqmax. + */ + public final TableField SEQMAX = createField(DSL.name("seqmax"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_sequence.seqmin. + */ + public final TableField SEQMIN = createField(DSL.name("seqmin"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_sequence.seqcache. + */ + public final TableField SEQCACHE = createField(DSL.name("seqcache"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column pg_catalog.pg_sequence.seqcycle. + */ + public final TableField SEQCYCLE = createField(DSL.name("seqcycle"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + + /** + * Create a pg_catalog.pg_sequence table reference + */ + public PgSequence() { + this(DSL.name("pg_sequence"), null); + } + + /** + * Create an aliased pg_catalog.pg_sequence table reference + */ + public PgSequence(String alias) { + this(DSL.name(alias), PG_SEQUENCE); + } + + /** + * Create an aliased pg_catalog.pg_sequence table reference + */ + public PgSequence(Name alias) { + this(alias, PG_SEQUENCE); + } + + private PgSequence(Name alias, Table aliased) { + this(alias, aliased, null); + } + + private PgSequence(Name alias, Table aliased, Field[] parameters) { + super(alias, null, aliased, parameters, DSL.comment("")); + } + + public PgSequence(Table child, ForeignKey key) { + super(child, key, PG_SEQUENCE); + } + + @Override + public Schema getSchema() { + return PgCatalog.PG_CATALOG; + } + + @Override + public PgSequence as(String alias) { + return new PgSequence(DSL.name(alias), this); + } + + @Override + public PgSequence as(Name alias) { + return new PgSequence(alias, this); + } + + /** + * Rename this table + */ + @Override + public PgSequence rename(String name) { + return new PgSequence(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public PgSequence rename(Name name) { + return new PgSequence(name, null); + } +} diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgType.java b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgType.java index 5cf48ee4f9..28988f5b77 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/postgres/pg_catalog/tables/PgType.java @@ -22,7 +22,7 @@ import org.jooq.meta.postgres.pg_catalog.PgCatalog; @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PgType extends TableImpl { - private static final long serialVersionUID = 1666880234; + private static final long serialVersionUID = -2146032444; /** * The reference instance of pg_catalog.pg_type @@ -37,156 +37,161 @@ public class PgType extends TableImpl { return Record.class; } + /** + * The column pg_catalog.pg_type.oid. + */ + public final TableField OID = createField(DSL.name("oid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + /** * The column pg_catalog.pg_type.typname. */ - public final TableField TYPNAME = createField("typname", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPNAME = createField(DSL.name("typname"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typnamespace. */ - public final TableField TYPNAMESPACE = createField("typnamespace", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField TYPNAMESPACE = createField(DSL.name("typnamespace"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typowner. */ - public final TableField TYPOWNER = createField("typowner", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField TYPOWNER = createField(DSL.name("typowner"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typlen. */ - public final TableField TYPLEN = createField("typlen", org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); + public final TableField TYPLEN = createField(DSL.name("typlen"), org.jooq.impl.SQLDataType.SMALLINT.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typbyval. */ - public final TableField TYPBYVAL = createField("typbyval", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField TYPBYVAL = createField(DSL.name("typbyval"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typtype. */ - public final TableField TYPTYPE = createField("typtype", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField TYPTYPE = createField(DSL.name("typtype"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typcategory. */ - public final TableField TYPCATEGORY = createField("typcategory", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField TYPCATEGORY = createField(DSL.name("typcategory"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typispreferred. */ - public final TableField TYPISPREFERRED = createField("typispreferred", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField TYPISPREFERRED = createField(DSL.name("typispreferred"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typisdefined. */ - public final TableField TYPISDEFINED = createField("typisdefined", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField TYPISDEFINED = createField(DSL.name("typisdefined"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typdelim. */ - public final TableField TYPDELIM = createField("typdelim", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField TYPDELIM = createField(DSL.name("typdelim"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typrelid. */ - public final TableField TYPRELID = createField("typrelid", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField TYPRELID = createField(DSL.name("typrelid"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typelem. */ - public final TableField TYPELEM = createField("typelem", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField TYPELEM = createField(DSL.name("typelem"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typarray. */ - public final TableField TYPARRAY = createField("typarray", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField TYPARRAY = createField(DSL.name("typarray"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typinput. */ - public final TableField TYPINPUT = createField("typinput", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPINPUT = createField(DSL.name("typinput"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typoutput. */ - public final TableField TYPOUTPUT = createField("typoutput", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPOUTPUT = createField(DSL.name("typoutput"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typreceive. */ - public final TableField TYPRECEIVE = createField("typreceive", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPRECEIVE = createField(DSL.name("typreceive"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typsend. */ - public final TableField TYPSEND = createField("typsend", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPSEND = createField(DSL.name("typsend"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typmodin. */ - public final TableField TYPMODIN = createField("typmodin", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPMODIN = createField(DSL.name("typmodin"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typmodout. */ - public final TableField TYPMODOUT = createField("typmodout", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPMODOUT = createField(DSL.name("typmodout"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typanalyze. */ - public final TableField TYPANALYZE = createField("typanalyze", org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); + public final TableField TYPANALYZE = createField(DSL.name("typanalyze"), org.jooq.impl.SQLDataType.VARCHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typalign. */ - public final TableField TYPALIGN = createField("typalign", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField TYPALIGN = createField(DSL.name("typalign"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typstorage. */ - public final TableField TYPSTORAGE = createField("typstorage", org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); + public final TableField TYPSTORAGE = createField(DSL.name("typstorage"), org.jooq.impl.SQLDataType.CHAR.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typnotnull. */ - public final TableField TYPNOTNULL = createField("typnotnull", org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); + public final TableField TYPNOTNULL = createField(DSL.name("typnotnull"), org.jooq.impl.SQLDataType.BOOLEAN.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typbasetype. */ - public final TableField TYPBASETYPE = createField("typbasetype", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField TYPBASETYPE = createField(DSL.name("typbasetype"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typtypmod. */ - public final TableField TYPTYPMOD = createField("typtypmod", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField TYPTYPMOD = createField(DSL.name("typtypmod"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typndims. */ - public final TableField TYPNDIMS = createField("typndims", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final TableField TYPNDIMS = createField(DSL.name("typndims"), org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column pg_catalog.pg_type.typcollation. */ - public final TableField TYPCOLLATION = createField("typcollation", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField TYPCOLLATION = createField(DSL.name("typcollation"), org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** - * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using in your code generator configuration. + * @deprecated Unknown data type. Please define an explicit {@link org.jooq.Binding} to specify how this type should be handled. Deprecation can be turned off using {@literal } in your code generator configuration. */ @java.lang.Deprecated - public final TableField TYPDEFAULTBIN = createField("typdefaultbin", org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); + public final TableField TYPDEFAULTBIN = createField(DSL.name("typdefaultbin"), org.jooq.impl.DefaultDataType.getDefaultDataType("\"pg_catalog\".\"pg_node_tree\""), this, ""); /** * The column pg_catalog.pg_type.typdefault. */ - public final TableField TYPDEFAULT = createField("typdefault", org.jooq.impl.SQLDataType.CLOB, this, ""); + public final TableField TYPDEFAULT = createField(DSL.name("typdefault"), org.jooq.impl.SQLDataType.CLOB, this, ""); /** * The column pg_catalog.pg_type.typacl. */ - public final TableField TYPACL = createField("typacl", org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); + public final TableField TYPACL = createField(DSL.name("typacl"), org.jooq.impl.SQLDataType.VARCHAR.getArrayDataType(), this, ""); /** * Create a pg_catalog.pg_type table reference @@ -221,25 +226,16 @@ public class PgType extends TableImpl { super(child, key, PG_TYPE); } - /** - * {@inheritDoc} - */ @Override public Schema getSchema() { return PgCatalog.PG_CATALOG; } - /** - * {@inheritDoc} - */ @Override public PgType as(String alias) { return new PgType(DSL.name(alias), this); } - /** - * {@inheritDoc} - */ @Override public PgType as(Name alias) { return new PgType(alias, this);