mirror of
https://github.com/postgres/postgres.git
synced 2025-08-12 15:23:02 +03:00
config
contrib
adminpack
auth_delay
auto_explain
btree_gin
expected
sql
bit.sql
bytea.sql
char.sql
cidr.sql
date.sql
float4.sql
float8.sql
inet.sql
install_btree_gin.sql
int2.sql
int4.sql
int8.sql
interval.sql
macaddr.sql
money.sql
numeric.sql
oid.sql
text.sql
time.sql
timestamp.sql
timestamptz.sql
timetz.sql
varbit.sql
varchar.sql
.gitignore
Makefile
btree_gin--1.0.sql
btree_gin--unpackaged--1.0.sql
btree_gin.c
btree_gin.control
btree_gist
chkpass
citext
cube
dblink
dict_int
dict_xsyn
earthdistance
file_fdw
fuzzystrmatch
hstore
intagg
intarray
isn
lo
ltree
oid2name
pageinspect
passwordcheck
pg_archivecleanup
pg_buffercache
pg_freespacemap
pg_prewarm
pg_standby
pg_stat_statements
pg_test_fsync
pg_test_timing
pg_trgm
pg_upgrade
pg_upgrade_support
pg_xlogdump
pgbench
pgcrypto
pgrowlocks
pgstattuple
postgres_fdw
seg
sepgsql
spi
sslinfo
start-scripts
tablefunc
tcn
test_decoding
tsearch2
unaccent
uuid-ossp
vacuumlo
xml2
Makefile
README
contrib-global.mk
doc
src
.dir-locals.el
.gitattributes
.gitignore
COPYRIGHT
GNUmakefile.in
HISTORY
Makefile
README
README.git
aclocal.m4
configure
configure.in
16 lines
462 B
SQL
16 lines
462 B
SQL
set enable_seqscan=off;
|
|
|
|
CREATE TABLE test_float8 (
|
|
i float8
|
|
);
|
|
|
|
INSERT INTO test_float8 VALUES (-2),(-1),(0),(1),(2),(3);
|
|
|
|
CREATE INDEX idx_float8 ON test_float8 USING gin (i);
|
|
|
|
SELECT * FROM test_float8 WHERE i<1::float8 ORDER BY i;
|
|
SELECT * FROM test_float8 WHERE i<=1::float8 ORDER BY i;
|
|
SELECT * FROM test_float8 WHERE i=1::float8 ORDER BY i;
|
|
SELECT * FROM test_float8 WHERE i>=1::float8 ORDER BY i;
|
|
SELECT * FROM test_float8 WHERE i>1::float8 ORDER BY i;
|