• Bruce Momjian's avatar
    Hello. · 577e21b3
    Bruce Momjian authored
    The following patch extends the COMMENT ON functionality to the
    rest of the database objects beyond just tables, columns, and views. The
    grammer of the COMMENT ON statement now looks like:
    
    COMMENT ON [
      [ DATABASE | INDEX | RULE | SEQUENCE | TABLE | TYPE | VIEW ] <objname>
    |
    
      COLUMN <relation>.<attribute> |
      AGGREGATE <aggname> <aggtype> |
      FUNCTION <funcname> (arg1, arg2, ...) |
      OPERATOR <op> (leftoperand_typ rightoperand_typ) |
      TRIGGER <triggername> ON relname>
    
    Mike Mascari
    (mascarim@yahoo.com)
    577e21b3
Makefile 1013 Bytes
#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for commands
#
# IDENTIFICATION
#    $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.19 1999/10/26 03:12:34 momjian Exp $
#
#-------------------------------------------------------------------------

SRCDIR = ../..
include ../../Makefile.global

CFLAGS += -I..

ifdef MULTIBYTE
CFLAGS+= $(MBFLAGS)
endif

OBJS = async.o creatinh.o command.o comment.o copy.o indexcmds.o define.o \
       remove.o rename.o vacuum.o view.o cluster.o \
       explain.o sequence.o trigger.o user.o proclang.o \
       dbcommands.o variable.o

all: SUBSYS.o

SUBSYS.o: $(OBJS)
	$(LD) -r -o SUBSYS.o $(OBJS)

# The following declares a hard-coded dependency on parse.h since, 
# if compiled without make dep, comment.c would get compiled before 
# the parser. 

comment.o: ../parse.h

depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend

clean: 
	rm -f SUBSYS.o $(OBJS) 

ifeq (depend,$(wildcard depend))
include depend
endif