Re: [PATCH] Allow field set from a joined query

From: Russell F <russman7474(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [PATCH] Allow field set from a joined query
Date: 2020-05-27 22:31:50
Message-ID: CA+bhM4+OciMv4h7L__eMR-v4_qe_fW61RLFH+YNqsHmTSUThxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Expanded this patch some to fix some other parsing issues with joins.

Also available here:

https://github.com/worldleaderpretend/psqlodbc.git

Russell

On Tue, May 26, 2020 at 5:53 PM Russell F <russman7474(at)gmail(dot)com> wrote:

> Hi All,
>
> I made this quick change to allow setting fields when a query has an inner
> or outer join in it. I'm not exactly sure why the check disallowed joins
> containing the "X JOIN", such as "LEFT JOIN" or "INNER JOIN", but allowed
> the variant "JOIN". Unless I missed something. Maybe an artifact from old
> code?
>
> Also, I added an option in the build to specify a postgres installation
> directory, since some may just have the postgres bins built but not
> installed.
>
> thanks,
> Russell
>

Attachment Content-Type Size
0002-Fixed-the-way-joins-are-identified-in-the-parser.patch application/octet-stream 9.4 KB
0003-Remove-the-single-table-restriction-in-SC_set_SS_col.patch application/octet-stream 2.1 KB

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Inoue, Hiroshi 2020-05-28 11:53:16 Re: [PATCH] Allow field set from a joined query
Previous Message Russell F 2020-05-26 21:53:21 [PATCH] Allow field set from a joined query