I forgot to add that...
PostgreSQL seems to not like this sort of comment /* ---- */
changed the comments back to -- style
-Eric
On Friday, June 1, 2001, at 02:08 PM, Eric Dobbs wrote:
> Just tried to commit this one myself, but ...
> **** Access denied: Insufficient Karma (dobbs|jakarta-
> turbine/conf/torque/templates/sql/base/postgresql)
> cvs server: Pre-commit check failed
> cvs [server aborted]: correct above errors first!
> cvs commit: saving log message in /tmp/cvs002456
>
> So here's a patch.
> -Eric
>
> Index: tablefk.vm
> ===================================================================
> RCS file: /home/cvs/jakarta-
> turbine/conf/torque/templates/sql/base/postgresql/tablefk.vm,v
> retrieving revision 1.1.4.1
> diff -u -r1.1.4.1 tablefk.vm
> --- tablefk.vm 2001/05/28 15:02:18 1.1.4.1
> +++ tablefk.vm 2001/06/01 20:05:37
> @@ -1,7 +1,7 @@
>
> -/*
> ----------------------------------------------------------------------
> */
> -/* $table.Name */
> -/*
> ----------------------------------------------------------------------
> */
> +----------------------------------------------------------------------------
> +-- $table.Name
> +----------------------------------------------------------------------------
>
> #set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table",
> $tbl) )
> #if($fk.length() >0)$fk#end
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]