Thread: Re: [NOVICE] Database access problem : SOS

Re: [NOVICE] Database access problem : SOS

From
mjoseph@inautix.com
Date:
Hi Tom,

>  Did you remember to start the cygipc daemon?

Yes I did. It was not that. There is something broken with cygipc or the
way I used it. ;-)

I did a complete uninstall and a re-install (using the user id 'postgres')
and I am able to create databases!

Thanks!

Now I have one more hurdle to cross. Can you help me with this?
I need to create a large object - a photograph and work with this.
The doc at
http://gborg.postgresql.org/project/psqlodbc/faq/faq.php?faq_id=52
suggests creating a custom type like this.
create type lo (
   internallength=4,
   externallength=10,
   input=int4in,
   output=int4out,
   default='',
   passedbyvalue
);

But I need to define the input & output functions (int4in and int4out). Can
someone give me a clue as to how these functions should be defined?

Regards,
Manoj