Changeset 21482 in project


Ignore:
Timestamp:
11/15/10 18:01:01 (9 years ago)
Author:
certainty
Message:

nomads: declare dependency to filepath in meta-file

Location:
release/4/nomads/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • release/4/nomads/trunk/nomads-postgresql.scm

    r21459 r21482  
    33;;
    44;; Created: So Nov 14 14:35:46 2010 (CET)
    5 ;; Last-Updated: So Nov 14 15:03:47 2010 (CET)
     5;; Last-Updated: So Nov 14 19:24:01 2010 (CET)
    66;;           By:
    77
     
    2929  (db-schema-information-exists?
    3030   (lambda (con table)
    31      (not (null? (row-values (query con "SELECT schemaname FROM pg_tables WHERE schemaname=$1" table ))))))
     31     (not (zero? (row-count (query con "SELECT tablename FROM pg_tables WHERE schemaname='public' AND tablename=$1" table))))))
    3232 
    3333  (db-initialize-schema-information
     
    3535     (query con (sprintf "DROP TABLE \"~A\" IF EXISTS " table))
    3636     (query con
    37             (sprintf "CREATE TABLE \"~A\" (version character varying(255) NOT NULL)" (version ) table))))
     37            (sprintf "CREATE TABLE \"~A\" (version character varying(255) NOT NULL)" table))))
    3838
    3939
  • release/4/nomads/trunk/nomads.meta

    r21450 r21482  
    66 (hidden)
    77 (doc-from-wiki)
    8  (needs defstruct sql-de-lite)
     8 (needs defstruct sql-de-lite postgresql filepath)
    99 (test-depends test)
    10  (files "nomads.setup" "nomads.scm" "nomads-sql-de-lite.scm"))
     10 (files "nomads.setup" "nomads.scm" "nomads-sql-de-lite.scm" "nomads-postgresql.scm"))
  • release/4/nomads/trunk/nomads.scm

    r21463 r21482  
    33;;
    44;; Created: Do Nov 11 14:10:17 2010 (CET)
    5 ;; Last-Updated: So Nov 14 18:27:09 2010 (CET)
     5;; Last-Updated: So Nov 14 18:48:44 2010 (CET)
    66;;           By:
    77
     
    239239
    240240  ;; a check-point is a complete migration (with statemts read) plus
    241   ;; it's direction
     241  ;; its direction
    242242  (define (build-check-point direction migration)
    243243    (migration-statements-set! migration (load-migration-file migration))
  • release/4/nomads/trunk/nomads.setup

    r21450 r21482  
    1313
    1414
     15(compile -s -d0 -O3 nomads-postgresql.scm -j nomads-postgresql)
     16(compile -s -d0 -O3 nomads-postgresql.import.scm)
     17
     18
     19(install-extension
     20  'nomads-postgresql
     21  '("nomads-postgresql.import.so" "nomads-postgresql.so")
     22  '((version 0.1)))
     23
    1524(install-extension
    1625  'nomads-sql-de-lite
Note: See TracChangeset for help on using the changeset viewer.