Revision 5029
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
228 | 228 |
addRowNum = echo 'ALTER TABLE "$(datasrc)"."$*"\ |
229 | 229 |
ADD COLUMN row_num serial NOT NULL PRIMARY KEY;'|$(psqlAsBien) $(logInstall*Add) |
230 | 230 |
|
231 |
# The joined tables must be suffixed with ".src" to prevent the creation of a |
|
232 |
# row_num column, which collides during joins. |
|
233 |
isJoinedTable = $(filter %.src,$*) |
|
234 |
|
|
235 | 231 |
%/install: _always |
236 | 232 |
$(if $(isRef),$(exportHeader),$(if $(nonXml),$(import_install_))) |
237 | 233 |
import_install_ = (prefix=; . $(bin)/vegbien_dest; "time" nice -n +5\ |
Also available in: Unified diff
input.Makefile: Staging tables installation: Removed no longer used $(isJoinedTable). Note that it is no longer necessary for joined tables to be suffixed with ".src" to prevent the creation of a row_num column, which collided during joins.