aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/object-statements.hxx
AgeCommit message (Collapse)AuthorFilesLines
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-11-09Avoid copying statement text if it is statically allocatedBoris Kolpackov1-5/+11
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-8/+79
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-30Rework statement interfaces wrt param/result passingBoris Kolpackov1-4/+11
2011-10-28Implement returning of auto id using RETURNING clause in PostgreSQLBoris Kolpackov1-2/+4
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-0/+131
New pragma id (object). New test: common/no-id.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-88/+96
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-06Support for views; native partBoris Kolpackov1-16/+7
2011-08-18Fix custom recursive loading in post_load callbackBoris Kolpackov1-0/+16
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation.
2011-07-05Support for callbacks in PG runtimeBoris Kolpackov1-0/+22
2011-06-24Use in_column_count to specify PostgreSQL object statements param countConstantin Michael1-4/+4
2011-05-27Cleanup object-statementsConstantin Michael1-18/+12
2011-05-26Add object-statments implementationConstantin Michael1-0/+413