Re: Bug in tables column data in postgres database

From: MichaelDBA Vitale <michaeldba(at)sqlexec(dot)com>
To: Sarita Sharma <saritakumarisharma61(at)gmail(dot)com>, pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: Bug in tables column data in postgres database
Date: 2022-03-03 17:24:02
Message-ID: 1444146918.6491942.1646328242347@email.ionos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="default-style">
Hi Sarita,
</div>
<div class="default-style">
<br>
</div>
<div>
Well, I doubt we will take this as a bug in PG at the getgo. I very seriously doubt this is a bug due to some PG internal toggling wrangling going on.&nbsp; I think we can get to the bottom of this if you provide more info in this thread.
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
Would you provide the DDL you used to create this table, along with any triggers under the covers?
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
Then later, we might need to turn on some debugging in the PG log so we can capture any DML changes to this table to see if that is the culprit.
</div>
<div class="default-style">
log_statement = 'mod'
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
Regards,
</div>
<div class="default-style">
Michael Vitale
</div>
<div class="default-style">
<br>
</div>
<blockquote type="cite">
<div>
On 03/03/2022 11:45 AM Sarita Sharma &lt;saritakumarisharma61(at)gmail(dot)com&gt; wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div dir="ltr">
&nbsp; Hi Team,
<div>
I am a backend(server side) developer and I am using postgres database for storing my data to database. I have find a big challenge working with postgres database(version 13) as I have find&nbsp; major&nbsp;issue&nbsp;working with&nbsp;&nbsp;column in table of database as data keep toggling its value.&nbsp;
</div>
<div>
eg::
</div>
<div>
if I have stored data into table&nbsp;
</div>
<div>
bike_table
</div>
<div>
======================================
</div>
<div>
bike_name&nbsp; &nbsp; bike_prefix&nbsp; &nbsp; bike_line
</div>
<div>
V111&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;V&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 111
</div>
<div>
W222&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; W&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;222
<br>
</div>
<div>
X333&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 333
<br>
</div>
<div>
===========================================
</div>
<div>
<br>
</div>
<div>
if some other time if query is made for same table data might&nbsp;look like this
</div>
<div>
<div>
bike_table
</div>
<div>
======================================
</div>
<div>
bike_name&nbsp; &nbsp; bike_prefix&nbsp; &nbsp; bike_line
</div>
<div>
W111&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;V&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 111
</div>
<div>
X222&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; W&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 222
<br>
</div>
<div>
X333&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 333
<br>
</div>
<div>
===========================================
</div>
</div>
<div>
So usually bike_name&nbsp; keep changing its name&nbsp;thats seems to me a toggling behaviour.
</div>
<div>
Please take this issue as bug and work on this.
</div>
<div>
<br>
</div>
<div>
Thanks and Regards,
</div>
<div>
Sarita
</div>
</div>
</blockquote>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 3.7 KB

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Voillequin, Jean-Marc 2022-03-03 18:06:10 RE: Bug in tables column data in postgres database
Previous Message Christophe Pettus 2022-03-03 17:18:59 Re: Bug in tables column data in postgres database