pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedSELECT fails to present result rows depending on the columns to show
4+ messages / 3 participants
[nested] [flat]
* SELECT fails to present result rows depending on the columns to show
@ 2021-11-23 08:15 Matthias Apitz <guru@unixarea.de>
2021-11-23 08:31 ` Re: SELECT fails to present result rows depending on the columns to show Ilya Anfimov <ilan@tzirechnoy.com>
0 siblings, 1 reply; 4+ messages in thread
From: Matthias Apitz @ 2021-11-23 08:15 UTC (permalink / raw)
To: pgsql-general <pgsql-general@lists.postgresql.org>
Hello,
We encounter the following problem in a 13.1 server on Linux:
sisis=# select desk, feldnr from titel_worte where desk = '2' and feldnr = 257;
desk | feldnr
------+--------
2 | 257
(1 row)
but:
sisis=# select * from titel_worte where desk = '2' and feldnr = 257;
desknr | feldnr | desk | deskorg | gesanz | aufanz | katkey1 | katkey2
--------+--------+------+---------+--------+--------+---------+---------
(0 row)
sisis=# select desk, feldnr, deskorg from titel_worte where desk = '2' and feldnr = 257;
desk | feldnr | deskorg
------+--------+---------
(0 row)
The table was created as:
create table titel_worte (
desknr serial ,
feldnr SMALLINT ,
desk VARCHAR (245) ,
deskorg VARCHAR (245) ,
gesanz INTEGER ,
aufanz INTEGER ,
katkey1 INTEGER ,
katkey2 INTEGER
)
;
There are no messages in the serverlog when the SELECT fails to show the
row.
What could be the reason for this? Thanks
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: SELECT fails to present result rows depending on the columns to show
2021-11-23 08:15 SELECT fails to present result rows depending on the columns to show Matthias Apitz <guru@unixarea.de>
@ 2021-11-23 08:31 ` Ilya Anfimov <ilan@tzirechnoy.com>
2021-11-23 09:09 ` Re: SELECT fails to present result rows depending on the columns to show Thomas Kellerer <shammat@gmx.net>
0 siblings, 1 reply; 4+ messages in thread
From: Ilya Anfimov @ 2021-11-23 08:31 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On Tue, Nov 23, 2021 at 09:15:06AM +0100, Matthias Apitz wrote:
>
> Hello,
>
> We encounter the following problem in a 13.1 server on Linux:
>
> sisis=# select desk, feldnr from titel_worte where desk = '2' and feldnr = 257;
> desk | feldnr
> ------+--------
> 2 | 257
> (1 row)
>
>
> but:
>
> sisis=# select * from titel_worte where desk = '2' and feldnr = 257;
> desknr | feldnr | desk | deskorg | gesanz | aufanz | katkey1 | katkey2
> --------+--------+------+---------+--------+--------+---------+---------
> (0 row)
>
> sisis=# select desk, feldnr, deskorg from titel_worte where desk = '2' and feldnr = 257;
> desk | feldnr | deskorg
> ------+--------+---------
> (0 row)
>
> The table was created as:
>
> create table titel_worte (
> desknr serial ,
> feldnr SMALLINT ,
> desk VARCHAR (245) ,
> deskorg VARCHAR (245) ,
> gesanz INTEGER ,
> aufanz INTEGER ,
> katkey1 INTEGER ,
> katkey2 INTEGER
> )
> ;
>
> There are no messages in the serverlog when the SELECT fails to show the
> row.
>
> What could be the reason for this? Thanks
Broken index could. Then this anomaly shoud have gone after reindex table.
>
> matthias
> --
> Matthias Apitz, ??? guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: SELECT fails to present result rows depending on the columns to show
2021-11-23 08:15 SELECT fails to present result rows depending on the columns to show Matthias Apitz <guru@unixarea.de>
2021-11-23 08:31 ` Re: SELECT fails to present result rows depending on the columns to show Ilya Anfimov <ilan@tzirechnoy.com>
@ 2021-11-23 09:09 ` Thomas Kellerer <shammat@gmx.net>
2021-11-23 12:39 ` Re: SELECT fails to present result rows depending on the columns to show Matthias Apitz <guru@unixarea.de>
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Kellerer @ 2021-11-23 09:09 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Ilya Anfimov schrieb am 23.11.2021 um 09:31:
>> but:
>>
>> sisis=# select * from titel_worte where desk = '2' and feldnr = 257;
>> desknr | feldnr | desk | deskorg | gesanz | aufanz | katkey1 | katkey2
>> --------+--------+------+---------+--------+--------+---------+---------
>> (0 row)
>>
>> sisis=# select desk, feldnr, deskorg from titel_worte where desk = '2' and feldnr = 257;
>> desk | feldnr | deskorg
>> ------+--------+---------
>> (0 row)
>>
>> The table was created as:
>>
>> create table titel_worte (
>> desknr serial ,
>> feldnr SMALLINT ,
>> desk VARCHAR (245) ,
>> deskorg VARCHAR (245) ,
>> gesanz INTEGER ,
>> aufanz INTEGER ,
>> katkey1 INTEGER ,
>> katkey2 INTEGER
>> )
>> ;
>>
>> There are no messages in the serverlog when the SELECT fails to show the
>> row.
>>
>> What could be the reason for this? Thanks
>
> Broken index could. Then this anomaly shoud have gone after reindex table.
Ilya refers to the problems decribed here:
https://wiki.postgresql.org/wiki/Locale_data_changes
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: SELECT fails to present result rows depending on the columns to show
2021-11-23 08:15 SELECT fails to present result rows depending on the columns to show Matthias Apitz <guru@unixarea.de>
2021-11-23 08:31 ` Re: SELECT fails to present result rows depending on the columns to show Ilya Anfimov <ilan@tzirechnoy.com>
2021-11-23 09:09 ` Re: SELECT fails to present result rows depending on the columns to show Thomas Kellerer <shammat@gmx.net>
@ 2021-11-23 12:39 ` Matthias Apitz <guru@unixarea.de>
0 siblings, 0 replies; 4+ messages in thread
From: Matthias Apitz @ 2021-11-23 12:39 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
El día martes, noviembre 23, 2021 a las 10:09:36 +0100, Thomas Kellerer escribió:
> > Broken index could. Then this anomaly shoud have gone after reindex table.
>
> Ilya refers to the problems decribed here:
>
> https://wiki.postgresql.org/wiki/Locale_data_changes
>
>
Thanks for the pointer. What is written there matches with the system
patch by our IT department some days ago to all our SLES 15 servers.
We have to talk and see what we have todo.
matthias
Attachments:
signature.asc (application/pgp-signature, 487B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2021-11-23 12:39 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23 08:15 SELECT fails to present result rows depending on the columns to show Matthias Apitz <guru@unixarea.de>
2021-11-23 08:31 ` Ilya Anfimov <ilan@tzirechnoy.com>
2021-11-23 09:09 ` Thomas Kellerer <shammat@gmx.net>
2021-11-23 12:39 ` Matthias Apitz <guru@unixarea.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox