Project

General

Profile

« Previous | Next » 

Revision 13420

bugfix: schemas/Makefile: `%/install: public_.sql`: also need to replace `public` when preceded by ( , as it is in the validations queries

View differences:

Makefile
61 61
	# to continue to be run against a previous version of the DB while a new
62 62
	# version is being imported.
63 63
	<$< $(sed) -e \
64
's/( |::)public(_[[:alnum:]_]+)?([.,;]| [^[:lower:]])/\1$(*q)$*\2$(*q)\3/g'\
64
's/([ (]|::)public(_[[:alnum:]_]+)?([.,;]| [^[:lower:]])/\1$(*q)$*\2$(*q)\3/g'\
65 65
|$(psqlNoSearchPath) # [[:alnum:]_]+, not ...*, because public_ is a username
66 66

  
67 67
%/uninstall: public_.sql _always

Also available in: Unified diff