Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
captainc is currently offline  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

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Connecting to multiple databases.
Next Topic: Count error
Goto Forum:
  


Current Time: Fri Aug 15 17:10:48 CEST 2025

Total time taken to generate the page: 0.08407 seconds