F.18. fulleq

Модуль fulleq предоставляет дополнительный оператор равенства для совместимости с Microsoft SQL Server.

Этот модуль требуется для поддержки системы 1С:Предприятие.

F.18.1. Обзор

Оператор равенства в Postgres Pro определён так, что результатом сравнения двух NULL оказывается NULL. Однако в СУБД семейства Microsoft SQL исторически оператор равенства ведёт себя по-другому и возвращает TRUE, когда оба его операнда равны NULL. Данный модуль предоставляет такой оператор с поведением, принятым в MS SQL.

F.18.2. Оператор fulleq

Оператор == определён для следующих типов данных:

  • bool

  • bytea

  • char

  • name

  • int2

  • int4

  • int8

  • int2vector

  • text

  • oid

  • xid

  • cid

  • oidvector

  • float4

  • float8

  • abstime

  • reltime

  • macaddr

  • inet

  • cidr

  • varchar

  • date

  • time

  • timestamp

  • timestamptz

  • interval

  • timetz

F.18.3. Авторы

      Фёдор Сигаев 
    

F.18. fulleq

The fulleq module provides additional equivalence operator for compatibility with Microsoft SQL Server.

This module is required for 1C Enterprise support.

F.18.1. Overview

The Postgres Pro equivalence operator is defined to return NULL when both operands are NULLs. However, the Microsoft SQL Servers family traditionally defines other semantic for equivalence operator, where operator returns TRUE in the case of both nulled operands. This module provides such operator with MS SQL semantic.

F.18.2. Operator fulleq

The == operator is defined for the following data types:

  • bool

  • bytea

  • char

  • name

  • int2

  • int4

  • int8

  • int2vector

  • text

  • oid

  • xid

  • cid

  • oidvector

  • float4

  • float8

  • abstime

  • reltime

  • macaddr

  • inet

  • cidr

  • varchar

  • date

  • time

  • timestamp

  • timestamptz

  • interval

  • timetz

F.18.3. Authors


      Teodor Sigaev