Commit Graph

32 Commits

Author SHA1 Message Date
Takeshi Abe
2b1758a2dc Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...) 2012-02-10 23:01:07 +09:00
Lionel Elie Mamane
f21eaff8ea fdo#45249 declare support for Core SQL -> Base allows user aggregate functions 2012-02-09 18:35:13 +01:00
Caolán McNamara
5e2b41dbfe unsigned int->sal_uInt32 2012-02-02 10:17:12 +00:00
Lionel Elie Mamane
7bd9ce1fae pgsql: simpler / safer check for system column 2012-02-01 18:56:41 +01:00
Lionel Elie Mamane
0adf5eed03 pgsql getColumns: order by columns, not by their concatenation... 2012-02-01 18:41:14 +01:00
Lionel Elie Mamane
77646473e3 pgsql: implement getColumnPrivileges, generate statement only once 2012-02-01 18:41:13 +01:00
Lionel Elie Mamane
76c34665da postgres getColumns: skip dropped columns, make ORDINAL_POSITION consecutive 2012-02-01 18:41:13 +01:00
Lionel Elie Mamane
8c922d8327 fdo#45254 getTablePrivileges: rely on information_schema
This avoids the use of aclexplode(), which is only SQL-available in PostgreSQL 9.0 and later.
With PostgreSQL versions known to have the information_schema.table_privileges bug of not filling in the default ACL in the absence of an ACL, fill in "owner has all rights", which is the default state of the default ACL.
2012-02-01 18:41:12 +01:00
Fridrich Štrba
e05856c798 Fix build of pgsql connector (std::hash -> boost::hash) 2011-12-07 22:21:48 +01:00
Lionel Elie Mamane
5f3bd5bed3 pgsql-sdbc: Robustify against empty arrays, etc 2011-11-30 16:00:13 +01:00
Michael Meeks
1932529adf postgresql: work around uninitialized warning. 2011-11-29 17:32:29 +00:00
Michael Meeks
4cc501d817 WaE: sizeable postgresql warning cleanup 2011-11-29 17:32:29 +00:00
Lionel Elie Mamane
8d2780d42f psql-sdbc: TODO note 2011-11-24 19:40:49 +01:00
Lionel Elie Mamane
0d0ffe3ff1 pgsql-sdbc: licence all non-Sun & future contributions under LGPLv3+/MPL1.1 2011-11-21 11:31:37 +01:00
Lionel Elie Mamane
412e178a40 pgsql-sdbc: be less prescriptive about indentation style 2011-11-17 21:29:14 +01:00
Lionel Elie Mamane
d526c3f5ea postgresql-sdbc: adapt to removal of implicit (O)ustring->sal_Char* conversion 2011-11-17 21:15:31 +01:00
Lionel Elie Mamane
4ab98d4663 Overhaul DatabaseMetaData::getTablePrivileges 2011-11-17 21:15:30 +01:00
Lionel Elie Mamane
1dbe65b207 Switch to LGPL-only 2011-11-17 21:15:29 +01:00
Lionel Elie Mamane
969bf70f1b pgsql-sdbc: switch to boost::unordered_map instead of std::unordered_map
Compatibility with non-bleeding edge C++ compilers/library environments
2011-11-17 21:15:27 +01:00
Lionel Elie Mamane
37c4d83865 More TODO 2011-11-17 21:15:25 +01:00
Lionel Elie Mamane
cc02d3db1c sdbc-psql: DbMetaData getIntSetting: move to first row before getInt 2011-11-17 21:15:23 +01:00
Lionel Elie Mamane
42667095d9 sdbc-psql: DatabaseMetaData: Implement get(Im|Ex)portedKeys, getCrossRef 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
ed82a11d39 pq-sdbc: Use UNO_QUERY_THROW when not checking for NULL before use 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
580f4d1453 fdo#35784 minimal fix
Fake DatabaseMetaData::getImportedKeys: we can get away with not giving column names if we give zero data rows
2011-11-17 21:15:21 +01:00
Lionel Elie Mamane
1b66f42870 First pass over DatabaseMetadata 2011-11-17 21:15:20 +01:00
Lionel Elie Mamane
7d3a6de0ed Janitorial clean-up
- fix a bunch of compiler warnings

  - Copyright statement on files I modified
2011-11-17 21:15:20 +01:00
Lionel Elie Mamane
81c4680483 if test: explicit grouping by parentheses 2011-11-17 21:15:17 +01:00
Lionel Elie Mamane
d612aa7f6f avoid name shadowing warning 2011-11-17 21:15:17 +01:00
Lionel Elie Mamane
e1423f5a92 calcSearchable: actually set return value, not fresh variable 2011-11-17 21:15:16 +01:00
Lionel Elie Mamane
c5a127771f Proper copyright notices, license mandated changelog 2011-11-17 21:15:16 +01:00
Lionel Elie Mamane
90b5fe7673 Use unordered_map instead of hash_map
GNU g++ 4.6 warns that hash_map is deprecated
2011-11-17 21:15:15 +01:00
Lionel Elie Mamane
e28033fdfa Apply sdbc-postgresql.diff 2011-11-17 21:15:13 +01:00