pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
ODBC SQLSpecialColumns bugfix 2+ messages / 2 participants [nested] [flat]
* ODBC SQLSpecialColumns bugfix @ 2018-11-13 00:22 Quan Zongliang <zongliang.quan@postgresdata.com> 0 siblings, 1 reply; 2+ messages in thread From: Quan Zongliang @ 2018-11-13 00:22 UTC (permalink / raw) To: pgsql-odbc hi, all odbc patch attached. if a table does not exist, SQLSpecialColumns returns oid/xmin incorrectly. -- Quan Zongliang Attachments:^ permalink raw reply [nested|flat] 2+ messages in threadinfo.c.patch (text/plain, 374B) download
diff --git a/info.c b/info.c index 84b0f2a..052f0ae 100644 --- a/info.c +++ b/info.c @@ -2902,6 +2902,9 @@ retry_public_schema: cbSchemaName = SQL_NTS; goto retry_public_schema; } + + SC_set_error(stmt, DESC_BAD_PARAMETER_NUMBER_ERROR, "The specified table does not exist", func); + goto cleanup; } result = PGAPI_BindCol(col_stmt, 1, internal_asis_type,
* Re: ODBC SQLSpecialColumns bugfix @ 2018-11-13 12:41 Inoue, Hiroshi <h-inoue@dream.email.ne.jp> parent: Quan Zongliang <zongliang.quan@postgresdata.com> 0 siblings, 0 replies; 2+ messages in thread From: Inoue, Hiroshi @ 2018-11-13 12:41 UTC (permalink / raw) To: Quan Zongliang <zongliang.quan@postgresdata.com>; +Cc: pgsql-odbc Hi, On 2018/11/13 9:22, Quan Zongliang wrote: > hi, all > > odbc patch attached. Thanks. I would commit the patch. regards, Hiroshi Inoue > > if a table does not exist, > SQLSpecialColumns returns oid/xmin incorrectly. > > -- > Quan Zongliang --- このメールは、AVG によってウイルス チェックされています。 http://www.avg.com ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-11-13 12:41 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-11-13 00:22 ODBC SQLSpecialColumns bugfix Quan Zongliang <zongliang.quan@postgresdata.com> 2018-11-13 12:41 ` Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox