Re: Guidance on INSERT RETURNING order - Mailing list pgsql-general

From Rob Sargent
Subject Re: Guidance on INSERT RETURNING order
Date
Msg-id 961adda9-4eb1-79f6-ee8f-9440a520ac15@gmail.com
Whole thread Raw
In response to Re: Guidance on INSERT RETURNING order  (Federico <cfederico87@gmail.com>)
Responses Re: Guidance on INSERT RETURNING order
Re: Guidance on INSERT RETURNING order
List pgsql-general
>> Can your client retain a hashmap of md5,data pairings, allowing the
>> lookup on the way back using the returned data and supplied id?
>>
> When using unique columns or similar, that's something that is done,
> but if there are no unique columns in the value no match can be done
> reliably with the source data, since sqlalchemy is a library that
> allows arbitrary schemas to be generated.
>
> Thanks for the reply,
>    Federico
So you're returned data is not what was sent to the server? Otherwise it 
should generate the same md5, as I understand it. Identical data would 
of course be a problem.




pgsql-general by date:

Previous
From: Thorsten Glaser
Date:
Subject: Re: Guidance on INSERT RETURNING order
Next
From: Federico
Date:
Subject: Re: Guidance on INSERT RETURNING order