Search Postgresql Archives

Re: Dblink vs calling a function that returns void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boszormenyi Zoltan <zb@xxxxxxxxxxx> writes:
> I need to call a function via dblink that returns a void, i.e.
> technically nothing.

You're overthinking the problem.  Imagine void is just a datatype
(which it is...)  This should work:

select * from public.dblink('import', 'SELECT import.add_one_word(''word'', true)') as x(x void);

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux