Commit graph

5917 commits

Author SHA1 Message Date
Lionel Elie Mamane
7bab4645ce Implement --with-sytem-postgreql and --with-libq-path; cleanup unused #define 2011-11-17 23:17:21 +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
b2ae2bc04e pgsql-sdbc: publisher is now document foundation 2011-11-17 21:15:34 +01:00
Norbert Thiebaud
ab91d708e1 make postgresql-sdbc connectivity optional 2011-11-17 21:15:33 +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
Rene Engelhard
54d32d1005 remove duplicated header content in pq_sequenceresultsetmetadata.cxx 2011-11-17 21:15:31 +01:00
Lionel Elie Mamane
ca0cbc44a6 Version 0.8.1 2011-11-17 21:15:31 +01:00
Lionel Elie Mamane
04922d5687 Overhaul (Updateable)RecordSet properties to semi-sane state
- Set all (Updateable)RecordSet properties in constructors
 - BaseResultSet: give properties their proper disjoint handle,
   add IsBookmarkable.
2011-11-17 21:15:30 +01:00
Lionel Elie Mamane
4ab98d4663 Overhaul DatabaseMetaData::getTablePrivileges 2011-11-17 21:15:30 +01:00
Lionel Elie Mamane
878f6b5bc0 Throw SQLSTATE="IM001" for "not supported"
enables write access to tables with LibreOffice 3.5
2011-11-17 21:15:29 +01:00
Lionel Elie Mamane
b31ca7df75 Shup up "dmake: Executing shell macro:" msgs 2011-11-17 21:15:29 +01:00
Lionel Elie Mamane
1dbe65b207 Switch to LGPL-only 2011-11-17 21:15:29 +01:00
Lionel Elie Mamane
4a99bb8f55 cosmetic 2011-11-17 21:15:28 +01:00
Lionel Elie Mamane
f8c254c8d1 Make sure functions meant to be locally inlined are still exported 2011-11-17 21:15:28 +01:00
Lionel Elie Mamane
1dd6154145 Call pg_config only once for each value
as opposed to for each value for each compilation command
2011-11-17 21:15:28 +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
1ed8d09f67 pq_connect: wrap C values in exception-safe containers 2011-11-17 21:15:27 +01:00
Lionel Elie Mamane
4934930529 Nicer emacs modeline 2011-11-17 21:15:27 +01:00
Lionel Elie Mamane
3efbeaf774 connect: switch to cleaner interface
In particular, allows passwords with spaces, backslashes, single quotes, etc
2011-11-17 21:15:26 +01:00
Lionel Elie Mamane
762a3a9b37 add a TODO note 2011-11-17 21:15:26 +01:00
Lionel Elie Mamane
c7d61e7994 Nicer emacs modeline 2011-11-17 21:15:26 +01:00
Lionel Elie Mamane
49cedcb0c7 Force LO *not* to use ODBC-specific syntax 2011-11-17 21:15:25 +01:00
Lionel Elie Mamane
37c4d83865 More TODO 2011-11-17 21:15:25 +01:00
Lionel Elie Mamane
315ada423c pgsql-sdbc: avoid "getFastPropertyValue" virtual overridden in a better way 2011-11-17 21:15:25 +01:00
Lionel Elie Mamane
198a4388ee pgsql-sdbc: say in description needs PostgreSQL version >= 8.4 2011-11-17 21:15:24 +01:00
Lionel Elie Mamane
9f479d9334 pgsql-sdbc: properly delegate escaping to libpq
In particular, this makes it work whether server parameter standards_conforming_strings is off or on
2011-11-17 21:15:24 +01:00
Lionel Elie Mamane
391193b622 pgsql-sdbc: ++version, auto-fill version in description.xml, long description 2011-11-17 21:15:23 +01:00
Lionel Elie Mamane
fc03666c16 sdbdc-psql description: publisher is Lionel, not Oracle 2011-11-17 21:15:23 +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
aee68dd8ed add TODO / weird comment 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
c42327f461 Janitorial: use Oid instead of sal_Int32 to avoid unsigned/signed comparison 2011-11-17 21:15:21 +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
95fac4d603 Janitorial: Comment out unused variable 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
c4fc6b22b3 Janitorial clean-up
- fix a bunch of compiler warnings

 - move to recommended way of comparing C strings and OUString

 - Copyright statement on files I modified
2011-11-17 21:15:19 +01:00
Lionel Elie Mamane
ad69fc551b Mark unused parameters as such to avoid compiler warnings 2011-11-17 21:15:19 +01:00
Lionel Elie Mamane
97592e06b0 postresql: acceptsURL: check for string prefix, not string equality 2011-11-17 21:15:18 +01:00
Lionel Elie Mamane
c82ed24984 postgresql: use _registered_ component map 2011-11-17 21:15:18 +01:00
Lionel Elie Mamane
67f95b2d97 address a few compiler warnings 2011-11-17 21:15:18 +01:00
Lionel Elie Mamane
7696087a21 postgresql: bump version to 0.7.7 2011-11-17 21:15:17 +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
1a69cbdbea Allocator: Implement construct member without a value 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
d648eecd0f Apply sdbc-postgresql-oxt.diff 2011-11-17 21:15:15 +01:00