[fdo-internals] xmin and xmax are reserved keywords
mateusz at loskot.net
Mon Jan 15 12:30:59 EST 2007
Gavin Cramer wrote:
> Hi Mateusz. I was just chatting with Brent, and it might be a lesser
> change to make a provider-specific override to the setup functions for
> the reader/writer classes (and an updated fdo_sys.sql as Brent mentions
> The "xmin" etc. names that appear in the code are mostly just internal
> query field tags that could stay the same. They are merely defaults to
> the actual column names. We'd need to make some currently non-virtual
> methods virtual, such as the FdoSmPhMgr factory function for
> FdoSmPhSpatialContextGroupWriter, but such changes are very minor.
> Is this proposal less work?
It seems to be, but please confirm if my understanding of this
new ideas is correct.
As I understand, the idea is to make it possible to override
behavior of FdoSmPhSpatialContextGroupWriter::MakeRow() and use
provider-specific column names there.
Am I correct?
If my understanding is correct, it seems I need function
FdoSmPhMgr::GetSpatialContextGroupWriter() as virtual
+ I need to define PostGIS-specific
specialization of FdoSmPhSpatialContextGroupWriter class.
Am I following you?
More information about the fdo-internals