Re: Strange loss of data during INSERT

From: Willy-Bas Loos <willybas(at)gmail(dot)com>
To: "Altmann, Sebastian" <Sebastian(dot)Altmann(at)isogmbh(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange loss of data during INSERT
Date: 2011-03-24 11:16:06
Message-ID: AANLkTim49AaDJ+M255Bdb7ts+kM-ywSLG=mTfHMQjBW2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Are you sure the password is NULL? Some fields are not shown in pgAdmin if
they are too long, but that seems improbable to me for passwords.
pgAdmin also has an option "Show NULL values as <NULL>" (in
file|options|query).

If you take the SQL from the log, can you reproduce this in postgres?
If so, please email the code (i hope it's work with personal data scrambled
?).

cheers,

WBL

On Thu, Mar 24, 2011 at 12:01 PM, Altmann, Sebastian <
Sebastian(dot)Altmann(at)isogmbh(dot)de> wrote:

> Hi everybody,
>
>
>
> i’m having a very strange Problem:
>
>
>
> My JEE Application initially persists Users at startup.
>
>
>
> The problem is that the passwords are not stored,
>
> while other data with the same datatype on this table are stored
> correctly!?!
>
>
>
> If I turn log_statement to ‘all’ in config I can see the INSERT statement
> including the correct password(!!!) in log file,
>
> but if I take a look with pgAdmin all password fields are empty…
>
>
>
> When I try to execute the insert statement in pgAdmin it works fine.
>
>
>
> By the way: If I switch the DB to OracleXE, it works fine
>
> (But actually I don’t want to user Oracle… )
>
>
>
>
>
> Thanks for any ideas
>
>
>
>
>
> Sebastian Altmann
>
> ________________________________
>
>
>
> ISO Software Systeme GmbH
>
> Eichendorffstrasse 29
>
> 90491 Nürnberg
>
>
>
> Tel.: +49/(911) - 99594-0
>
> Fax: +49/(911) - 99594-129
>
>
>
> mailto:Sebastian(dot)Altmann(at)isogmbh(dot)de
>
> http://www.isogmbh.de
>
>
>
> Amtsgericht Nürnberg HRB 18299
>
> Geschäftsführer: Harald Goeb
>
> Sitz: Nürnberg
>
>
>

--
"Patriotism is the conviction that your country is superior to all others
because you were born in it." -- George Bernard Shaw

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Altmann, Sebastian 2011-03-24 11:26:30 Re: [RMX:#] Re: Strange loss of data during INSERT
Previous Message Altmann, Sebastian 2011-03-24 11:01:42 Strange loss of data during INSERT