473,387 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

1 question about psql table

Hi all,

I am new here and also new for using psql, I hope I joined the correct
google group to ask question ;-)
Here we go~

I create one table:

CREATE TABLE positions (
id serial NOT NULL,
name integer
)

Then I type:

\d++

then it shows:

public | positions | table | database1 |
public | positions_id_seq | sequence | database1 |

MY Question is:
which command in psql will only give me output:
public | positions | table | database1 |

Because I don't want :
public | positions_id_seq | sequence | database1 |

Thanks~

Dec 9 '05 #1
2 1047
Nina wrote:
Hi all,

I am new here and also new for using psql, I hope I joined the correct
google group to ask question ;-)
Here we go~

I create one table:

CREATE TABLE positions (
id serial NOT NULL,
name integer
)

Then I type:

\d++

then it shows:

public | positions | table | database1 |
public | positions_id_seq | sequence | database1 |

MY Question is:
which command in psql will only give me output:
public | positions | table | database1 |

Because I don't want :
public | positions_id_seq | sequence | database1 |

Thanks~


Wrong forum. This is a Microsoft SQL Server group.

--
David Portas
SQL Server MVP
--

Dec 9 '05 #2

David Portas wrote:
Nina wrote:
Hi all,

I am new here and also new for using psql, I hope I joined the correct
google group to ask question ;-)
Here we go~

I create one table:

CREATE TABLE positions (
id serial NOT NULL,
name integer
)

Then I type:

\d++

then it shows:

public | positions | table | database1 |
public | positions_id_seq | sequence | database1 |

MY Question is:
which command in psql will only give me output:
public | positions | table | database1 |

Because I don't want :
public | positions_id_seq | sequence | database1 |

Thanks~
Wrong forum. This is a Microsoft SQL Server group.


Oh, no! Really!

Anyway, Thanks David.

--
David Portas
SQL Server MVP
--


Dec 9 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Daniel Schuchardt | last post by:
Hi @ all, i'm sure there was a psql-function to transfere my Blob-Data to the server but I can't remember. I have a script like this : UPDATE xy SET z = lo_import('localpath_and_file'); ...
2
by: Howard Lowndes | last post by:
I'm working psql v7.2.2 to postmaster v7.2.2 and want to use the \lo_import function. The psql manual says that the syntax is \lo_import '<filename>' 'comment' This loads the blob OK and...
4
by: Brendan Jurd | last post by:
Hello all, I just wanted to pass on some information about compatibility between the psql client and the postgres server. On a particular network, my workstation and the server are both debian...
6
by: Ben | last post by:
I'm designing a fairly involved database system. As part fo the process, I use the \i command a great deal. I set up fairly involved queries, sometimes simply for the purpose of shortening column...
6
by: Tatsuo Ishii | last post by:
Hi, Does anybody know how I can get error codes using psql? I know that I could get error codes from server log or using libpq function. I just could not figure out a way to display them in...
2
by: Ron St-Pierre | last post by:
I'm having a problem suppressing output from some of my cron scripts and java code. One file of sql scripts (eod-misc.sql) is called by a shell script (update.sh). Within eod-misc, various sql...
2
by: Jeffrey W. Baker | last post by:
I just noticed something unexpected when using psql. I had written a shell script to bulk-load some hundreds of files into a database, and move each file to success/ or failure/ directories...
4
by: Kevin Murphy | last post by:
This is a tip for the record in case it helps somebody else in the future. I have an import script that relies on a stored procedure that runs as a trigger on inserts into a temporary table. ...
5
by: damacy | last post by:
hello, everyone. i am trying to write a program which executes SQL commands stored in ..sql files. i wrote a function called psql() whose contents look like the following. .......
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.