dbTalk Databases Forums  

Q: parameters to functions

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Q: parameters to functions in the comp.databases.postgresql.novice forum.



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

Default Q: parameters to functions - 10-11-2004 , 03:10 AM






Hello all,

I am new to postgresql, and have few questions to ask
which I hope some kind souls out there willing to help


1. How are parameters passed to functions made CREATE
FUNCTION? Are they always passed by value?

2. Is it possible to pass table name? So something
like:

create function foo(t) returns ...
`select * from t`

cheers, **arbil**






_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


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.