Re: [GENERAL] postgresql connection string to Vb.NET

2007-08-29 Thread Curtis Scheer
http://www.postgresql.org/download/ http://www.postgresql.org/download/ lists the db drivers for a variety of languages. _ From: smithveg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 29, 2007 10:50 AM To: pgsql-general@postgresql.org Subject: [GENERAL] postgresql connection

[GENERAL] Client Connections

2006-09-14 Thread Curtis Scheer
Is there a setting to limit the number of database connections per IP address or client? Thanks, Curtis

[GENERAL] Insert Rule

2006-09-01 Thread Curtis Scheer
Im trying to prevent any further input of a particular field value via an insert rule with the following rule. CREATE OR REPLACE RULE rule_foovalue AS ON INSERT TO foo WHERE new.foovalue = 1 DO SELECT fooexception.fooexception FROM fooexception() fooexception(fooexception);

Re: [GENERAL] plpgsql dynamic queries and optional arguments

2006-08-16 Thread Curtis Scheer
Allan, Thanks for the reply I guess what I am actually looking for is an example of a dynamic SQL select statement similar to how a static sql select can select into a variable. Thanks, Curtis Curtis, Here is an example function that uses dynamic sql. I use it under 7.4.5 Hope this helps.

[GENERAL] plpgsql dynamic queries and optional arguments

2006-08-15 Thread Curtis Scheer
I have a table that I would like to be able to retrieve information out of based on a combination of multiple columns and I would like to be able to do this through a plpgsql stored procedure. Right now I have multiple stored procedures that I am calling based on the values parameter

Re: [GENERAL] Splitting Timestamps

2006-07-25 Thread Curtis Scheer
I believe you would want to cast the field to a date like so select datefield::datefrom table1 or select datefield::time from table1. From: Chris Hoover [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 11:55 AM To: pgsql-general@postgresql.org Subject: [GENERAL] Splitting

[GENERAL] How to pass array of values to a pgplsql function

2006-07-18 Thread Curtis Scheer
Does anyone have any examples of how I would make a stored procedure in plpgsql that would allow for passing a list or arrays of values to be used in an sql IN clause? Like so: select * from table where field1 in (values). Is this possible? Thanks, Curtis ---(end of

Re: [GENERAL] How to pass array of values to a pgplsql function

2006-07-18 Thread Curtis Scheer
Thanks, Erik another possible solution would also be this. Here it is in case you are interested. On 7/18/06, Tony Wasson [EMAIL PROTECTED] wrote: On 7/18/06, Curtis Scheer [EMAIL PROTECTED] wrote: Does anyone have any examples of how I would make a stored procedure in plpgsql that would