Re: [GENERAL] cidr and inet

1999-10-21 Thread Aaron Holtz
Enclose the IP in single quotes. insert into ip values ('10.20.30.40'); ------ Aaron Holtz ComNet Inc. UNIX Systems Administration/Network Operations "It's not broken, it

[GENERAL] Postgres error

1999-08-03 Thread Aaron Holtz
as hoping to avoid that necessity. I believe an initdb would replace pg_database so the system wouldn't be able to see my db's, so I've been reluctant to do that. Any thoughts are appreciated. ------ Aaron Holtz Com

[GENERAL] Select from multiple db's

1999-07-14 Thread Aaron Holtz
rging the two db's won't be anything easy, so I'm looking for a way for this type of query to be valid. ------ Aaron Holtz ComNet Inc. UNIX Systems Specialist Email: [EMAIL PROTECTED] "It's not broken, it just lacks duct tape." --

Re: [GENERAL] Case insensitive searches

1999-05-06 Thread Aaron Holtz
Maybe not the fastest, but: select some_field from table where lower(another_field) like lower('%substring_entered_by_user%'); That will lower case the search field and item to do the match against. ------ A

Re: [GENERAL] Any ideas why this doesn't work or how to rewrite it?

1999-04-28 Thread Aaron Holtz
us as to whether psql didn't support this type of command or decided that a better way existed to write the query. Thanks to all for the thoughts and ideas. Maybe this support will be added at some juncture. ------ Aaron Ho

Re: [GENERAL] Any ideas why this doesn't work or how to rewrite it?

1999-04-28 Thread Aaron Holtz
---- Aaron Holtz ComNet Inc. UNIX Systems Specialist Email: [EMAIL PROTECTED] "It's not broken, it just lacks duct tape." -- On Apr 28, Oleg Broytmann molded the electrons to say.... >On Wed, 28 Apr 1999

[GENERAL] Inet and distinct bug or is it me? (v 6.5beta1)

1999-04-09 Thread Aaron Holtz
Anyone know what could be causing this? The same process inserts the data into the db and inspecting a flat file of the outputted data shows no indication that the entries are different. Any thoughts or pointers would be appreciated. --------