mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Make PROCEDURAL optional in CREATE/DROP LANGUAGE.
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
# cvs log -d '>1999-06-14 00:00:00 GMT' . > log
|
||||
#
|
||||
# pre and post-branch logs:
|
||||
# find . -name CVS -type d -exec touch '{}/Entries.Static' \;
|
||||
# cvs log -d'2000-05-08 00:00:00 GMT<2000-05-29 00:00:00 GMT'
|
||||
# cvs log -d'>2000-05-29 00:00:00 GMT' -rREL7_0_PATCHES
|
||||
# find . -name CVS -type d -exec rm '{}/Entries.Static' \;
|
||||
#
|
||||
|
||||
cat "$@" |
|
||||
@@ -18,7 +20,7 @@ cat "$@" |
|
||||
# we don't print anything from the -- or == line and the date:
|
||||
|
||||
awk '
|
||||
$0 ~ /^Working file:/ {workingfile = $0}
|
||||
$0 ~ /^Working file:/ {workingfile = "/" $3}
|
||||
|
||||
($0 ~ /^====*$/ || $0 ~ /^----*$/) && skip == "N" \
|
||||
{
|
||||
@@ -27,7 +29,7 @@ awk '
|
||||
{
|
||||
printf ("%s| %10d|%s\n", datetime, NR, "");
|
||||
printf ("%s| %10d|%s\n", datetime, NR, "---");
|
||||
printf ("%s| %10d|%s\n", datetime, NR+1, "");
|
||||
/* printf ("%s| %10d|%s\n", datetime, NR+1, "");*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,6 +48,8 @@ awk '
|
||||
datetime=$2"-"$3
|
||||
if (workingfile != "" && skip == "N")
|
||||
{
|
||||
gsub(";", "", $5);
|
||||
printf ("%s| %10d| %70s\n", datetime, NR-2, $5);
|
||||
printf ("%s| %10d|%s\n", datetime, NR-1, workingfile);
|
||||
printf ("%s| %10d|%s\n", datetime, NR, $0);
|
||||
printf ("%s| %10d|%s\n", datetime, NR+1, "");
|
||||
@@ -59,7 +63,7 @@ sort | cut -d'|' -f3 | cat |
|
||||
# collect duplicate narratives
|
||||
awk ' BEGIN { slot = 0;}
|
||||
{
|
||||
if ($0 ~ /^Working file:/)
|
||||
if ($0 ~ /^\//)
|
||||
{
|
||||
if (slot != oldslot)
|
||||
same = 0;
|
||||
|
Reference in New Issue
Block a user