Thread: Adding a column in pg_proc for storing default values of arguments

Adding a column in pg_proc for storing default values of arguments

From
Salman Razzaq
Date:
<span class="q">I want to store default values of arguments in pg_proc catalog. i have to<br />add a column in the
table.but what will be the type of column as to store<br />all the datatypes. do you think 'Datum' can be stored as it.
</span>

Re: Adding a column in pg_proc for storing default values of arguments

From
Tom Lane
Date:
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