dbTalk Databases Forums  

Sending UDP packets

comp.databases.postgresql comp.databases.postgresql


Discuss Sending UDP packets in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mrupio
 
Posts: n/a

Default Sending UDP packets - 12-20-2008 , 12:40 PM






Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?

Thanks in advance,
mrupio

Reply With Quote
  #2  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM






mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
  #3  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM



mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
  #4  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM



mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
  #5  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM



mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
  #6  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM



mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
  #7  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM



mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
  #8  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM



mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
  #9  
Old   
Andreas Kretschmer
 
Posts: n/a

Default Re: Sending UDP packets - 12-20-2008 , 01:05 PM



mrupio <baal3_WSTAWKA_ANTYSPAMOWA_ (AT) op (DOT) pl> wrote:
Quote:
Hi,

I wonder if there is a way to send UDP/TCP packets to other hosts from
within plpgsql functions?
As far as I know there's no such built-in function. (Am I right?)
My question is: is there any third party library for Windows (.dll) or
Linux (.so) that brings such functionality to plpgsql?
You can use LISTEN/NOTIFY to communicate with other programs. If you
realy need such function (send plain TCP and/pr UDP packets), i think,
you should use an untrusted language like pl/perlU. With plpgsql this is
impossible.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.