Re: [HACKERS] adding a function to pg_proc.h

2005-05-26 Thread Jaime Casanova
On 5/25/05, Jaime Casanova <[EMAIL PROTECTED]> wrote: > > Also, defining the return type as ANYELEMENT will definitely NOT work, > > since none of the input arguments are polymorphic. > > > mmm... This is a problem, there is a way to make a function that can > be used for returning different dataty

Re: [HACKERS] adding a function to pg_proc.h

2005-05-25 Thread Jaime Casanova
On 5/25/05, Tom Lane <[EMAIL PROTECTED]> wrote: > Jaime Casanova <[EMAIL PROTECTED]> writes: > > I have added a function in sources and added appropiate lines in > pg_proc.h > > DATA(insert OID = 2560 ( get_view_column_defaultPGNSP PGUID 12 f f > > t f i 1 2283 "25 25 21" _null_ _null_ _null_ g

Re: [HACKERS] adding a function to pg_proc.h

2005-05-25 Thread Tom Lane
Jaime Casanova <[EMAIL PROTECTED]> writes: > I have added a function in sources and added appropiate lines in pg_proc.h > DATA(insert OID = 2560 ( get_view_column_defaultPGNSP PGUID 12 f f > t f i 1 2283 "25 25 21" _null_ _null_ _null_ get_view_column_default - > _null_)); > DESCR("get default

[HACKERS] adding a function to pg_proc.h

2005-05-25 Thread Jaime Casanova
I have added a function in sources and added appropiate lines in pg_proc.h DATA(insert OID = 2560 ( get_view_column_defaultPGNSP PGUID 12 f f t f i 1 2283 "25 25 21" _null_ _null_ _null_ get_view_column_default - _null_)); DESCR("get default value for view column"); then make; make install; a