db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-307) Qualified update columns do not work with Postgresql
Date Sat, 04 Jan 2014 20:57:50 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Fox resolved TORQUE-307.
-------------------------------

    Resolution: Fixed

> Qualified update columns do not work with Postgresql
> ----------------------------------------------------
>
>                 Key: TORQUE-307
>                 URL: https://issues.apache.org/jira/browse/TORQUE-307
>             Project: Torque
>          Issue Type: Bug
>          Components: Runtime
>    Affects Versions: 4.1
>         Environment: postgresql 9.1.5
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.1
>
>
> In the current trunk, updates result in SQL like
> UPDATE author SET author.name='NewName2' WHERE author.author_id=31147;
> Note the qualified column name after the SET keyword
> This does not work with postgreql. in postgresql, the update column name needs to be
unqualified, like
> UPDATE author SET name='NewName2' WHERE author.author_id=31147



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message