Hi!
Alright so what does:
\d temptulemus
Did not find any relation named "temptulemus".
and/or
\d andmetp
Table "public.andmetp"
Column | Type | Collation | Nullable | Default
------------+---------------+-----------+----------+---------
andmetp | character(25) | | not null |
klass | character(1) | | |
andmeklass | character(10) | | |
otsbaas | character(8) | | |
kiirpref | character(80) | | |
kiirnimi | character(10) | | |
inlahte | character(10) | | |
vaateindks | character(10) | | |
tyhjakeeld | ebool | | |
whenting | character(50) | | |
kiirindks | character(10) | | |
validting | text | | |
valivaljad | character(10) | | |
valivali2 | character(10) | | |
userlang | ebool | | |
valifilter | character(80) | | |
paring | character(60) | | |
allrows | ebool | | |
html | text | | |
specialwhe | text | | |
pakuvalik | text | | |
klikkprots | text | | |
valivali3 | character(10) | | |
Indexes:
"andmetp_pkey" PRIMARY KEY, btree (andmetp)
Referenced by:
TABLE "desktop" CONSTRAINT "desktop_alamklass_fkey" FOREIGN KEY
(alamklass)
REFERENCES andmetp(andmetp) ON UPDATE CASCADE DEFERRABLE
Triggers:
andmetp_trig BEFORE INSERT OR DELETE OR UPDATE ON andmetp FOR EACH
STATEMENT
EXECUTE PROCEDURE setlastchange()
Andrus.