Re: [GENERAL] [HACKERS] Help with Array Function in C language...

2005-11-07 Thread Cristian Prieto
Thanks a lot, but I still getting an error message like this: ERROR: cache lookup failed for type 0 What is wrong? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lane Sent: Lunes, 07 de Noviembre de 2005 05:17 p.m. To: Cristian Prieto Cc: pgsql-gener

Re: [GENERAL] [HACKERS] Help with Array Function in C language...

2005-11-07 Thread Tom Lane
"Cristian Prieto" <[EMAIL PROTECTED]> writes: > Datum > test_array(PG_FUNCTION_ARGS) > { > ArrayType *v = PG_GETARG_ARRAYTYPE_P(1); > Datum element; > Oidarray_type = get_array_type(v); I think you want get_element_type, instead. And you definitely ought to be check

Re: [GENERAL] [HACKERS] Help!

2004-11-25 Thread Richard Huxton
ElayaRaja S wrote: Hi, Thanks for your reply. Sorry to contact again to this mail. I am unable to find the link for general list. Please let me know. That's fine - I'm cc-ing you to the general list so others can help too. You can find all the lists at http://www.postgresql.org/lists.html - you

Re: [GENERAL] [HACKERS] Help!

2004-11-25 Thread Richard Huxton
ElayaRaja S wrote: Hi, While configuring OpenCRX by using Postgresql i am facing probmelm. The problem while creating db using the command ( createdb -h localhost -E utf8 -U system crx-CRX ) . Erro: createdb: could not connect to database template1: could not connect to server: Connection refu