Home » U++ Library support » U++ SQL » PostgreSQL Attribute Foreign Key --> Bug?
|
|
Re: PostgreSQL Attribute Foreign Key --> Bug? [message #17522 is a reply to message #17452] |
Tue, 19 August 2008 13:55   |
captainc
Messages: 278 Registered: December 2006 Location: New Jersey, USA
|
Experienced Member |
|
|
In order to keep similarity of .sch files across all databases, we would not want to change the syntax that to define a reference. If this is a true statement, then we would need some sort of additional macro that would take a character string "TABLE.COLUMN" and turn it into "TABLE(COLUMN)" for only postgresql (and any other databases that require this syntax).
What is the best way to go about this?
Can we have a PostgresqlSchema class extend the Schema class and override Attribute and InlineAttribute to perform the replacement?
[Updated on: Tue, 19 August 2008 14:17] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 09:32:57 CEST 2025
Total time taken to generate the page: 0.00671 seconds
|