psql - not as advanced, doesn't have all the features SQL*Plus has.
On the other hand, it is at least capable of command history and readline
support.
Yes, but rlwrap will eliminate that limitation.
-- Gary Chambers
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To
ground, up and
would like to ensure that I get it right. Thanks for any advice that
you (or anyone) can offer.
-- Gary Chambers
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
;s manager. No?
Thanks again for your help.
-- Gary Chambers
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
uggesting a table like:
part_number INTEGER
is_replacement_for INTEGER references part_number
value INTEGER
wattage FLOAT8
...
-- Gary Chambers
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your s
table contains only the part number (the
"new" one, so-to-speak), a foreign key reference to the original parts
table, and some location data (which is also in the original parts
table). Is there any advice you can offer in light of what I have
just described? I apologize for the over
problem. Thank you very much in advance.
-- Gary Chambers
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
AND y=$2 AND z=$3';
$stmt = pg_query_params($dbh, $query, array($x, $y, $z));
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
E plpgsql STABLE;
I'd like to thank Justin Graf for his time, effort, and assistance
with this problem.
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
#x27;ll post the
solution upon discovering it.
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
btuseness being lifted, and my grasp and
command of SQL to be complete and infinite. None of which appears
will ever happen...
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscript
(SELECT userid FROM useraddrs)
AND cid=(SELECT cid FROM cities ORDER BY RANDOM() LIMIT 1);
I am able to achieve most of what I am trying to accomplish, but once
the random number is selected, it doesn't change. What am I missing?
Thank you in advance.
-- Gary Chambers
/* Nothi
n. I'll be retrieving
the results of the query through PHP, so cleanup in the query may even
be a performance degradation.
> Hope this helps,
You and Rob Sargent have helped a great deal. Thanks to both of you.
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via
m.userid
> left join user_emailaddrs a on m.userid = a.userid
My question was related more toward eliminating the query returning a
record for each record in the one-to-many table. I see now that I'm
going to have to aggregate the e-mail addresses in order to return a
single row. Thanks again.
ze
where necessary. Thank you very much in advance.
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
defined using the contrib module
> citext which makes searching very nice.
Why doesn't the initcap function work as you require?
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
ning 8000
rows) and creating a view of the same name?
Assuming it's possible, would the efficiency of a rule to rewrite the
query be an acceptable alternative?
Thanks in advance for any insight and suggestions!
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgs
?
What are the ramifications of renaming the table (containing 8000
rows) and creating a view of the same name?
Assuming it's possible, would the efficiency of a rule to rewrite the
query be an acceptable alternative?
Thanks in advance for any insight and suggestions!
-- Gary Chambers
/* No
RETURN NEXT vsop87_data;
END;
$solve$ LANGUAGE plpgsql STRICT IMMUTABLE;
Is there a means of filling something.something.something with a value
so I can get all the values into a single row? Thanks very much in
advance.
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-s
valid. I could probably rewrite it using arrays
and may, in fact, do so to eliminate the two added queries. Thank you
for your input.
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your su
;
END;
$poly_example$ LANGUAGE plpgsql STRICT IMMUTABLE;
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
| ownerid | ownername | hostname | entrytime | is_private |
is_active | notetext
-+-+---+--+---++---+--
(0 rows)
Thanks very much in advance for any insight you can provide.
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-
ve been more specific in my
request for comments since I was only thinking about
PostgreSQL-specific issues related to what I presented to the initial
requestor.
Thanks for your reply!
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing list (pgsql-sql@postgr
rd, GEN_SALT('md5'));
RETURN NEW;
END;
$encryptpw$
CREATE TRIGGER trg_encryptpw BEFORE INSERT OR UPDATE ON assignees
FOR EACH ROW EXECUTE PROCEDURE encryptpw();
Comments, suggestions, criticisms?
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
--
Sent via pgsql-sql mailing lis
ch
as I can to the power company.
Thanks for taking the time to reply!
-- Gary Chambers
// Nothing fancy and nothing Microsoft!
---(end of broadcast)---
TIP 6: explain analyze is your friend
ay of handling this? I am open to
schema change suggestions. Thanks very much!
-- Gary Chambers
// Nothing fancy and nothing Microsoft!
---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
I need to store users and passwords on a table and I want to store it
encrypted, but I don't found documentation about it, how can I create a
Take a look at the pgcrypto user-contributed module.
-- Gary Chambers
// Nothing fancy and nothing Microsoft!
---(e
I want to find all the sequences. What is the system tables that have
the information about all the sequences?
psql -E -U
\ds
Capture the query that psql sends to the server.
Can't help with the dblink -- sorry.
-- Gary Chambers
// Nothing fancy and nothing Micr
27 matches
Mail list logo