Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
905109f2
Commit
905109f2
authored
Nov 12, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update FAQ.
parent
0954ea17
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
doc/FAQ
doc/FAQ
+3
-3
doc/src/FAQ/FAQ.html
doc/src/FAQ/FAQ.html
+3
-3
No files found.
doc/FAQ
View file @
905109f2
Frequently Asked Questions (FAQ) for PostgreSQL
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated:
Sun Oct 14 19:27:20 ED
T 2001
Last updated:
Mon Nov 12 02:38:47 ES
T 2001
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
@@ -938,8 +938,8 @@ BYTEA bytea variable-length byte array (null-safe)
...
@@ -938,8 +938,8 @@ BYTEA bytea variable-length byte array (null-safe)
4.22) How do I create a column that will default to the current time?
4.22) How do I create a column that will default to the current time?
Use
now()
:
Use
CURRENT_TIMESTAMP
:
CREATE TABLE test (x int, modtime timestamp DEFAULT
now()
);
CREATE TABLE test (x int, modtime timestamp DEFAULT
CURRENT_TIMESTAMP
);
4.23) Why are my subqueries using IN so slow?
4.23) Why are my subqueries using IN so slow?
...
...
doc/src/FAQ/FAQ.html
View file @
905109f2
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
alink=
"#0000FF"
>
alink=
"#0000FF"
>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<P>
Last updated:
Sun Oct 14 19:27:20 ED
T 2001
</P>
<P>
Last updated:
Mon Nov 12 02:38:47 ES
T 2001
</P>
<P>
Current maintainer: Bruce Momjian (
<A
href=
<P>
Current maintainer: Bruce Momjian (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
...
@@ -1202,9 +1202,9 @@ BYTEA bytea variable-length byte array (null-safe)
...
@@ -1202,9 +1202,9 @@ BYTEA bytea variable-length byte array (null-safe)
default to the current time?
<BR>
default to the current time?
<BR>
</H4>
</H4>
<P>
Use
<I>
now()
</I>
:
</P>
<P>
Use
<I>
CURRENT_TIMESTAMP
</I>
:
</P>
<PRE>
<PRE>
<CODE>
CREATE TABLE test (x int, modtime timestamp DEFAULT
now()
);
<CODE>
CREATE TABLE test (x int, modtime timestamp DEFAULT
CURRENT_TIMESTAMP
);
</CODE>
</CODE>
</PRE>
</PRE>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment