From: | Israel Brewster <ibrewster(at)flyravn(dot)com> |
---|---|
To: | "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org> |
Subject: | RealDictCursor behavior question |
Date: | 2018-04-30 18:18:13 |
Message-ID: | FC969BB9-C03B-4D8F-AD07-45CB9B7639E5@flyravn.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
When using the RealDictCursor from psycopg2 extras, is the behavior of RealDictCursor well defined for the case where you have repeated column names (such as in a join)? That is, obviously a dictionary can only have one value for a key, so is it safe to assume that the value for the column name key in the case of repeated column names is always going to be the one that appears LAST in the query?
-----------------------------------------------
Israel Brewster
Systems Analyst II
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7293
-----------------------------------------------
[cid:f184bff5-d504-4353-94f8-96cc80233e28(at)flyravn(dot)com]
[cid:da027d2c-3565-4a86-813c-54cf5e384a45(at)flyravn(dot)com]
Attachment | Content-Type | Size |
---|---|---|
Israel Brewster.vcf | text/directory | 417 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Christophe Pettus | 2018-04-30 18:19:34 | Re: RealDictCursor behavior question |
Previous Message | Stephen Frost | 2018-04-19 13:33:05 | Re: Windows binary install and gssapi support |