summaryrefslogtreecommitdiff
path: root/odb/relational/pgsql/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-01-24Turn odb repository into muti-package repositoryKaren Arutyunov1-1140/+0
Also remove the autoconf/make-based build system.
2021-06-29Add support for bulk operations in PostgreSQL 14Boris Kolpackov1-3/+3
2020-02-13Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov1-2/+2
2015-07-03Implement nested id supportBoris Kolpackov1-5/+5
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier).
2015-07-02C++ type mapping support for container elementsasBoris Kolpackov1-5/+5
2015-06-16Implement support for nested members in inverse pragmaBoris Kolpackov1-2/+2
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-02-04Implement object loading viewsBoris Kolpackov1-150/+8
See section 10.2 in the manual for details.
2015-01-23Handle name truncation in PostgreSQLBoris Kolpackov1-18/+29
2013-09-16Implement summary soft-deletion for composite value typesBoris Kolpackov1-2/+34
2013-09-05Versioned section supportBoris Kolpackov1-1/+25
2013-09-02Fix UPDATE statement for smart containers with read-only value membersBoris Kolpackov1-2/+7
Here we have to include them (think what happens when we erase an element somewhere in the middle of a container).
2013-09-02Support for versioning simple value in objectBoris Kolpackov1-3/+32
2013-08-30Statement processing/optimization base workBoris Kolpackov1-16/+26
2013-08-14Add support for object sectionsBoris Kolpackov1-37/+126
Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated.
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-02-07Rename boolean to boolean_ (macro clash)Boris Kolpackov1-1/+1
2013-02-05Add support for change-tracking containersBoris Kolpackov1-20/+107
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
2012-12-12Add support for SQL name transformationsBoris Kolpackov1-1/+4
2012-11-20Merge branch '2.1'Boris Kolpackov1-0/+6
2012-11-20Ignore polymorphic id reference when generating grow()2.1.12.1Boris Kolpackov1-0/+6
2012-10-19Completion of prepared query supportBoris Kolpackov1-14/+24
2012-10-19Initial support for prepared queriesBoris Kolpackov1-2/+3
2012-10-08Ground work for multi-database supportBoris Kolpackov1-3/+3
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-08-14Fix potential container statement name conflictBoris Kolpackov1-3/+6
2012-07-27Handle special case of array of zero elementsBoris Kolpackov1-0/+7
2012-07-25Simplify auto id implementation in OracleBoris Kolpackov1-10/+1
Specifically, instead of using a trigger to assign the next id from the sequence, get the next value directly in the INSERT statement.
2012-07-25Clean up PostgreSQL auto id implementationBoris Kolpackov1-5/+10
Specifically, avoid sending the auto id value.
2012-07-17Remove unnecessary instance<> usageBoris Kolpackov1-23/+23
2012-07-10Add support for custom database type mappingBoris Kolpackov1-1/+2
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-04-25Fix auto id handling in polymorphic objectsBoris Kolpackov1-1/+4
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-171/+67
2012-02-22Add support for composite object idsBoris Kolpackov1-367/+69
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-20Remove unnecessary qualificationBoris Kolpackov1-1/+1
2012-01-20ODB compiler implementation, traits, and types test for SQL ServerBoris Kolpackov1-1/+6
2012-01-08Add support for defining composite value type as class template instantiationsBoris Kolpackov1-5/+5
2011-11-09Make sure we can use same type as both container and simple valueBoris Kolpackov1-5/+5
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-4/+49
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-28Implement returning of auto id using RETURNING clause in PostgreSQLBoris Kolpackov1-0/+12
Before we used a separate SELECT lastval() query which was both inefficient and error-prone in cases where INSERT may cause triggers to override the last value.
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-14/+20
New pragma id (object). New test: common/no-id.
2011-10-21Add support for const data membersBoris Kolpackov1-17/+32
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov1-19/+58
New pragma: readonly. New test: readonly.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-25/+86
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members.
2011-09-22Make PG generated code look nicer1.6.0.a2Boris Kolpackov1-8/+7