> -----Original Message----- > From: Alex Peshkoff [mailto:peshk...@mail.ru] > Sent: Viernes, 21 de Marzo de 2014 3:02 > > On 03/21/14 01:38, Claudio Valderrama C. wrote: > >> -----Original Message----- > >> From: Alex [mailto:peshk...@mail.ru] > >> Sent: MiƩrcoles, 19 de Marzo de 2014 3:09 > >> > >> > >> On 03/19/2014 10:40 AM, Claudio Valderrama C. wrote: > >>> Alex said: > >>>> Main idea was to be able to generate programs for older versions. > >>> Then gpre should check the server version and if it's FB3 > >> or newer, reject > >>> DDL that produces DYN. Fortunately, the check can be done > >> indirectly through > >>> the ODS, since FB3 only uses ODS12. > >> May be we better spend that time generating SQL DDL instead DYN? > >> This is useful at least to make sure that we do have all required > >> capabilities at SQL level and did not produce regressions > >> dropping DYN > >> support. > > Agreed, but this is a good amount of work, IMHO. For the > moment, informing > > the programmer that DYN cannot be performed on FB3 seems a > compromise. > > But informing when preprocessing file is not always good. Why can > preprocess .e -> .c with FB3 server but later run on older one. > May be explicit switch can better fit that needs - generate for FB3?
I think the switch should be the opposite: generate for older versions. The default would be to generate for FB3. C. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel