Adding a column in pg_proc for storing default values of arguments

Started by Salman Razzaqover 20 years ago2 messageshackers
Jump to latest
#1Salman Razzaq
salmanrazzaq2005@gmail.com

I want to store default values of arguments in pg_proc catalog. i have to
add a column in the table. but what will be the type of column as to store
all the datatypes. do you think 'Datum' can be stored as it.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Salman Razzaq (#1)
Re: Adding a column in pg_proc for storing default values of arguments

Salman Razzaq <salmanrazzaq2005@gmail.com> writes:

I want to store default values of arguments in pg_proc catalog. i have to
add a column in the table. but what will be the type of column as to store
all the datatypes. do you think 'Datum' can be stored as it.

Don't bother worrying about that until you've figured out how the parser
is going to resolve overloaded function calls in the presence of such
things.

regards, tom lane