MCPcopy Create free account
hub / github.com/dolthub/doltgresql / initBinaryLessThan

Function initBinaryLessThan

server/functions/binary/less.go:38–79  ·  view source on GitHub ↗

These functions can be gathered using the following query from a Postgres 15 instance: SELECT * FROM pg_operator o WHERE o.oprname = '<' ORDER BY o.oprcode::varchar; initBinaryLessThan registers the functions to the catalog.

()

Source from the content-addressed store, hash-verified

36
37// initBinaryLessThan registers the functions to the catalog.
38func initBinaryLessThan() {
39 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, boollt)
40 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, bpcharlt)
41 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, bytealt)
42 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, charlt)
43 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, date_lt)
44 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, date_lt_timestamp)
45 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, date_lt_timestamptz)
46 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, enum_lt)
47 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, float4lt)
48 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, float48lt)
49 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, float84lt)
50 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, float8lt)
51 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int2lt)
52 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int24lt)
53 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int28lt)
54 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int42lt)
55 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int4lt)
56 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int48lt)
57 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int82lt)
58 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int84lt)
59 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, int8lt)
60 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, interval_lt)
61 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, jsonb_lt)
62 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, namelt)
63 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, namelttext)
64 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, numeric_lt)
65 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, oidlt)
66 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, oidvectorlt)
67 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, textltname)
68 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, text_lt)
69 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, time_lt)
70 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, timestamp_lt_date)
71 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, timestamp_lt)
72 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, timestamp_lt_timestamptz)
73 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, timestamptz_lt_date)
74 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, timestamptz_lt_timestamp)
75 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, timestamptz_lt)
76 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, timetz_lt)
77 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, record_lt)
78 framework.RegisterBinaryFunction(framework.Operator_BinaryLessThan, uuid_lt)
79}
80
81// boollt represents the PostgreSQL function of the same name, taking the same parameters.
82var boollt = framework.Function2{

Callers 1

InitFunction · 0.85

Calls 1

RegisterBinaryFunctionFunction · 0.92

Tested by

no test coverage detected