summaryrefslogtreecommitdiff
path: root/odb/relational/pgsql/context.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-20Add support for case where we don't send auto object id in INSERTBoris Kolpackov1-0/+1
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-58/+45
We now first create the so-called database model from C++ model and then use that to generate the database schema. The new approach also adds more general support for primary/foreign keys, including multi- column keys. Finally, for MySQL we now generate out-of-line foreign key definitions. Because MySQL does not support deferred constraints checking, deferred foreign keys are written commented out, for documentation.
2011-10-21Rename relational::context::use_as to relational::context::need_alias_asConstantin Michael1-1/+1
2011-10-21Add a context flag indicating whether AS SQL keyword should be used for aliasesConstantin Michael1-0/+1
2011-10-21Add flag to context indicating whether to generate grow codeConstantin Michael1-0/+1
2011-09-19Rename generation_failed exception to operation_failedBoris Kolpackov1-9/+9
A more generic name is required since it is now used in both generator and processor (and in the future may be used validator).
2011-08-31Rename comp_value() predicate to composite()Boris Kolpackov1-1/+1
2011-08-31Cosmetic changes and cleanupsBoris Kolpackov1-1/+1
Rename some functions to have consistent names. Add object() predicate.
2011-07-19New design for NULL semanticsBoris Kolpackov1-10/+2
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
2011-07-14Map unsigned short and int C++ types to SMALLINT and INTEGER PostgreSQL typesConstantin Michael1-2/+2
2011-07-12Correct bugs in PostgreSQL sql type parserConstantin Michael1-2/+10
2011-07-05Add enum support to PostgreSQLConstantin Michael1-0/+24
2011-07-05Implement remainder of PostgreSQL contextConstantin Michael1-237/+151
2011-07-05Add PostgreSQL FLOAT and timezone suffix parsingConstantin Michael1-1/+58
2011-07-05Correct db_id_type for PostgreSQL TEXT typeConstantin Michael1-1/+1
2011-07-05Remove support for timezone types TIMETZ and TIMESTAMPTZConstantin Michael1-2/+10
2011-07-05Add pgsql sql_type and sql type parsing implementationConstantin Michael1-0/+620