Re: [ADMIN] How to find the position of a characted in a string

2008-12-07 Thread Pawel Socha
in=> select distinct(x.case) from (select (case when substring('Hi How are you' from r for 1) = ' ' then r else null end) from generate_series(0, length('Hi How are you')) as r) as x; case -- 3 7 11 -- Pawel Socha -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] How to find the position of a characted in a string

2008-12-09 Thread Pawel Socha
2008/12/8 ss_postgres <[EMAIL PROTECTED]>: > > > On Mon, Dec 8, 2008 at 5:44 PM, Pawel Socha <[EMAIL PROTECTED]> wrote: >> >> 2008/12/8 ss_postgres <[EMAIL PROTECTED]>: >> > Hi, >> > >> > I am trying to find the position

Re: [ADMIN] Problem With using PERL::DBI in plperlu function

2009-02-23 Thread Pawel Socha
BD ERROR: OCIServerAttach) at > line 19 > > > ERROR: error from Perl function: ORA-12154: TNS:could not resolve the > connect identifier specified (DBD ERROR: OCIServerAttach) at line 19. > > I'm printing notices (as you see) i this function showing values of > environment variables. They are the same as variables in postgres user on > linux. > > Any idea what am i doing wrong? > > I'm thankful for any of Your help. check $ORA_HOME and settings in tnsnames.ora in $ORA_HOME dir. Or try connect by host,port and SID. :) -- Pawel Socha -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Making field non case sensitive

2009-04-05 Thread Pawel Socha
erlin>create table t10("Name" int); CREATE TABLE Time: 201.221 ms -- Pawel Socha -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Problem starting pgsql server on Mac OS X. Pg_hba.conf reading permission.

2009-09-20 Thread Pawel Socha
mailing list archive at Nabble.com. > > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin > add postgres user in osx ;] Solution: http://www.postgresql.org/docs/8.3/interactive/postgres-user.html ;] -- Pawel Socha -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin