Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c2efeafe
Commit
c2efeafe
authored
Sep 01, 1997
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update information and query results for upcoming v6.2 release.
parent
bebfe968
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
578 additions
and
474 deletions
+578
-474
src/man/pgbuiltin.3
src/man/pgbuiltin.3
+578
-474
No files found.
src/man/pgbuiltin.3
View file @
c2efeafe
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/pgbuiltin.3,v 1.
1 1997/08/26 17:39:32 momjian
Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/pgbuiltin.3,v 1.
2 1997/09/01 06:21:00 thomas
Exp $
.TH PGBUILTIN INTRO 04/01/97 PostgreSQL PostgreSQL
.TH PGBUILTIN INTRO 04/01/97 PostgreSQL PostgreSQL
.SH "DESCRIPTION"
.SH "DESCRIPTION"
This section describes the data types, functions and operators
This section describes the data types, functions and operators
...
@@ -79,13 +79,11 @@ types are either unique to Postgres, such as open and closed paths, or have
...
@@ -79,13 +79,11 @@ types are either unique to Postgres, such as open and closed paths, or have
several possibilities for formats, such as date and time types.
several possibilities for formats, such as date and time types.
.SH "Syntax of date and time types"
.SH "Syntax of date and time types"
Some date and time types share code for data input. For those types (currently
Most date and time types share code for data input. For those types (
.IR datetime
.IR datetime ,
and
.IR abstime ,
.IR abstime
.IR timestamp ,
, and
.IR timespan and
.IR timespan
and
.IR reltime )
.IR reltime )
the input can have any of a wide variety of styles. For numeric date representations,
the input can have any of a wide variety of styles. For numeric date representations,
European and US conventions can differ, and the proper interpretation is obtained
European and US conventions can differ, and the proper interpretation is obtained
...
@@ -232,6 +230,17 @@ where
...
@@ -232,6 +230,17 @@ where
Valid relative times are less than or equal to 68 years.)
Valid relative times are less than or equal to 68 years.)
In addition, the special relative time \*(lqUndefined RelTime\*(rq is
In addition, the special relative time \*(lqUndefined RelTime\*(rq is
provided.
provided.
.SH "TIMESTAMP"
This is currently a limited-range absolute time which closely resembles the
.IR abstime
data type. It shares the general input parser with the other date/time types.
In future releases this type will absorb the capabilities of the datetime type
and will move toward SQL92 compliance.
.PP
timestamp is specified using the same syntax as for datetime.
.SH "TIME RANGES"
.SH "TIME RANGES"
Time ranges are specified as:
Time ranges are specified as:
.PP
.PP
...
@@ -317,22 +326,23 @@ path is specified using the following syntax:
...
@@ -317,22 +326,23 @@ path is specified using the following syntax:
.nf
.nf
( x1 , y1 ) , ... , ( xn , yn )
( x1 , y1 ) , ... , ( xn , yn )
.nf
.nf
x1 , y1 , ... , xn , yn
( x1 , y1 , ... , xn , yn )
.nf
.nf
( closed, n, x1 , y1 , ... , xn , yn )
x1 , y1 , ... , xn , yn
.sp
.sp
where
where
(x1,y1),...,(xn,yn) are points 1 through n
(x1,y1),...,(xn,yn) are points 1 through n
a leading "[" indicates an open path
a leading "[" indicates an open path
a leading "(" indicates a closed path
a leading "(" indicates a closed path
a single leading "(" indicates a v6.0-compatible format
closed is an integer flag which is zero for an open path
n is the number of points in the path
.fi
.fi
.PP
.PP
Paths are output using the first syntax.
Paths are output using the first syntax.
The last format is supplied to be backward compatible with v6.0 and earlier
Note that Postgres versions prior to
path formats and will not be supported in future versions of Postgres.
v6.1 used a format for paths which had a single leading parenthesis, a "closed" flag,
an integer count of the number of points, then the list of points followed by a
closing parenthesis. The built-in function upgradepath() is supplied to convert
paths dumped and reloaded from pre-v6.1 databases.
.SH "POLYGON"
.SH "POLYGON"
Polygons are represented by sets of points. Polygons should probably be
Polygons are represented by sets of points. Polygons should probably be
considered
considered
...
@@ -346,18 +356,25 @@ polygon is specified using the following syntax:
...
@@ -346,18 +356,25 @@ polygon is specified using the following syntax:
.nf
.nf
( x1 , y1 ) , ... , ( xn , yn )
( x1 , y1 ) , ... , ( xn , yn )
.nf
.nf
x1 , y1 , ... , xn , yn
( x1 , y1 , ... , xn , yn )
.nf
.nf
( x1 , ... , xn , y1 , ... , yn )
x1 , y1 , ... , xn , yn
.sp
.sp
where
where
(x1,y1),...,(xn,yn) are points 1 through n
(x1,y1),...,(xn,yn) are points 1 through n
a single leading "(" indicates a v6.0-compatible format
.fi
.fi
.PP
.PP
Polygons are output using the first syntax.
Polygons are output using the first syntax.
The last format is supplied to be backward compatible with v6.0 and earlier
The last format is supplied to be backward compatible with v6.0 and earlier
path formats and will not be supported in future versions of Postgres.
path formats and will not be supported in future versions of Postgres.
a single leading "(" indicates a v6.0-compatible format
( x1 , ... , xn , y1 , ... , yn )
Note that Postgres versions prior to
v6.1 used a format for polygons which had a single leading parenthesis, the list
of x-axis coordinates, the list of y-axis coordinates, followed by a closing parenthesis.
The built-in function upgradepoly() is supplied to convert
polygons dumped and reloaded from pre-v6.1 databases.
.SH "CIRCLE"
.SH "CIRCLE"
Circles are represented by a center point and a radius.
Circles are represented by a center point and a radius.
.PP
.PP
...
@@ -426,7 +443,19 @@ general
...
@@ -426,7 +443,19 @@ general
/ division
/ division
% modulus
% modulus
@ absolute value
@ absolute value
<===> distance between
geometric
@ A contained by (inside or on) B
~ A contains (around or on) B
@@ center of object
<-> distance between A and B
&& objects overlap
&< A overlaps B, but does not extend to right of B
&> A overlaps B, but does not extend to left of B
<< A is left of B
>> A is right of B
>^ A is above B
<^ A is below B
float8
float8
^ exponentiation
^ exponentiation
...
@@ -437,28 +466,28 @@ float8
...
@@ -437,28 +466,28 @@ float8
; natural logarithm (in psql, protect with parentheses)
; natural logarithm (in psql, protect with parentheses)
point
point
!< A is left of B
<< A is left of B
!> A is right of B
>> A is right of B
!^ A is above B
>^ A is above B
!| A is below B
<^ A is below B
\(eq|\(eq equality
~\(eq A same as B (equality)
===> point inside box
@ point inside (or on) path, box, circle, polygon
===` point on path
box
box
&& boxes overlap
&& boxes overlap
&< box A overlaps box B, but does not extend to right of box B
&< box A overlaps box B, but does not extend to right of box B
&> box A overlaps box B, but does not extend to left of box B
&> box A overlaps box B, but does not extend to left of box B
<< A is left of B
<< A is left of B
>> A is right of B
>^ A is above B
<^ A is below B
\(eq area equal
\(eq area equal
< area less than
< area less than
<\(eq area less or equal
<\(eq area less or equal
>\(eq area greater or equal
>\(eq area greater or equal
> area greater than
> area greater than
>> A is right of B
~\(eq A same as B (equality)
@ A is contained in B
@ A is contained in B
~\(eq box equality
~= A same as B
~ A contains B
~ A contains B
@@ center of box
@@ center of box
...
@@ -468,9 +497,8 @@ polygon
...
@@ -468,9 +497,8 @@ polygon
&> A overlaps B but does not extend to left of B
&> A overlaps B but does not extend to left of B
<< A is left of B
<< A is left of B
>> A is right of B
>> A is right of B
~\(eq A same as B (equality)
@ A is contained by B
@ A is contained by B
~\(eq equality
~= A same as B
~ A contains B
~ A contains B
circle
circle
...
@@ -479,9 +507,10 @@ circle
...
@@ -479,9 +507,10 @@ circle
&> A overlaps B but does not extend to left of B
&> A overlaps B but does not extend to left of B
<< A is left of B
<< A is left of B
>> A is right of B
>> A is right of B
>^ A is above B
<^ A is below B
~\(eq A same as B (equality)
@ A is contained by B
@ A is contained by B
~\(eq equality
~= A same as B
~ A contains B
~ A contains B
tinterval
tinterval
...
@@ -518,18 +547,19 @@ to return day of week and `epoch' to return seconds since 1970.
...
@@ -518,18 +547,19 @@ to return day of week and `epoch' to return seconds since 1970.
Functions:
Functions:
abstime
abstime
datetime datetime(abstime) convert to datetime
bool isfinite(abstime) TRUE if this is a finite time
bool isfinite(abstime) TRUE if this is a finite time
datetime datetime(abstime) convert to datetime
date
date
datetime datetime(date) convert to datetime
datetime datetime(date) convert to datetime
datetime datetime(date,time) convert to datetime
datetime datetime(date,time) convert to datetime
datetime
datetime
abstime abstime(datetime) convert to abstime
timespan age(datetime,datetime) date difference preserving months and years
float8 date_part(text,datetime) specified portion of date field
float8 date_part(text,datetime) specified portion of date field
datetime date_trunc(text,datetime) truncate date at specified units
datetime date_trunc(text,datetime) truncate date at specified units
bool isfinite(datetime) TRUE if this is a finite time
bool isfinite(datetime) TRUE if this is a finite time
abstime abstime(datetime) convert to abstime
reltime
reltime
timespan timespan(reltime) convert to timespan
timespan timespan(reltime) convert to timespan
...
@@ -585,394 +615,455 @@ These operations are cast in terms of SQL types and so are
...
@@ -585,394 +615,455 @@ These operations are cast in terms of SQL types and so are
directly usable as C function prototypes.
directly usable as C function prototypes.
.nf
.nf
result |left_type |right_type|operatr|func_name
result |left_type |right_type|operatr|func_name
---------+----------+----------+-------+-----------------
---------+----------+----------+-------+-------------------
_aclitem |_aclitem |aclitem |+ |aclinsert
_aclitem |_aclitem |aclitem |+ |aclinsert
_aclitem |_aclitem |aclitem |- |aclremove
_aclitem |_aclitem |aclitem |- |aclremove
abstime |abstime |reltime |+ |timepl
abstime |abstime |reltime |+ |timepl
abstime |abstime |reltime |- |timemi
abstime |abstime |reltime |- |timemi
bool |_abstime |_abstime |= |array_eq
bool |_abstime |_abstime |= |array_eq
bool |_aclitem |_aclitem |= |array_eq
bool |_aclitem |_aclitem |= |array_eq
bool |_aclitem |aclitem |~ |aclcontains
bool |_aclitem |aclitem |~ |aclcontains
bool |_bool |_bool |= |array_eq
bool |_bool |_bool |= |array_eq
bool |_box |_box |= |array_eq
bool |_box |_box |= |array_eq
bool |_bytea |_bytea |= |array_eq
bool |_bytea |_bytea |= |array_eq
bool |_char |_char |= |array_eq
bool |_char |_char |= |array_eq
bool |_char16 |_char16 |= |array_eq
bool |_char16 |_char16 |= |array_eq
bool |_cid |_cid |= |array_eq
bool |_cid |_cid |= |array_eq
bool |_filename |_filename |= |array_eq
bool |_filename |_filename |= |array_eq
bool |_float4 |_float4 |= |array_eq
bool |_float4 |_float4 |= |array_eq
bool |_float8 |_float8 |= |array_eq
bool |_float8 |_float8 |= |array_eq
bool |_int2 |_int2 |= |array_eq
bool |_int2 |_int2 |= |array_eq
bool |_int28 |_int28 |= |array_eq
bool |_int28 |_int28 |= |array_eq
bool |_int4 |_int4 |= |array_eq
bool |_int4 |_int4 |= |array_eq
bool |_lseg |_lseg |= |array_eq
bool |_lseg |_lseg |= |array_eq
bool |_name |_name |= |array_eq
bool |_name |_name |= |array_eq
bool |_oid |_oid |= |array_eq
bool |_oid |_oid |= |array_eq
bool |_oid8 |_oid8 |= |array_eq
bool |_oid8 |_oid8 |= |array_eq
bool |_path |_path |= |array_eq
bool |_path |_path |= |array_eq
bool |_point |_point |= |array_eq
bool |_point |_point |= |array_eq
bool |_polygon |_polygon |= |array_eq
bool |_polygon |_polygon |= |array_eq
bool |_ref |_ref |= |array_eq
bool |_ref |_ref |= |array_eq
bool |_regproc |_regproc |= |array_eq
bool |_regproc |_regproc |= |array_eq
bool |_reltime |_reltime |= |array_eq
bool |_reltime |_reltime |= |array_eq
bool |_stub |_stub |= |array_eq
bool |_stub |_stub |= |array_eq
bool |_text |_text |= |array_eq
bool |_text |_text |= |array_eq
bool |_tid |_tid |= |array_eq
bool |_tid |_tid |= |array_eq
bool |_tinterval|_tinterval|= |array_eq
bool |_tinterval|_tinterval|= |array_eq
bool |_xid |_xid |= |array_eq
bool |_xid |_xid |= |array_eq
bool |abstime |abstime |< |abstimelt
bool |abstime |abstime |< |abstimelt
bool |abstime |abstime |<= |abstimele
bool |abstime |abstime |<= |abstimele
bool |abstime |abstime |<> |abstimene
bool |abstime |abstime |<> |abstimene
bool |abstime |abstime |= |abstimeeq
bool |abstime |abstime |= |abstimeeq
bool |abstime |abstime |> |abstimegt
bool |abstime |abstime |> |abstimegt
bool |abstime |abstime |>= |abstimege
bool |abstime |abstime |>= |abstimege
bool |abstime |tinterval |<?> |ininterval
bool |abstime |tinterval |<?> |ininterval
bool |bool |bool |< |boollt
bool |bool |bool |< |boollt
bool |bool |bool |<> |boolne
bool |bool |bool |<> |boolne
bool |bool |bool |= |booleq
bool |bool |bool |= |booleq
bool |bool |bool |> |boolgt
bool |bool |bool |> |boolgt
bool |box |box |&& |box_overlap
bool |box |box |&& |box_overlap
bool |box |box |&< |box_overleft
bool |box |box |&< |box_overleft
bool |box |box |&> |box_overright
bool |box |box |&> |box_overright
bool |box |box |< |box_lt
bool |box |box |< |box_lt
bool |box |box |<< |box_left
bool |box |box |<< |box_left
bool |box |box |<= |box_le
bool |box |box |<= |box_le
bool |box |box |= |box_eq
bool |box |box |<^ |box_below
bool |box |box |> |box_gt
bool |box |box |= |box_eq
bool |box |box |>= |box_ge
bool |box |box |> |box_gt
bool |box |box |>> |box_right
bool |box |box |>= |box_ge
bool |box |box |@ |box_contained
bool |box |box |>> |box_right
bool |box |box |~ |box_contain
bool |box |box |>^ |box_above
bool |box |box |~= |box_same
bool |box |box |?# |box_overlap
bool |bpchar |bpchar |< |bpcharlt
bool |box |box |@ |box_contained
bool |bpchar |bpchar |<= |bpcharle
bool |box |box |~ |box_contain
bool |bpchar |bpchar |<> |bpcharne
bool |box |box |~= |box_same
bool |bpchar |bpchar |= |bpchareq
bool |bpchar |bpchar |< |bpcharlt
bool |bpchar |bpchar |> |bpchargt
bool |bpchar |bpchar |<= |bpcharle
bool |bpchar |bpchar |>= |bpcharge
bool |bpchar |bpchar |<> |bpcharne
bool |bpchar |text |!~ |textregexne
bool |bpchar |bpchar |= |bpchareq
bool |bpchar |text |!~* |texticregexne
bool |bpchar |bpchar |> |bpchargt
bool |bpchar |text |!~~ |textnlike
bool |bpchar |bpchar |>= |bpcharge
bool |bpchar |text |~ |textregexeq
bool |bpchar |text |!~ |textregexne
bool |bpchar |text |~* |texticregexeq
bool |bpchar |text |!~* |texticregexne
bool |bpchar |text |~~ |textlike
bool |bpchar |text |!~~ |textnlike
bool |char |char |< |charlt
bool |bpchar |text |~ |textregexeq
bool |char |char |<= |charle
bool |bpchar |text |~* |texticregexeq
bool |char |char |<> |charne
bool |bpchar |text |~~ |textlike
bool |char |char |= |chareq
bool |char |char |< |charlt
bool |char |char |> |chargt
bool |char |char |<= |charle
bool |char |char |>= |charge
bool |char |char |<> |charne
bool |char16 |char16 |< |char16lt
bool |char |char |= |chareq
bool |char16 |char16 |<= |char16le
bool |char |char |> |chargt
bool |char16 |char16 |<> |char16ne
bool |char |char |>= |charge
bool |char16 |char16 |= |char16eq
bool |char16 |char16 |< |char16lt
bool |char16 |char16 |> |char16gt
bool |char16 |char16 |<= |char16le
bool |char16 |char16 |>= |char16ge
bool |char16 |char16 |<> |char16ne
bool |char16 |text |!~ |char16regexne
bool |char16 |char16 |= |char16eq
bool |char16 |text |!~* |char16icregexne
bool |char16 |char16 |> |char16gt
bool |char16 |text |!~~ |char16nlike
bool |char16 |char16 |>= |char16ge
bool |char16 |text |!~~ |char16nlike
bool |char16 |text |!~ |char16regexne
bool |char16 |text |~ |char16regexeq
bool |char16 |text |!~* |char16icregexne
bool |char16 |text |~* |char16icregexeq
bool |char16 |text |!~~ |char16nlike
bool |char16 |text |~~ |char16like
bool |char16 |text |~ |char16regexeq
bool |char16 |text |~~ |char16like
bool |char16 |text |~* |char16icregexeq
bool |char2 |char2 |< |char2lt
bool |char16 |text |~~ |char16like
bool |char2 |char2 |<= |char2le
bool |char2 |char2 |< |char2lt
bool |char2 |char2 |<> |char2ne
bool |char2 |char2 |<= |char2le
bool |char2 |char2 |= |char2eq
bool |char2 |char2 |<> |char2ne
bool |char2 |char2 |> |char2gt
bool |char2 |char2 |= |char2eq
bool |char2 |char2 |>= |char2ge
bool |char2 |char2 |> |char2gt
bool |char2 |text |!~ |char2regexne
bool |char2 |char2 |>= |char2ge
bool |char2 |text |!~* |char2icregexne
bool |char2 |text |!~ |char2regexne
bool |char2 |text |!~~ |char2nlike
bool |char2 |text |!~* |char2icregexne
bool |char2 |text |~ |char2regexeq
bool |char2 |text |!~~ |char2nlike
bool |char2 |text |~* |char2icregexeq
bool |char2 |text |~ |char2regexeq
bool |char2 |text |~~ |char2like
bool |char2 |text |~* |char2icregexeq
bool |char4 |char4 |< |char4lt
bool |char2 |text |~~ |char2like
bool |char4 |char4 |<= |char4le
bool |char4 |char4 |< |char4lt
bool |char4 |char4 |<> |char4ne
bool |char4 |char4 |<= |char4le
bool |char4 |char4 |= |char4eq
bool |char4 |char4 |<> |char4ne
bool |char4 |char4 |> |char4gt
bool |char4 |char4 |= |char4eq
bool |char4 |char4 |>= |char4ge
bool |char4 |char4 |> |char4gt
bool |char4 |text |!~ |char4regexne
bool |char4 |char4 |>= |char4ge
bool |char4 |text |!~* |char4icregexne
bool |char4 |text |!~ |char4regexne
bool |char4 |text |!~~ |char4nlike
bool |char4 |text |!~* |char4icregexne
bool |char4 |text |~ |char4regexeq
bool |char4 |text |!~~ |char4nlike
bool |char4 |text |~* |char4icregexeq
bool |char4 |text |~ |char4regexeq
bool |char4 |text |~~ |char4like
bool |char4 |text |~* |char4icregexeq
bool |char8 |char8 |< |char8lt
bool |char4 |text |~~ |char4like
bool |char8 |char8 |<= |char8le
bool |char8 |char8 |< |char8lt
bool |char8 |char8 |<> |char8ne
bool |char8 |char8 |<= |char8le
bool |char8 |char8 |= |char8eq
bool |char8 |char8 |<> |char8ne
bool |char8 |char8 |> |char8gt
bool |char8 |char8 |= |char8eq
bool |char8 |char8 |>= |char8ge
bool |char8 |char8 |> |char8gt
bool |char8 |text |!~ |char8regexne
bool |char8 |char8 |>= |char8ge
bool |char8 |text |!~* |char8icregexne
bool |char8 |text |!~ |char8regexne
bool |char8 |text |!~~ |char8nlike
bool |char8 |text |!~* |char8icregexne
bool |char8 |text |~ |char8regexeq
bool |char8 |text |!~~ |char8nlike
bool |char8 |text |~* |char8icregexeq
bool |char8 |text |~ |char8regexeq
bool |char8 |text |~~ |char8like
bool |char8 |text |~* |char8icregexeq
bool |circle |circle |!^ |circle_above
bool |char8 |text |~~ |char8like
bool |circle |circle |!\| |circle_below
bool |circle |circle |&& |circle_overlap
bool |circle |circle |&& |circle_overlap
bool |circle |circle |&< |circle_overleft
bool |circle |circle |&< |circle_overleft
bool |circle |circle |&> |circle_overright
bool |circle |circle |&> |circle_overright
bool |circle |circle |< |circle_lt
bool |circle |circle |< |circle_eq
bool |circle |circle |<< |circle_left
bool |circle |circle |<< |circle_left
bool |circle |circle |<= |circle_le
bool |circle |circle |<= |circle_eq
bool |circle |circle |<> |circle_ne
bool |circle |circle |<> |circle_ne
bool |circle |circle |<^ |circle_below
bool |circle |circle |= |circle_eq
bool |circle |circle |= |circle_eq
bool |circle |circle |> |circle_eq
bool |circle |circle |> |circle_gt
bool |circle |circle |>= |circle_eq
bool |circle |circle |>= |circle_ge
bool |circle |circle |>> |circle_right
bool |circle |circle |>> |circle_right
bool |circle |circle |@ |circle_contained
bool |circle |circle |>^ |circle_above
bool |circle |circle |~ |circle_contain
bool |circle |circle |@ |circle_contained
bool |circle |circle |~= |circle_same
bool |circle |circle |~ |circle_contain
bool |date |date |< |date_lt
bool |circle |circle |~= |circle_same
bool |date |date |<= |date_le
bool |circle |point |~ |circle_contain_pt
bool |date |date |<> |date_ne
bool |date |date |< |date_lt
bool |date |date |= |date_eq
bool |date |date |<= |date_le
bool |date |date |> |date_gt
bool |date |date |<> |date_ne
bool |date |date |>= |date_ge
bool |date |date |= |date_eq
bool |datetime |datetime |< |datetime_lt
bool |date |date |> |date_gt
bool |datetime |datetime |<= |datetime_le
bool |date |date |>= |date_ge
bool |datetime |datetime |<> |datetime_ne
bool |datetime |datetime |< |datetime_lt
bool |datetime |datetime |= |datetime_eq
bool |datetime |datetime |<= |datetime_le
bool |datetime |datetime |> |datetime_gt
bool |datetime |datetime |<> |datetime_ne
bool |datetime |datetime |>= |datetime_ge
bool |datetime |datetime |= |datetime_eq
bool |float4 |float4 |< |float4lt
bool |datetime |datetime |> |datetime_gt
bool |float4 |float4 |<= |float4le
bool |datetime |datetime |>= |datetime_ge
bool |float4 |float4 |<> |float4ne
bool |float4 |float4 |< |float4lt
bool |float4 |float4 |= |float4eq
bool |float4 |float4 |<= |float4le
bool |float4 |float4 |> |float4gt
bool |float4 |float4 |<> |float4ne
bool |float4 |float4 |>= |float4ge
bool |float4 |float4 |= |float4eq
bool |float4 |float8 |< |float48lt
bool |float4 |float4 |> |float4gt
bool |float4 |float8 |<= |float48le
bool |float4 |float4 |>= |float4ge
bool |float4 |float8 |<> |float48ne
bool |float4 |float8 |< |float48lt
bool |float4 |float8 |= |float48eq
bool |float4 |float8 |<= |float48le
bool |float4 |float8 |> |float48gt
bool |float4 |float8 |<> |float48ne
bool |float4 |float8 |>= |float48ge
bool |float4 |float8 |= |float48eq
bool |float8 |float4 |< |float84lt
bool |float4 |float8 |> |float48gt
bool |float8 |float4 |<= |float84le
bool |float4 |float8 |>= |float48ge
bool |float8 |float4 |<> |float84ne
bool |float8 |float4 |< |float84lt
bool |float8 |float4 |= |float84eq
bool |float8 |float4 |<= |float84le
bool |float8 |float4 |> |float84gt
bool |float8 |float4 |<> |float84ne
bool |float8 |float4 |>= |float84ge
bool |float8 |float4 |= |float84eq
bool |float8 |float8 |< |float8lt
bool |float8 |float4 |> |float84gt
bool |float8 |float8 |<= |float8le
bool |float8 |float4 |>= |float84ge
bool |float8 |float8 |<> |float8ne
bool |float8 |float8 |< |float8lt
bool |float8 |float8 |= |float8eq
bool |float8 |float8 |<= |float8le
bool |float8 |float8 |> |float8gt
bool |float8 |float8 |<> |float8ne
bool |float8 |float8 |>= |float8ge
bool |float8 |float8 |= |float8eq
bool |int2 |int2 |< |int2lt
bool |float8 |float8 |> |float8gt
bool |int2 |int2 |<= |int2le
bool |float8 |float8 |>= |float8ge
bool |int2 |int2 |<> |int2ne
bool |int2 |int2 |< |int2lt
bool |int2 |int2 |= |int2eq
bool |int2 |int2 |<= |int2le
bool |int2 |int2 |> |int2gt
bool |int2 |int2 |<> |int2ne
bool |int2 |int2 |>= |int2ge
bool |int2 |int2 |= |int2eq
bool |int4 |int4 |< |int4lt
bool |int2 |int2 |> |int2gt
bool |int4 |int4 |<= |int4le
bool |int2 |int2 |>= |int2ge
bool |int4 |int4 |<> |int4ne
bool |int4 |int4 |< |int4lt
bool |int4 |int4 |= |int4eq
bool |int4 |int4 |<= |int4le
bool |int4 |int4 |> |int4gt
bool |int4 |int4 |<> |int4ne
bool |int4 |int4 |>= |int4ge
bool |int4 |int4 |= |int4eq
bool |int4 |name |!!= |int4notin
bool |int4 |int4 |> |int4gt
bool |int4 |oid |= |int4eqoid
bool |int4 |int4 |>= |int4ge
bool |money |money |< |cash_lt
bool |int4 |name |!!= |int4notin
bool |money |money |<= |cash_le
bool |int4 |oid |= |int4eqoid
bool |money |money |<> |cash_ne
bool |line |box |?# |inter_lb
bool |money |money |= |cash_eq
bool |lseg |box |?# |inter_sb
bool |money |money |> |cash_gt
bool |lseg |box |@ |on_sb
bool |money |money |>= |cash_ge
bool |lseg |line |?# |inter_sl
bool |name |name |< |namelt
bool |lseg |line |@ |on_sl
bool |name |name |<= |namele
bool |lseg |lseg |= |lseg_eq
bool |name |name |<> |namene
bool |lseg |lseg |?# |lseg_intersect
bool |name |name |= |nameeq
bool |lseg |lseg |?-\| |lseg_perp
bool |name |name |> |namegt
bool |lseg |lseg |?\|\| |lseg_parallel
bool |name |name |>= |namege
bool |money |money |< |cash_lt
bool |name |text |!~ |nameregexne
bool |money |money |<= |cash_le
bool |name |text |!~* |nameicregexne
bool |money |money |<> |cash_ne
bool |name |text |!~~ |namenlike
bool |money |money |= |cash_eq
bool |name |text |~ |nameregexeq
bool |money |money |> |cash_gt
bool |name |text |~* |nameicregexeq
bool |money |money |>= |cash_ge
bool |name |text |~~ |namelike
bool |name |name |< |namelt
bool |oid |int4 |= |oideqint4
bool |name |name |<= |namele
bool |oid |name |!!= |oidnotin
bool |name |name |<> |namene
bool |oid |oid |< |int4lt
bool |name |name |= |nameeq
bool |oid |oid |<= |int4le
bool |name |name |> |namegt
bool |oid |oid |<> |oidne
bool |name |name |>= |namege
bool |oid |oid |= |oideq
bool |name |text |!~ |nameregexne
bool |oid |oid |> |int4gt
bool |name |text |!~* |nameicregexne
bool |oid |oid |>= |int4ge
bool |name |text |!~~ |namenlike
bool |oidint2 |oidint2 |< |oidint2lt
bool |name |text |~ |nameregexeq
bool |oidint2 |oidint2 |<= |oidint2le
bool |name |text |~* |nameicregexeq
bool |oidint2 |oidint2 |<> |oidint2ne
bool |name |text |~~ |namelike
bool |oidint2 |oidint2 |= |oidint2eq
bool |oid |int4 |= |oideqint4
bool |oidint2 |oidint2 |> |oidint2gt
bool |oid |name |!!= |oidnotin
bool |oidint2 |oidint2 |>= |oidint2ge
bool |oid |oid |< |int4lt
bool |oidint4 |oidint4 |< |oidint4lt
bool |oid |oid |<= |int4le
bool |oidint4 |oidint4 |<= |oidint4le
bool |oid |oid |<> |oidne
bool |oidint4 |oidint4 |<> |oidint4ne
bool |oid |oid |= |oideq
bool |oidint4 |oidint4 |= |oidint4eq
bool |oid |oid |> |int4gt
bool |oidint4 |oidint4 |> |oidint4gt
bool |oid |oid |>= |int4ge
bool |oidint4 |oidint4 |>= |oidint4ge
bool |oidint2 |oidint2 |< |oidint2lt
bool |oidname |oidname |< |oidnamelt
bool |oidint2 |oidint2 |<= |oidint2le
bool |oidname |oidname |<= |oidnamele
bool |oidint2 |oidint2 |<> |oidint2ne
bool |oidname |oidname |<> |oidnamene
bool |oidint2 |oidint2 |= |oidint2eq
bool |oidname |oidname |= |oidnameeq
bool |oidint2 |oidint2 |> |oidint2gt
bool |oidname |oidname |> |oidnamegt
bool |oidint2 |oidint2 |>= |oidint2ge
bool |oidname |oidname |>= |oidnamege
bool |oidint4 |oidint4 |< |oidint4lt
bool |point |box |===> |on_pb
bool |oidint4 |oidint4 |<= |oidint4le
bool |point |path |===` |on_ppath
bool |oidint4 |oidint4 |<> |oidint4ne
bool |point |point |!< |point_left
bool |oidint4 |oidint4 |= |oidint4eq
bool |point |point |!> |point_right
bool |oidint4 |oidint4 |> |oidint4gt
bool |point |point |!^ |point_above
bool |oidint4 |oidint4 |>= |oidint4ge
bool |point |point |!\| |point_below
bool |oidname |oidname |< |oidnamelt
bool |point |point |=\|= |point_eq
bool |oidname |oidname |<= |oidnamele
bool |polygon |polygon |&& |poly_overlap
bool |oidname |oidname |<> |oidnamene
bool |polygon |polygon |&< |poly_overleft
bool |oidname |oidname |= |oidnameeq
bool |polygon |polygon |&> |poly_overright
bool |oidname |oidname |> |oidnamegt
bool |polygon |polygon |<< |poly_left
bool |oidname |oidname |>= |oidnamege
bool |polygon |polygon |>> |poly_right
bool |path |path |< |path_n_lt
bool |polygon |polygon |@ |poly_contained
bool |path |path |<= |path_n_le
bool |polygon |polygon |~ |poly_contain
bool |path |path |= |path_n_eq
bool |polygon |polygon |~= |poly_same
bool |path |path |> |path_n_gt
bool |reltime |reltime |< |reltimelt
bool |path |path |>= |path_n_ge
bool |reltime |reltime |<= |reltimele
bool |path |path |?# |path_inter
bool |reltime |reltime |<> |reltimene
bool |path |point |~ |path_contain_pt
bool |reltime |reltime |= |reltimeeq
bool |point |box |@ |on_pb
bool |reltime |reltime |> |reltimegt
bool |point |circle |@ |pt_contained_circle
bool |reltime |reltime |>= |reltimege
bool |point |line |@ |on_pl
bool |text |text |!~ |textregexne
bool |point |lseg |@ |on_ps
bool |text |text |!~* |texticregexne
bool |point |path |@ |pt_contained_path
bool |text |text |!~~ |textnlike
bool |point |path |@ |on_ppath
bool |text |text |< |text_lt
bool |point |point |<< |point_left
bool |text |text |<= |text_le
bool |point |point |<^ |point_below
bool |text |text |<> |textne
bool |point |point |>> |point_right
bool |text |text |= |texteq
bool |point |point |>^ |point_above
bool |text |text |> |text_gt
bool |point |point |?- |point_horiz
bool |text |text |>= |text_ge
bool |point |point |?\| |point_vert
bool |text |text |~ |textregexeq
bool |point |point |~= |point_eq
bool |text |text |~* |texticregexeq
bool |point |polygon |@ |pt_contained_poly
bool |text |text |~~ |textlike
bool |polygon |point |~ |poly_contain_pt
bool |time |time |< |time_lt
bool |polygon |polygon |&& |poly_overlap
bool |time |time |<= |time_le
bool |polygon |polygon |&< |poly_overleft
bool |time |time |<> |time_ne
bool |polygon |polygon |&> |poly_overright
bool |time |time |= |time_eq
bool |polygon |polygon |<< |poly_left
bool |time |time |> |time_gt
bool |polygon |polygon |>> |poly_right
bool |time |time |>= |time_ge
bool |polygon |polygon |@ |poly_contained
bool |timespan |timespan |< |timespan_lt
bool |polygon |polygon |~ |poly_contain
bool |timespan |timespan |<= |timespan_le
bool |polygon |polygon |~= |poly_same
bool |timespan |timespan |<> |timespan_ne
bool |reltime |reltime |< |reltimelt
bool |timespan |timespan |= |timespan_eq
bool |reltime |reltime |<= |reltimele
bool |timespan |timespan |> |timespan_gt
bool |reltime |reltime |<> |reltimene
bool |timespan |timespan |>= |timespan_ge
bool |reltime |reltime |= |reltimeeq
bool |timestamp |timestamp |< |timestamplt
bool |reltime |reltime |> |reltimegt
bool |timestamp |timestamp |<= |timestample
bool |reltime |reltime |>= |reltimege
bool |timestamp |timestamp |<> |timestampne
bool |text |text |!~ |textregexne
bool |timestamp |timestamp |= |timestampeq
bool |text |text |!~* |texticregexne
bool |timestamp |timestamp |> |timestampgt
bool |text |text |!~~ |textnlike
bool |timestamp |timestamp |>= |timestampge
bool |text |text |< |text_lt
bool |tinterval |reltime |#< |intervallenlt
bool |text |text |<= |text_le
bool |tinterval |reltime |#<= |intervallenle
bool |text |text |<> |textne
bool |tinterval |reltime |#<> |intervallenne
bool |text |text |= |texteq
bool |tinterval |reltime |#= |intervalleneq
bool |text |text |> |text_gt
bool |tinterval |reltime |#> |intervallengt
bool |text |text |>= |text_ge
bool |tinterval |reltime |#>= |intervallenge
bool |text |text |~ |textregexeq
bool |tinterval |tinterval |&& |intervalov
bool |text |text |~* |texticregexeq
bool |tinterval |tinterval |<< |intervalct
bool |text |text |~~ |textlike
bool |tinterval |tinterval |= |intervaleq
bool |time |time |< |time_lt
bool |varchar |text |!~ |textregexne
bool |time |time |<= |time_le
bool |varchar |text |!~* |texticregexne
bool |time |time |<> |time_ne
bool |varchar |text |!~~ |textnlike
bool |time |time |= |time_eq
bool |varchar |text |~ |textregexeq
bool |time |time |> |time_gt
bool |varchar |text |~* |texticregexeq
bool |time |time |>= |time_ge
bool |varchar |text |~~ |textlike
bool |timespan |timespan |< |timespan_lt
bool |varchar |varchar |< |varcharlt
bool |timespan |timespan |<= |timespan_le
bool |varchar |varchar |<= |varcharle
bool |timespan |timespan |<> |timespan_ne
bool |varchar |varchar |<> |varcharne
bool |timespan |timespan |= |timespan_eq
bool |varchar |varchar |= |varchareq
bool |timespan |timespan |> |timespan_gt
bool |varchar |varchar |> |varchargt
bool |timespan |timespan |>= |timespan_ge
bool |varchar |varchar |>= |varcharge
bool |timestamp |timestamp |< |timestamplt
char |char |char |* |charmul
bool |timestamp |timestamp |<= |timestample
char |char |char |+ |charpl
bool |timestamp |timestamp |<> |timestampne
char |char |char |- |charmi
bool |timestamp |timestamp |= |timestampeq
char |char |char |/ |chardiv
bool |timestamp |timestamp |> |timestampgt
date |date |int4 |+ |date_pli
bool |timestamp |timestamp |>= |timestampge
date |date |int4 |- |date_mii
bool |tinterval |reltime |#< |intervallenlt
datetime |datetime |timespan |+ |datetime_add_span
bool |tinterval |reltime |#<= |intervallenle
datetime |datetime |timespan |- |datetime_sub_span
bool |tinterval |reltime |#<> |intervallenne
float4 |float4 |float4 |* |float4mul
bool |tinterval |reltime |#= |intervalleneq
float4 |float4 |float4 |+ |float4pl
bool |tinterval |reltime |#> |intervallengt
float4 |float4 |float4 |- |float4mi
bool |tinterval |reltime |#>= |intervallenge
float4 |float4 |float4 |/ |float4div
bool |tinterval |tinterval |&& |intervalov
float8 |box |box |<===> |box_distance
bool |tinterval |tinterval |< |intervalct
float8 |circle |circle |<===> |circle_distance
bool |tinterval |tinterval |<< |intervalct
float8 |float4 |float8 |* |float48mul
bool |tinterval |tinterval |= |intervaleq
float8 |float4 |float8 |+ |float48pl
bool |varchar |text |!~ |textregexne
float8 |float4 |float8 |- |float48mi
bool |varchar |text |!~* |texticregexne
float8 |float4 |float8 |/ |float48div
bool |varchar |text |!~~ |textnlike
float8 |float8 |float4 |* |float84mul
bool |varchar |text |~ |textregexeq
float8 |float8 |float4 |+ |float84pl
bool |varchar |text |~* |texticregexeq
float8 |float8 |float4 |- |float84mi
bool |varchar |text |~~ |textlike
float8 |float8 |float4 |/ |float84div
bool |varchar |varchar |< |varcharlt
float8 |float8 |float8 |* |float8mul
bool |varchar |varchar |<= |varcharle
float8 |float8 |float8 |+ |float8pl
bool |varchar |varchar |<> |varcharne
float8 |float8 |float8 |- |float8mi
bool |varchar |varchar |= |varchareq
float8 |float8 |float8 |/ |float8div
bool |varchar |varchar |> |varchargt
float8 |float8 |float8 |^ |dpow
bool |varchar |varchar |>= |varcharge
float8 |lseg |box |<===> |dist_sb
box |box |box |# |box_intersect
float8 |lseg |lseg |<===> |lseg_distance
box |box |point |* |box_mul
float8 |path |path |<===> |path_distance
box |box |point |+ |box_add
float8 |point |box |<===> |dist_pl
box |box |point |- |box_sub
float8 |point |box |<===> |dist_ps
box |box |point |/ |box_div
float8 |point |box |<===> |dist_pb
char |char |char |* |charmul
float8 |point |lseg |<===> |dist_ps
char |char |char |+ |charpl
float8 |point |path |<===> |dist_ppth
char |char |char |- |charmi
float8 |point |point |<===> |point_distance
char |char |char |/ |chardiv
int2 |int2 |int2 |% |int2mod
circle |circle |point |* |circle_mul_pt
int2 |int2 |int2 |* |int2mul
circle |circle |point |+ |circle_add_pt
int2 |int2 |int2 |+ |int2pl
circle |circle |point |- |circle_sub_pt
int2 |int2 |int2 |- |int2mi
circle |circle |point |/ |circle_div_pt
int2 |int2 |int2 |/ |int2div
date |date |int4 |+ |date_pli
int4 |date |date |- |date_mi
date |date |int4 |- |date_mii
int4 |int2 |int4 |% |int24mod
datetime |datetime |timespan |+ |datetime_pl_span
int4 |int2 |int4 |* |int24mul
datetime |datetime |timespan |- |datetime_mi_span
int4 |int2 |int4 |+ |int24pl
float4 |float4 |float4 |* |float4mul
int4 |int2 |int4 |- |int24mi
float4 |float4 |float4 |+ |float4pl
int4 |int2 |int4 |/ |int24div
float4 |float4 |float4 |- |float4mi
int4 |int2 |int4 |< |int24lt
float4 |float4 |float4 |/ |float4div
int4 |int2 |int4 |<= |int24le
float8 |box |box |<-> |box_distance
int4 |int2 |int4 |<> |int24ne
float8 |circle |circle |<-> |circle_distance
int4 |int2 |int4 |= |int24eq
float8 |circle |polygon |<-> |dist_cpoly
int4 |int2 |int4 |> |int24gt
float8 |float4 |float8 |* |float48mul
int4 |int2 |int4 |>= |int24ge
float8 |float4 |float8 |+ |float48pl
int4 |int4 |int2 |% |int42mod
float8 |float4 |float8 |- |float48mi
int4 |int4 |int2 |* |int42mul
float8 |float4 |float8 |/ |float48div
int4 |int4 |int2 |+ |int42pl
float8 |float8 |float4 |* |float84mul
int4 |int4 |int2 |- |int42mi
float8 |float8 |float4 |+ |float84pl
int4 |int4 |int2 |/ |int42div
float8 |float8 |float4 |- |float84mi
int4 |int4 |int2 |< |int42lt
float8 |float8 |float4 |/ |float84div
int4 |int4 |int2 |<= |int42le
float8 |float8 |float8 |* |float8mul
int4 |int4 |int2 |<> |int42ne
float8 |float8 |float8 |+ |float8pl
int4 |int4 |int2 |= |int42eq
float8 |float8 |float8 |- |float8mi
int4 |int4 |int2 |> |int42gt
float8 |float8 |float8 |/ |float8div
int4 |int4 |int2 |>= |int42ge
float8 |float8 |float8 |^ |dpow
int4 |int4 |int4 |% |int4mod
float8 |line |box |<-> |dist_lb
int4 |int4 |int4 |* |int4mul
float8 |line |line |<-> |line_distance
int4 |int4 |int4 |+ |int4pl
float8 |lseg |box |<-> |dist_sb
int4 |int4 |int4 |- |int4mi
float8 |lseg |line |<-> |dist_sl
int4 |int4 |int4 |/ |int4div
float8 |lseg |lseg |<-> |lseg_distance
money |money |float8 |* |cash_mul
float8 |path |path |<-> |path_distance
money |money |float8 |/ |cash_div
float8 |point |box |<-> |dist_pl
money |money |money |+ |cash_pl
float8 |point |box |<-> |dist_pb
money |money |money |- |cash_mi
float8 |point |lseg |<-> |dist_ps
timespan |datetime |datetime |- |datetime_sub
float8 |point |path |<-> |dist_ppath
timespan |timespan |timespan |+ |timespan_add
float8 |point |point |<-> |point_distance
timespan |timespan |timespan |- |timespan_sub
float8 |polygon |polygon |<-> |poly_distance
tinterval|abstime |abstime |<#> |mktinterval
int2 |int2 |int2 |% |int2mod
int2 |int2 |int2 |* |int2mul
int2 |int2 |int2 |+ |int2pl
int2 |int2 |int2 |- |int2mi
int2 |int2 |int2 |/ |int2div
int4 |date |date |- |date_mi
int4 |int2 |int4 |% |int24mod
int4 |int2 |int4 |* |int24mul
int4 |int2 |int4 |+ |int24pl
int4 |int2 |int4 |- |int24mi
int4 |int2 |int4 |/ |int24div
int4 |int2 |int4 |< |int24lt
int4 |int2 |int4 |<= |int24le
int4 |int2 |int4 |<> |int24ne
int4 |int2 |int4 |= |int24eq
int4 |int2 |int4 |> |int24gt
int4 |int2 |int4 |>= |int24ge
int4 |int4 |int2 |% |int42mod
int4 |int4 |int2 |* |int42mul
int4 |int4 |int2 |+ |int42pl
int4 |int4 |int2 |- |int42mi
int4 |int4 |int2 |/ |int42div
int4 |int4 |int2 |< |int42lt
int4 |int4 |int2 |<= |int42le
int4 |int4 |int2 |<> |int42ne
int4 |int4 |int2 |= |int42eq
int4 |int4 |int2 |> |int42gt
int4 |int4 |int2 |>= |int42ge
int4 |int4 |int4 |% |int4mod
int4 |int4 |int4 |* |int4mul
int4 |int4 |int4 |+ |int4pl
int4 |int4 |int4 |- |int4mi
int4 |int4 |int4 |/ |int4div
money |money |float8 |* |cash_mul
money |money |float8 |/ |cash_div
money |money |money |+ |cash_pl
money |money |money |- |cash_mi
path |path |path |+ |path_add
path |path |point |* |path_mul_pt
path |path |point |+ |path_add_pt
path |path |point |- |path_sub_pt
path |path |point |/ |path_div_pt
point |line |box |## |close_lb
point |lseg |box |## |close_sb
point |lseg |line |## |close_sl
point |lseg |lseg |# |lseg_interpt
point |point |box |## |close_pb
point |point |line |## |close_pl
point |point |lseg |## |close_ps
point |point |point |* |point_mul
point |point |point |+ |point_add
point |point |point |- |point_sub
point |point |point |/ |point_div
polygon |point |circle |<-> |dist_pc
text |bpchar |bpchar |\|\| |textcat
text |text |text |\|\| |textcat
text |varchar |varchar |\|\| |textcat
timespan |datetime |datetime |- |datetime_mi
timespan |timespan |timespan |+ |timespan_pl
timespan |timespan |timespan |- |timespan_mi
timespan |timespan |timespan |/ |timespan_div
tinterval|abstime |abstime |<#> |mktinterval
(446 rows)
.fi
.fi
.SH "LEFT UNARY OPERATORS"
.SH "LEFT UNARY OPERATORS"
...
@@ -983,32 +1074,41 @@ This list was generated from the Postgres system catalogs with the query:
...
@@ -983,32 +1074,41 @@ This list was generated from the Postgres system catalogs with the query:
.nf
.nf
SELECT o.oprname AS left_unary,
SELECT o.oprname AS left_unary,
righ
t.typname AS operand,
t.typname AS operand,
r
esult
.typname AS return_type
r.typname AS return_type
FROM pg_operator o, pg_type
right, pg_type result
FROM pg_operator o, pg_type
t, pg_type r
WHERE o.oprkind = 'l' AND -- left unary
WHERE o.oprkind = 'l' AND -- left unary
o.oprright =
righ
t.oid AND
o.oprright = t.oid AND
o.oprresult = r
esult
.oid
o.oprresult = r.oid
ORDER BY operand;
ORDER BY operand;
left_unary|operand |return_type
left_unary|operand |return_type
----------+---------+-----------
----------+---------+-----------
@@ |box |point
@@ |box |point
@ |float4 |float4
@@ |circle |point
- |float4 |float4
@ |float4 |float4
|/ |float8 |float8
- |float4 |float4
@ |float8 |float8
\|/ |float8 |float8
; |float8 |float8
@ |float8 |float8
: |float8 |float8
; |float8 |float8
% |float8 |float8
: |float8 |float8
||/ |float8 |float8
% |float8 |float8
- |float8 |float8
\|\|/ |float8 |float8
- |int2 |int2
- |float8 |float8
!! |int4 |int4
- |int2 |int2
- |int4 |int4
- |int4 |int4
# |polygon |int4
!! |int4 |int4
- |timespan |timespan
?- |lseg |bool
| |tinterval|abstime
?\| |lseg |bool
@@ |lseg |point
?? |path |float8
# |path |int4
@@ |path |point
@@ |polygon |point
# |polygon |int4
- |timespan |timespan
\| |tinterval|abstime
(24 rows)
.fi
.fi
.in
.in
...
@@ -1020,18 +1120,19 @@ This list was generated from the Postgres system catalogs with the query:
...
@@ -1020,18 +1120,19 @@ This list was generated from the Postgres system catalogs with the query:
.nf
.nf
SELECT o.oprname AS right_unary,
SELECT o.oprname AS right_unary,
lef
t.typname AS operand,
t.typname AS operand,
r
esult
.typname AS return_type
r.typname AS return_type
FROM pg_operator o, pg_type
left, pg_type result
FROM pg_operator o, pg_type
t, pg_type r
WHERE o.oprkind = 'r' AND -- right unary
WHERE o.oprkind = 'r' AND -- right unary
o.oprleft =
lef
t.oid AND
o.oprleft = t.oid AND
o.oprresult = r
esult
.oid
o.oprresult = r.oid
ORDER BY operand;
ORDER BY operand;
right_unary|operand|return_type
right_unary|operand|return_type
-----------+-------+-----------
-----------+-------+-----------
% |float8 |float8
% |float8 |float8
! |int4 |int4
! |int4 |int4
(2 rows)
.fi
.fi
.in
.in
...
@@ -1047,36 +1148,39 @@ FROM pg_aggregate a, pg_type t
...
@@ -1047,36 +1148,39 @@ FROM pg_aggregate a, pg_type t
WHERE a.aggbasetype = t.oid
WHERE a.aggbasetype = t.oid
ORDER BY aggname, typname;
ORDER BY aggname, typname;
aggname|typname
aggname|typname
-------+--------
-------+--------
avg |float4
avg |float4
avg |float8
avg |float8
avg |int2
avg |int2
avg |int4
avg |int4
avg |money
avg |money
max |abstime
avg |timespan
max |date
max |abstime
max |date
max |datetime
max |datetime
max |float4
max |float4
max |float8
max |float8
max |int2
max |int2
max |int4
max |int4
max |money
max |money
max |timespan
max |timespan
min |abstime
min |abstime
min |date
min |date
min |datetime
min |datetime
min |float4
min |float4
min |float8
min |float8
min |int2
min |int2
min |int4
min |int4
min |money
min |money
min |timespan
min |timespan
sum |float4
sum |float4
sum |float8
sum |float8
sum |int2
sum |int2
sum |int4
sum |int4
sum |money
sum |money
sum |timespan
(30 rows)
.fi
.fi
\fBcount\fR is also available, where \fBcount(*)\fR returns a count of all
\fBcount\fR is also available, where \fBcount(*)\fR returns a count of all
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment