Re: [GENERAL] Not able to understand how to write group by

2014-07-03 Thread Samantha Atkins
unsubscribe pgsql-general@postgresql.org

Re: [GENERAL] Using varchar primary keys.

2013-04-02 Thread Samantha Atkins
Natural keys are in user data space. Thus they are not guaranteed invariant and therefore cannot serve as persistent identity. Also natural keys have the considerable defect of being of different type and arity per logical entity type. This means that very nice things like dynamic relationsh

Re: [GENERAL] Is there a way to bypass sql?

2010-08-10 Thread Samantha Atkins
On Aug 9, 2010, at 11:57 AM, Merlin Moncure wrote: > On Mon, Aug 9, 2010 at 2:39 PM, samantha wrote: >> I have been digging into NoSQL of late. For navigational queries it would >> be great if there was a way to bypass SQL and directly pull from an >> identifier for a record or arbitrary byte s

Re: [GENERAL] Which CMS/Ecommerce/Shopping cart ?

2010-07-29 Thread Samantha Atkins
This touches on a question I would love to be able to answer Why is MySQL so much more popular right now, especially in the OpenSource community? As a database I find its architecture with multiple underlying engines and other quirks to be rather dubious. Then there is the issue of commercial

Re: [TLM] Re: [GENERAL] How to insert on duplicate key?

2007-12-27 Thread Samantha Atkins
On Dec 24, 2007, at 11:15 PM, Greg Smith wrote: This may be better because it isn't doing the query first. You may discover that you need to aggressively run one of the VACUUM processes (I'd guess regular and ANALYZE but not FULL) in order to keep performance steady as the number of r

Re: [GENERAL] what is the date format in binary query results

2007-12-12 Thread Samantha Atkins
OK, I read it again. I don't see anything about how the timezone is specified for this type of column. On Dec 12, 2007, at 12:06 AM, Tom Lane wrote: Samantha Atkins <[EMAIL PROTECTED]> writes: How can it be a simple 8 byte int or float and specify a timezone? It doesn't.

Re: [GENERAL] what is the date format in binary query results

2007-12-12 Thread Samantha Atkins
Less than useful. I did read the thread last night. What am I missing? On Dec 12, 2007, at 12:06 AM, Tom Lane wrote: Samantha Atkins <[EMAIL PROTECTED]> writes: How can it be a simple 8 byte int or float and specify a timezone? It doesn't. Read the t

Re: [GENERAL] what is the date format in binary query results

2007-12-11 Thread Samantha Atkins
How can it be a simple 8 byte int or float and specify a timezone? This is only a time interval from a fixed date/time. Where is the timezone part? On Nov 8, 2007, at 7:18 AM, Tom Lane wrote: Samantha Atkins <[EMAIL PROTECTED]> writes: What can I expect for a date format

Re: [GENERAL] what is the date format in binary query results

2007-12-11 Thread Samantha Atkins
ng of parameters and binary extraction of results for all major types in C against lippq that would be a very useful thing to have in the standard docs. - samantha On Nov 8, 2007, at 7:18 AM, Tom Lane wrote: Samantha Atkins <[EMAIL PROTECTED]> writes: What can I expect for a date fo

[GENERAL] what is the date format in binary query results

2007-11-07 Thread Samantha Atkins
What can I expect for a date format from a PGresult containing binary results? Specifically the Oid type is TIMESTAMPTZOID. In this case what does the PQgetvalue actually return? What does the char* point to? Thanks. - samantha

Re: [GENERAL] How to create primary key

2007-11-06 Thread Samantha Atkins
On Nov 6, 2007, at 1:15 AM, Raymond O'Donnell wrote: On 06/11/2007 08:54, Reg Me Please wrote: What'd be the syntax to create a primary key on an already build table? ALTER TABLE test ADD CONSTRAINT test_pk PRIMARY KEY (f1); So, ALTER TABLE test ADD PRMARY KEY(f1 [, ... ] ) isn't enough

[GENERAL] for libpq which include defines the type oids

2007-11-05 Thread Samantha Atkins
I am probably overlooking something but where exactly are these found for inclusion is libpq based programs? Poking around my installation doesn't make it obvious. - samantha ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, p

Re: [GENERAL] A few questions

2007-10-29 Thread Samantha  Atkins
On Oct 29, 2007, at 10:14 AM, Richard Huxton wrote: Samantha Atkins wrote: First on prepared statements: 1) If I am using the libpq are prepared statements tied to a connection? In other words can I prepare the statement once and use it on multiple connections? Per session (connection

[GENERAL] A few questions

2007-10-29 Thread Samantha Atkins
First on prepared statements: 1) If I am using the libpq are prepared statements tied to a connection? In other words can I prepare the statement once and use it on multiple connections? 2) What is the logical scope of prepared statement names? Can I use the same name on different table