ts=# SELECT * FROM t WHERE site_id=32768 LIMIT 1; (0 rows)
ts=# PREPARE x AS SELECT * FROM t WHERE site_id=$1 LIMIT 1; PREPARE ts=# EXECUTE x(32768); ERROR: smallint out of range
Probably. If you show the definition of "t", or at least "t.site_id", that can be confirmed.
And, IMO, this question is more in line with the purpose of the -general list.
David J.
Есть вопросы? Напишите нам!
✖
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.