Class ModelConstants

java.lang.Object
org.postgresql.pljava.pg.ModelConstants

public abstract class ModelConstants extends Object
Supply static values that can vary between PostgreSQL versions/builds.
  • Field Details

    • PG_SQL_ASCII

      @Native public static final int PG_SQL_ASCII
      See Also:
    • PG_UTF8

      @Native public static final int PG_UTF8
      See Also:
    • PG_LATIN1

      @Native public static final int PG_LATIN1
      See Also:
    • PG_ENCODING_BE_LAST

      @Native public static final int PG_ENCODING_BE_LAST
      See Also:
    • ANYOID

      @Native public static final int ANYOID
      See Also:
    • ANYARRAYOID

      @Native public static final int ANYARRAYOID
      See Also:
    • ANYELEMENTOID

      @Native public static final int ANYELEMENTOID
      See Also:
    • ANYNONARRAYOID

      @Native public static final int ANYNONARRAYOID
      See Also:
    • ANYENUMOID

      @Native public static final int ANYENUMOID
      See Also:
    • ANYRANGEOID

      @Native public static final int ANYRANGEOID
      See Also:
    • ANYMULTIRANGEOID

      @Native public static final int ANYMULTIRANGEOID
      See Also:
    • ANYCOMPATIBLEMULTIRANGEOID

      @Native public static final int ANYCOMPATIBLEMULTIRANGEOID
      See Also:
    • ANYCOMPATIBLEOID

      @Native public static final int ANYCOMPATIBLEOID
      See Also:
    • ANYCOMPATIBLEARRAYOID

      @Native public static final int ANYCOMPATIBLEARRAYOID
      See Also:
    • ANYCOMPATIBLENONARRAYOID

      @Native public static final int ANYCOMPATIBLENONARRAYOID
      See Also:
    • ANYCOMPATIBLERANGEOID

      @Native public static final int ANYCOMPATIBLERANGEOID
      See Also:
    • VARHDRSZ

      @Native public static final int VARHDRSZ
      See Also:
    • VARHDRSZ_EXTERNAL

      @Native public static final int VARHDRSZ_EXTERNAL
      See Also:
    • VARTAG_INDIRECT

      @Native public static final byte VARTAG_INDIRECT
      See Also:
    • VARTAG_EXPANDED_RO

      @Native public static final byte VARTAG_EXPANDED_RO
      See Also:
    • VARTAG_EXPANDED_RW

      @Native public static final byte VARTAG_EXPANDED_RW
      See Also:
    • VARTAG_ONDISK

      @Native public static final byte VARTAG_ONDISK
      See Also:
    • Anum_pg_attribute_attname

      @Native public static final int Anum_pg_attribute_attname
      See Also:
    • SIZEOF_pg_attribute_atttypid

      @Native public static final int SIZEOF_pg_attribute_atttypid
      See Also:
    • SIZEOF_pg_attribute_attlen

      @Native public static final int SIZEOF_pg_attribute_attlen
      See Also:
    • SIZEOF_pg_attribute_attcacheoff

      @Native public static final int SIZEOF_pg_attribute_attcacheoff
      See Also:
    • SIZEOF_pg_attribute_atttypmod

      @Native public static final int SIZEOF_pg_attribute_atttypmod
      See Also:
    • SIZEOF_pg_attribute_attbyval

      @Native public static final int SIZEOF_pg_attribute_attbyval
      See Also:
    • SIZEOF_pg_attribute_attalign

      @Native public static final int SIZEOF_pg_attribute_attalign
      See Also:
    • SIZEOF_pg_attribute_attnotnull

      @Native public static final int SIZEOF_pg_attribute_attnotnull
      See Also:
    • SIZEOF_pg_attribute_attisdropped

      @Native public static final int SIZEOF_pg_attribute_attisdropped
      See Also:
    • Anum_pg_extension_oid

      @Native public static final int Anum_pg_extension_oid
      See Also:
    • ExtensionOidIndexId

      @Native public static final int ExtensionOidIndexId
      See Also:
    • SIZEOF_ArrayType_ndim

      @Native public static final int SIZEOF_ArrayType_ndim
      See Also:
    • SIZEOF_ArrayType_dataoffset

      @Native public static final int SIZEOF_ArrayType_dataoffset
      See Also:
    • SIZEOF_ArrayType_elemtype

      @Native public static final int SIZEOF_ArrayType_elemtype
      See Also:
    • OFFSET_ArrayType_ndim

      @Native public static final int OFFSET_ArrayType_ndim
      See Also:
    • OFFSET_ArrayType_dataoffset

      @Native public static final int OFFSET_ArrayType_dataoffset
      See Also:
    • OFFSET_ArrayType_elemtype

      @Native public static final int OFFSET_ArrayType_elemtype
      See Also:
    • OFFSET_ArrayType_DIMS

      @Native public static final int OFFSET_ArrayType_DIMS
      See Also:
    • SIZEOF_ArrayType_DIM

      @Native public static final int SIZEOF_ArrayType_DIM
      See Also:
    • SIZEOF_NodeTag

      @Native public static final int SIZEOF_NodeTag
      See Also:
    • SIZEOF_Oid

      @Native public static final int SIZEOF_Oid
      See Also:
    • SIZEOF_fcinfo_fncollation

      @Native public static final int SIZEOF_fcinfo_fncollation
      See Also:
    • SIZEOF_fcinfo_isnull

      @Native public static final int SIZEOF_fcinfo_isnull
      See Also:
    • SIZEOF_fcinfo_nargs

      @Native public static final int SIZEOF_fcinfo_nargs
      See Also:
    • PG_VERSION_NUM

      public static final int PG_VERSION_NUM
      Numeric PostgreSQL version compiled in at build time.
    • SIZEOF_DATUM

      public static final int SIZEOF_DATUM
    • SIZEOF_INT

      public static final int SIZEOF_INT
    • SIZEOF_SIZE

      public static final int SIZEOF_SIZE
    • ALIGNOF_SHORT

      public static final int ALIGNOF_SHORT
    • ALIGNOF_INT

      public static final int ALIGNOF_INT
    • ALIGNOF_DOUBLE

      public static final int ALIGNOF_DOUBLE
    • MAXIMUM_ALIGNOF

      public static final int MAXIMUM_ALIGNOF
    • NAMEDATALEN

      public static final short NAMEDATALEN
    • SIZEOF_varatt_indirect

      public static final int SIZEOF_varatt_indirect
    • SIZEOF_varatt_expanded

      public static final int SIZEOF_varatt_expanded
    • SIZEOF_varatt_external

      public static final int SIZEOF_varatt_external
    • HEAPTUPLESIZE

      public static final int HEAPTUPLESIZE
    • OFFSET_TTS_NVALID

      public static final int OFFSET_TTS_NVALID
    • SIZEOF_TTS_NVALID

      public static final int SIZEOF_TTS_NVALID
    • TTS_FLAG_EMPTY

      public static final int TTS_FLAG_EMPTY
    • TTS_FLAG_FIXED

      public static final int TTS_FLAG_FIXED
    • OFFSET_TTS_FLAGS

      public static final int OFFSET_TTS_FLAGS
    • OFFSET_TTS_EMPTY

      public static final int OFFSET_TTS_EMPTY
    • OFFSET_TTS_FIXED

      public static final int OFFSET_TTS_FIXED
    • OFFSET_TTS_TABLEOID

      public static final int OFFSET_TTS_TABLEOID
    • OFFSET_NullableDatum_isnull

      public static final int OFFSET_NullableDatum_isnull
    • SIZEOF_NullableDatum

      public static final int SIZEOF_NullableDatum
    • OFFSET_fcinfo_fncollation

      public static final int OFFSET_fcinfo_fncollation
    • OFFSET_fcinfo_isnull

      public static final int OFFSET_fcinfo_isnull
    • OFFSET_fcinfo_nargs

      public static final int OFFSET_fcinfo_nargs
    • OFFSET_fcinfo_args

      public static final int OFFSET_fcinfo_args
    • OFFSET_TUPLEDESC_ATTRS

      public static final int OFFSET_TUPLEDESC_ATTRS
    • OFFSET_TUPLEDESC_TDREFCOUNT

      public static final int OFFSET_TUPLEDESC_TDREFCOUNT
    • SIZEOF_TUPLEDESC_TDREFCOUNT

      public static final int SIZEOF_TUPLEDESC_TDREFCOUNT
    • OFFSET_TUPLEDESC_TDTYPEID

      public static final int OFFSET_TUPLEDESC_TDTYPEID
    • OFFSET_TUPLEDESC_TDTYPMOD

      public static final int OFFSET_TUPLEDESC_TDTYPMOD
    • SIZEOF_FORM_PG_ATTRIBUTE

      public static final int SIZEOF_FORM_PG_ATTRIBUTE
    • ATTRIBUTE_FIXED_PART_SIZE

      public static final int ATTRIBUTE_FIXED_PART_SIZE
    • OFFSET_pg_attribute_atttypid

      public static final int OFFSET_pg_attribute_atttypid
    • OFFSET_pg_attribute_attlen

      public static final int OFFSET_pg_attribute_attlen
    • OFFSET_pg_attribute_attcacheoff

      public static final int OFFSET_pg_attribute_attcacheoff
    • OFFSET_pg_attribute_atttypmod

      public static final int OFFSET_pg_attribute_atttypmod
    • OFFSET_pg_attribute_attbyval

      public static final int OFFSET_pg_attribute_attbyval
    • OFFSET_pg_attribute_attalign

      public static final int OFFSET_pg_attribute_attalign
    • OFFSET_pg_attribute_attnotnull

      public static final int OFFSET_pg_attribute_attnotnull
    • OFFSET_pg_attribute_attisdropped

      public static final int OFFSET_pg_attribute_attisdropped
    • CLASS_TUPLE_SIZE

      public static final int CLASS_TUPLE_SIZE
    • Anum_pg_class_reltype

      public static final int Anum_pg_class_reltype
    • SIZEOF_MCTX

      public static final int SIZEOF_MCTX
    • OFFSET_MCTX_isReset

      public static final int OFFSET_MCTX_isReset
    • OFFSET_MCTX_mem_allocated

      public static final int OFFSET_MCTX_mem_allocated
    • OFFSET_MCTX_parent

      public static final int OFFSET_MCTX_parent
    • OFFSET_MCTX_firstchild

      public static final int OFFSET_MCTX_firstchild
    • OFFSET_MCTX_prevchild

      public static final int OFFSET_MCTX_prevchild
    • OFFSET_MCTX_nextchild

      public static final int OFFSET_MCTX_nextchild
    • OFFSET_MCTX_name

      public static final int OFFSET_MCTX_name
    • OFFSET_MCTX_ident

      public static final int OFFSET_MCTX_ident
    • N_ACL_RIGHTS

      public static final int N_ACL_RIGHTS
    • BITS_PER_BITMAPWORD

      public static final int BITS_PER_BITMAPWORD
    • T_Invalid

      public static final int T_Invalid
    • T_AggState

      public static final int T_AggState
    • T_Bitmapset

      public static final int T_Bitmapset
    • T_CallContext

      public static final int T_CallContext
    • T_ErrorSaveContext

      public static final int T_ErrorSaveContext
    • T_EventTriggerData

      public static final int T_EventTriggerData
    • T_ReturnSetInfo

      public static final int T_ReturnSetInfo
    • T_TriggerData

      public static final int T_TriggerData
    • T_WindowAggState

      public static final int T_WindowAggState
    • T_WindowObjectData

      public static final int T_WindowObjectData
    • ATTNUM

      public static final int ATTNUM
    • AUTHMEMMEMROLE

      public static final int AUTHMEMMEMROLE
    • AUTHMEMROLEMEM

      public static final int AUTHMEMROLEMEM
    • AUTHOID

      public static final int AUTHOID
    • COLLOID

      public static final int COLLOID
    • DATABASEOID

      public static final int DATABASEOID
    • LANGOID

      public static final int LANGOID
    • NAMESPACEOID

      public static final int NAMESPACEOID
    • OPEROID

      public static final int OPEROID
    • PROCOID

      public static final int PROCOID
    • RELOID

      public static final int RELOID
    • TSCONFIGOID

      public static final int TSCONFIGOID
    • TSDICTOID

      public static final int TSDICTOID
    • TYPEOID

      public static final int TYPEOID
    • NOCONSTANT

      @Native public static final int NOCONSTANT
      Value supplied for one of these constants when built in a version of PG that does not define it.

      Clearly not useful if the value could be valid for the constant in question.

      See Also:
  • Constructor Details

    • ModelConstants

      public ModelConstants()