Re: [GENERAL] I just can't get it:record_in, record_out(I know i try to do something postgres is not developed for but there are many 'buts')

2005-11-07 Thread Peter Filipov
I figured out how to do it, myself. Just wondering why nobody answers me, maybe I ask dumb questions Cheers! -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ ---(end of broadcast)--- TIP 9: In versions below 8.0, the

[GENERAL] I just can't get it:record_in, record_out(I know i try to do something postgres is not developed for but there are many 'buts')

2005-11-04 Thread Peter Filipov
This is what i can't get right: CREATE type tst_tst as (a integer, b text); CREATE OR REPLACE FUNCTION tst_store(a anyelement) RETURNS text AS $$ BEGIN RETURN textin(record_out(a)); END $$ LANGUAGE PLPGSQL; create or replace function tst_load1(a text) returns tst_tst as $$ declare