Re: [Interest] QSqlTableModel - table name issue in Postresql

2013-04-08 Thread Muhammad Bashir Al-Noimi
On 04/08/2013 03:00 AM, Tony Rietwyk wrote: Hi Muhammad, I don't know Postgresql at all. I believe it is based on Oracle. Oops!! you don't know Postgresql!!! It's not related to Oracle https://en.wikipedia.org/wiki/Postgresql Your problem sounds like the table name was quoted in the

Re: [Interest] QSqlTableModel - table name issue in Postresql

2013-04-07 Thread M. Bashir Al-Noimi
Some how this issue is related but not directly. Does any one has an idea how to pass table name directly as string? On Sat, Apr 6, 2013 at 3:58 PM, Sviatoslav Feshchenko sviatos...@outlook.com wrote: See if your issue is related to

Re: [Interest] QSqlTableModel - table name issue in Postresql

2013-04-07 Thread Tony Rietwyk
=rightsoft.com...@qt-project.org] On Behalf Of M. Bashir Al-Noimi Sent: Monday, 8 April 2013 1:44 AM To: Sviatoslav Feshchenko; interest@qt-project.org Subject: Re: [Interest] QSqlTableModel - table name issue in Postresql Some how this issue is related but not directly. Does any one has an idea how

[Interest] QSqlTableModel - table name issue in Postresql

2013-04-06 Thread Muhammad Bashir Al-Noimi
Hi All, Recently I noticed that I’ve to add double quotes to table’s name for calling Postgresql’s table while it’s not required for MySQL or SQLite tables!! how can I make QSqlTableModel works in same way for three types of SQL databases? Posgtresql: p_tableModel-setTable(\Persons\);