Module S15
Dalibo SCOP
25.09
5 septembre 2025
Cette formation est sous licence CC-BY-NC-SA. Vous êtes libre de la redistribuer et/ou modifier aux conditions suivantes :
PostgreSQL® Postgres® et le logo Slonik sont des marques déposées par PostgreSQL Community Association of Canada.
Ce document ne couvre que les versions supportées de PostgreSQL au moment de sa rédaction, soit les versions 13 à 17.
smallint
integer
bigint
real
float4
double precision
float8
numeric(…, …)
>
>=
=
<=
<
+
-
/
*
%
^
AND
OR
XOR
&
|
#
>>
<<
biginteger
numeric
float
SUM()
AVG()
date
YYYY-MM-DD
time
HH24:MI:SS
timestamp
without time zone
timestamp with time zone
timestamptz
2019-11-13 15:33:00.824096+01
timestamp without time zone
interval
range
generate_series
varchar(_n_)
text
bytea
SELECT * FROM mots ORDER BY t COLLATE "C" ; CREATE TABLE messages ( id int, fr TEXT COLLATE "fr_FR.utf8", de TEXT COLLATE "de_DE.utf8" );
Source des collations :
CREATE COLLATION danois (provider = icu, locale = 'da-x-icu') ;
hstore
json
jsonb
int4range
int8range
numrange
daterange
tsrange
tstzrange
&&
<@
@>
CREATE TABLE vendeurs ( nickname varchar NOT NULL, plage_horaire timerange NOT NULL, EXCLUDE USING GIST (plage_horaire WITH &&) );
point
line
lseg
polygon
circle
box
path